Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck") translateModel(BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 106.8 kB / 16.41 MB, free: 6.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 187 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9963/0.9963, allocations: 143.1 MB / 434.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001202, allocations: 59.97 kB / 0.5962 GB, free: 12.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1434, allocations: 82.04 MB / 0.6763 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck): time 0.002361/0.1458, allocations: 1.269 MB / 0.6775 GB, free: 9.078 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.4777/0.6235, allocations: 137.7 MB / 0.812 GB, free: 8.605 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.106e-05/0.6236, allocations: 1.031 kB / 0.812 GB, free: 8.605 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 2.208e-05/0.6236, allocations: 0 / 0.812 GB, free: 8.605 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 4.452e-05/0.6237, allocations: 10.45 kB / 0.812 GB, free: 8.598 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001155/0.6248, allocations: 465.5 kB / 0.8125 GB, free: 8.504 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 6.794e-05/0.6249, allocations: 33.7 kB / 0.8125 GB, free: 8.5 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.319e-05/0.6249, allocations: 5 kB / 0.8125 GB, free: 8.5 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.7e-05/0.625, allocations: 30.62 kB / 0.8125 GB, free: 8.488 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 6.887e-05/0.6251, allocations: 18.89 kB / 0.8125 GB, free: 8.484 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.123e-05/0.6251, allocations: 0 / 0.8125 GB, free: 8.484 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001281/0.6264, allocations: 0.8298 MB / 0.8134 GB, free: 8.438 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.614e-05/0.6264, allocations: 10.05 kB / 0.8134 GB, free: 8.434 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.968e-05/0.6264, allocations: 20.33 kB / 0.8134 GB, free: 8.426 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0005139/0.627, allocations: 454.5 kB / 0.8138 GB, free: 8.215 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.627, allocations: 0 / 0.8138 GB, free: 8.215 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.182e-06/0.627, allocations: 0 / 0.8138 GB, free: 8.215 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.627, allocations: 4 kB / 0.8138 GB, free: 8.211 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000455/0.6275, allocations: 370.8 kB / 0.8142 GB, free: 7.844 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.124e-05/0.6275, allocations: 9.938 kB / 0.8142 GB, free: 7.844 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001681/0.6277, allocations: 15.77 kB / 0.8142 GB, free: 7.836 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001012/0.6278, allocations: 163.2 kB / 0.8144 GB, free: 7.641 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.304e-06/0.6278, allocations: 3.031 kB / 0.8144 GB, free: 7.641 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.571e-05/0.6278, allocations: 7.031 kB / 0.8144 GB, free: 7.641 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001316/0.628, allocations: 61.3 kB / 0.8144 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.086e-06/0.628, allocations: 4 kB / 0.8144 GB, free: 7.59 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.628, allocations: 1.531 kB / 0.8144 GB, free: 7.59 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.628, allocations: 0 / 0.8144 GB, free: 7.59 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.189e-05/0.6281, allocations: 21.64 kB / 0.8144 GB, free: 7.582 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001728/0.6282, allocations: 164.2 kB / 0.8146 GB, free: 7.387 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 9.237e-05/0.6283, allocations: 50.59 kB / 0.8147 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.729e-05/0.6284, allocations: 15.83 kB / 0.8147 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01011/0.6385, allocations: 3.215 MB / 0.8178 GB, free: 5.766 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/0.6386, allocations: 30.56 kB / 0.8178 GB, free: 5.727 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=7): time 1.773e-06/0.6386, allocations: 0 / 0.8178 GB, free: 5.727 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11): time 0.03746/0.676, allocations: 15.01 MB / 0.8325 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.699e-05/0.6761, allocations: 55.41 kB / 0.8325 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.691e-05/0.6762, allocations: 97.84 kB / 0.8326 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.6762, allocations: 25.7 kB / 0.8327 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.596e-05/0.6762, allocations: 80.14 kB / 0.8327 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.956e-05/0.6763, allocations: 47.39 kB / 0.8328 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.801e-05/0.6763, allocations: 29.62 kB / 0.8328 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.217e-05/0.6764, allocations: 323 kB / 0.8331 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.997e-05/0.6765, allocations: 20 kB / 0.8331 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.506e-05/0.6765, allocations: 27.11 kB / 0.8332 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001195/0.6767, allocations: 72.72 kB / 0.8332 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.6767, allocations: 0 / 0.8332 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002044/0.6769, allocations: 101.6 kB / 0.8333 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.6769, allocations: 5.719 kB / 0.8333 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.6769, allocations: 0 / 0.8333 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.6769, allocations: 4 kB / 0.8333 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.677, allocations: 23.98 kB / 0.8334 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.6771, allocations: 4 kB / 0.8334 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.82e-05/0.6771, allocations: 4 kB / 0.8334 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.6771, allocations: 4 kB / 0.8334 GB, free: 12.47 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.646e-05/0.6772, allocations: 125.7 kB / 0.8335 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.057e-05/0.6772, allocations: 3.906 kB / 0.8335 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002541/0.6775, allocations: 121.6 kB / 0.8336 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.6775, allocations: 0 / 0.8336 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.6775, allocations: 3.938 kB / 0.8336 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.6775, allocations: 7.938 kB / 0.8336 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001297/0.6777, allocations: 181.6 kB / 0.8338 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.6777, allocations: 0 / 0.8338 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001203/0.6778, allocations: 27.92 kB / 0.8338 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.6778, allocations: 0 / 0.8338 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.6778, allocations: 5.25 kB / 0.8338 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.6778, allocations: 0 / 0.8338 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.6778, allocations: 8 kB / 0.8338 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000271/0.6781, allocations: 149.1 kB / 0.834 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.447e-05/0.6782, allocations: 89.14 kB / 0.8341 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/0.6782, allocations: 4 kB / 0.8341 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001416/0.6784, allocations: 15.98 kB / 0.8341 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.52e-05/0.6784, allocations: 7.984 kB / 0.8341 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/0.6784, allocations: 11.94 kB / 0.8341 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.846e-05/0.6785, allocations: 79.28 kB / 0.8342 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6785, allocations: 0 / 0.8342 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001681/0.6801, allocations: 0.5624 MB / 0.8347 GB, free: 10.98 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hVapSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002858/0.683, allocations: 359.7 kB / 0.8351 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001731/0.6832, allocations: 67.41 kB / 0.8351 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.6832, allocations: 0 / 0.8351 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.319e-05/0.6833, allocations: 43.92 kB / 0.8352 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001793/0.6835, allocations: 15.62 kB / 0.8352 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005459/0.684, allocations: 366.5 kB / 0.8355 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002122/0.6842, allocations: 0.6853 MB / 0.8362 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.397e-05/0.6843, allocations: 19.44 kB / 0.8362 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of SimCode: time 3.01e-07/0.6843, allocations: 0 / 0.8362 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of Templates: time 0.02017/0.7045, allocations: 14.43 MB / 0.8503 GB, free: 11.04 MB / 0.6231 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck.pipe 2>&1)