Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008152/0.0008152, allocations: 98.69 kB / 15.05 MB, free: 1.105 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.0008346/0.0008347, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.177/1.177, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001628/0.001628, allocations: 274.5 kB / 291.3 MB, free: 1.992 MB / 238.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:5:3-5:34:writable] Warning: Got element f_alp that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_lay but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Got element f_lay that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_loss but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Got element f_loss that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_pv but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Got element f_pv that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:2:1-34:14:writable] Warning: f_pv was referenced in the package.order file, but was not found in package.mo, f_pv/package.mo or f_pv.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7084/0.7084, allocations: 144.6 MB / 487 MB, free: 7.172 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003656/0.0003656, allocations: 15.91 kB / 0.5683 GB, free: 38.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1163, allocations: 83.08 MB / 0.6494 GB, free: 3.629 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.003358/0.1197, allocations: 3.14 MB / 0.6525 GB, free: 488 kB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001446/0.1199, allocations: 133.6 kB / 0.6526 GB, free: 356 kB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.661e-05/0.1199, allocations: 0 / 0.6526 GB, free: 356 kB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 7.234e-05/0.12, allocations: 0 / 0.6526 GB, free: 356 kB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.714e-05/0.12, allocations: 5.234 kB / 0.6526 GB, free: 352 kB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002397/0.1203, allocations: 73.69 kB / 0.6527 GB, free: 280 kB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.292e-05/0.1203, allocations: 23.91 kB / 0.6527 GB, free: 256 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.464e-05/0.1204, allocations: 3.984 kB / 0.6527 GB, free: 252 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.733e-05/0.1204, allocations: 9.031 kB / 0.6527 GB, free: 244 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.42e-05/0.1205, allocations: 7.984 kB / 0.6527 GB, free: 236 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.1205, allocations: 4 kB / 0.6527 GB, free: 232 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003879/0.1209, allocations: 153 kB / 0.6529 GB, free: 84 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.415e-05/0.1209, allocations: 4.469 kB / 0.6529 GB, free: 80 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.268e-05/0.1209, allocations: 29.7 kB / 0.6529 GB, free: 44 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 7.475e-05/0.121, allocations: 32.55 kB / 0.6529 GB, free: 12 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.121, allocations: 0.5938 kB / 0.6529 GB, free: 12 kB / 446.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.121, allocations: 0 / 0.6529 GB, free: 12 kB / 446.1 MB Notification: Performance of Transformations before backend: time 3.507e-06/0.121, allocations: 5.5 kB / 0.6529 GB, free: 8 kB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.00033/0.1214, allocations: 323.6 kB / 0.6533 GB, free: 15.64 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.771e-05/0.1214, allocations: 8.031 kB / 0.6533 GB, free: 15.64 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.323e-05/0.1214, allocations: 8.562 kB / 0.6533 GB, free: 15.63 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.995e-05/0.1216, allocations: 175.8 kB / 0.6534 GB, free: 15.42 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.462e-05/0.1216, allocations: 26.58 kB / 0.6535 GB, free: 15.39 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.488e-06/0.1216, allocations: 4 kB / 0.6535 GB, free: 15.38 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001215/0.1218, allocations: 38.41 kB / 0.6535 GB, free: 15.34 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.662e-06/0.1218, allocations: 0 / 0.6535 GB, free: 15.34 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.1218, allocations: 0.6875 kB / 0.6535 GB, free: 15.34 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.796e-05/0.1218, allocations: 4.812 kB / 0.6535 GB, free: 15.34 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.987e-05/0.1219, allocations: 19.98 kB / 0.6535 GB, free: 15.32 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003818/0.1223, allocations: 330.8 kB / 0.6538 GB, free: 14.93 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.765e-05/0.1223, allocations: 21.08 kB / 0.6539 GB, free: 14.9 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.259e-05/0.1224, allocations: 85.16 kB / 0.6539 GB, free: 14.8 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.969e-05/0.1224, allocations: 34.56 kB / 0.654 GB, free: 14.75 MB / 462.1 MB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.1224, allocations: 0.7188 kB / 0.654 GB, free: 14.75 MB / 462.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001088/0.1225, allocations: 39.48 kB / 0.654 GB, free: 14.71 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.541e-05/0.1226, allocations: 51.41 kB / 0.6541 GB, free: 14.65 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.159e-05/0.1226, allocations: 105.8 kB / 0.6542 GB, free: 14.54 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.1226, allocations: 25.7 kB / 0.6542 GB, free: 14.5 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.088e-05/0.1227, allocations: 84.67 kB / 0.6543 GB, free: 14.42 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.919e-06/0.1227, allocations: 5.312 kB / 0.6543 GB, free: 14.41 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.114e-06/0.1227, allocations: 0 / 0.6543 GB, free: 14.41 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.228e-05/0.1228, allocations: 322.8 kB / 0.6546 GB, free: 14.09 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.148e-05/0.1228, allocations: 4.906 kB / 0.6546 GB, free: 14.09 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.886e-05/0.1229, allocations: 16.47 kB / 0.6546 GB, free: 14.07 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.834e-05/0.1229, allocations: 7.938 kB / 0.6546 GB, free: 14.06 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.1229, allocations: 0 / 0.6546 GB, free: 14.06 MB / 462.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.429e-05/0.123, allocations: 53.62 kB / 0.6547 GB, free: 14 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.738e-06/0.123, allocations: 7.938 kB / 0.6547 GB, free: 13.99 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-06/0.123, allocations: 1.781 kB / 0.6547 GB, free: 13.99 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.406e-06/0.123, allocations: 0 / 0.6547 GB, free: 13.99 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.416e-05/0.123, allocations: 11.98 kB / 0.6547 GB, free: 13.98 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.1231, allocations: 7.938 kB / 0.6547 GB, free: 13.97 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.758e-05/0.1231, allocations: 3.938 kB / 0.6547 GB, free: 13.97 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.1231, allocations: 1.719 kB / 0.6547 GB, free: 13.97 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.235e-05/0.1232, allocations: 117.8 kB / 0.6548 GB, free: 13.84 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.105e-05/0.1232, allocations: 0 / 0.6548 GB, free: 13.84 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.112e-05/0.1233, allocations: 118.6 kB / 0.6549 GB, free: 13.72 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.773e-05/0.1233, allocations: 180.7 kB / 0.6551 GB, free: 13.54 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.505e-05/0.1234, allocations: 188.3 kB / 0.6553 GB, free: 13.35 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-05/0.1234, allocations: 180.2 kB / 0.6554 GB, free: 13.16 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001902/0.1236, allocations: 409.1 kB / 0.6558 GB, free: 12.71 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.841e-05/0.1237, allocations: 109 kB / 0.6559 GB, free: 12.59 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.578e-05/0.1237, allocations: 108.9 kB / 0.656 GB, free: 12.48 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.897e-05/0.1238, allocations: 180.3 kB / 0.6562 GB, free: 12.3 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.684e-05/0.1238, allocations: 176.3 kB / 0.6564 GB, free: 12.12 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.071e-05/0.1239, allocations: 184.2 kB / 0.6566 GB, free: 11.93 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.252e-05/0.1239, allocations: 176.3 kB / 0.6567 GB, free: 11.75 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001164/0.1241, allocations: 319.6 kB / 0.657 GB, free: 11.41 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.357e-05/0.1241, allocations: 182 kB / 0.6572 GB, free: 11.21 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.401e-05/0.1242, allocations: 184.3 kB / 0.6574 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000136/0.1243, allocations: 109 kB / 0.6575 GB, free: 10.91 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.401e-05/0.1244, allocations: 180.2 kB / 0.6577 GB, free: 10.73 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.616e-05/0.1245, allocations: 101 kB / 0.6578 GB, free: 10.62 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.668e-05/0.1245, allocations: 95.27 kB / 0.6578 GB, free: 10.53 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1245, allocations: 0 / 0.6578 GB, free: 10.53 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002147/0.1247, allocations: 16 kB / 0.6579 GB, free: 10.51 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001273/0.1249, allocations: 182.5 kB / 0.658 GB, free: 10.32 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 5.178e-05/0.1249, allocations: 11.94 kB / 0.658 GB, free: 10.31 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1249, allocations: 0 / 0.658 GB, free: 10.31 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 2.695e-06/0.1249, allocations: 0 / 0.658 GB, free: 10.31 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003009/0.1252, allocations: 0.5399 MB / 0.6586 GB, free: 9.77 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001843/0.1254, allocations: 187.8 kB / 0.6588 GB, free: 9.555 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000204/0.1256, allocations: 0.6731 MB / 0.6594 GB, free: 8.855 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 3.472e-05/0.1257, allocations: 11.98 kB / 0.6594 GB, free: 8.844 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.571e-05/0.1257, allocations: 11.44 kB / 0.6594 GB, free: 8.832 MB / 462.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1257, allocations: 0 / 0.6594 GB, free: 8.832 MB / 462.1 MB Notification: Performance of Templates: time 0.002062/0.1278, allocations: 0.5497 MB / 0.66 GB, free: 8.297 MB / 462.1 MB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) Environment - environmentSimulation: