Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.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.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck") translateModel(BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009176/0.0009176, allocations: 99.23 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.0008134/0.0008135, allocations: 177.3 kB / 15.94 MB, free: 228 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.167/1.167, allocations: 223.2 MB / 239.9 MB, free: 5.234 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001636/0.001636, allocations: 270.4 kB / 291.2 MB, free: 1.801 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.7386/0.7386, allocations: 144.6 MB / 487 MB, free: 7.207 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003755/0.0003758, allocations: 12.84 kB / 0.5683 GB, free: 38.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1208, allocations: 83.09 MB / 0.6494 GB, free: 3.648 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.001072/0.1219, allocations: 0.9656 MB / 0.6504 GB, free: 2.672 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002595/0.1245, allocations: 2.556 MB / 0.6528 GB, free: 120 kB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.364e-05/0.1245, allocations: 0 / 0.6528 GB, free: 120 kB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.039e-05/0.1246, allocations: 0 / 0.6528 GB, free: 120 kB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.577e-05/0.1246, allocations: 4.891 kB / 0.6529 GB, free: 116 kB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003164/0.1249, allocations: 85 kB / 0.6529 GB, free: 32 kB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.308e-05/0.125, allocations: 23.95 kB / 0.653 GB, free: 8 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.745e-05/0.125, allocations: 5.281 kB / 0.653 GB, free: 4 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003615/0.1254, allocations: 148 kB / 0.6531 GB, free: 15.86 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.363e-05/0.1254, allocations: 21.05 kB / 0.6531 GB, free: 15.84 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.145e-06/0.1255, allocations: 0 / 0.6531 GB, free: 15.84 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000118/0.1256, allocations: 47.97 kB / 0.6532 GB, free: 15.8 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 9.738e-06/0.1256, allocations: 4.594 kB / 0.6532 GB, free: 15.79 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 2.078e-05/0.1256, allocations: 29.7 kB / 0.6532 GB, free: 15.76 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 8.852e-05/0.1257, allocations: 36.67 kB / 0.6532 GB, free: 15.72 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.1257, allocations: 0 / 0.6532 GB, free: 15.72 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1257, allocations: 0.875 kB / 0.6532 GB, free: 15.72 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.002e-06/0.1257, allocations: 0 / 0.6532 GB, free: 15.72 MB / 462.1 MB 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.0003011/0.126, allocations: 344.8 kB / 0.6536 GB, free: 15.34 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.842e-05/0.1261, allocations: 8.031 kB / 0.6536 GB, free: 15.33 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.795e-05/0.1261, allocations: 4.875 kB / 0.6536 GB, free: 15.33 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.412e-05/0.1262, allocations: 163 kB / 0.6537 GB, free: 15.13 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.1262, allocations: 4.594 kB / 0.6537 GB, free: 15.12 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.438e-05/0.1263, allocations: 13.08 kB / 0.6538 GB, free: 15.11 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001057/0.1264, allocations: 53.59 kB / 0.6538 GB, free: 15.05 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.992e-06/0.1264, allocations: 5.406 kB / 0.6538 GB, free: 15.05 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.1264, allocations: 0 / 0.6538 GB, free: 15.05 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.487e-06/0.1264, allocations: 0 / 0.6538 GB, free: 15.05 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.396e-05/0.1264, allocations: 23.98 kB / 0.6538 GB, free: 15.03 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000148/0.1266, allocations: 172 kB / 0.654 GB, free: 14.81 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.661e-05/0.1267, allocations: 58.47 kB / 0.654 GB, free: 14.75 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005805/0.1273, allocations: 0.5851 MB / 0.6546 GB, free: 14.05 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.089e-05/0.1273, allocations: 42.56 kB / 0.6547 GB, free: 14 MB / 462.1 MB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.1273, allocations: 0 / 0.6547 GB, free: 14 MB / 462.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004811/0.1278, allocations: 295.7 kB / 0.6549 GB, free: 13.66 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.753e-05/0.1278, allocations: 58.77 kB / 0.655 GB, free: 13.6 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.762e-05/0.1279, allocations: 97.84 kB / 0.6551 GB, free: 13.49 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.1279, allocations: 29.7 kB / 0.6551 GB, free: 13.46 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.223e-05/0.128, allocations: 91.98 kB / 0.6552 GB, free: 13.36 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.805e-05/0.128, allocations: 31.55 kB / 0.6552 GB, free: 13.33 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.11e-06/0.128, allocations: 4 kB / 0.6552 GB, free: 13.33 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.804e-05/0.1281, allocations: 310.8 kB / 0.6555 GB, free: 13.02 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.943e-05/0.1281, allocations: 12.78 kB / 0.6556 GB, free: 13 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.737e-05/0.1282, allocations: 58.33 kB / 0.6556 GB, free: 12.93 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.822e-05/0.1282, allocations: 25.7 kB / 0.6556 GB, free: 12.91 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1282, allocations: 0 / 0.6556 GB, free: 12.91 MB / 462.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001124/0.1283, allocations: 93.55 kB / 0.6557 GB, free: 12.81 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.1284, allocations: 5.719 kB / 0.6557 GB, free: 12.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.1284, allocations: 4 kB / 0.6557 GB, free: 12.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.1284, allocations: 0 / 0.6557 GB, free: 12.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.647e-05/0.1285, allocations: 23.94 kB / 0.6558 GB, free: 12.78 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.1285, allocations: 7.953 kB / 0.6558 GB, free: 12.77 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.363e-05/0.1285, allocations: 0 / 0.6558 GB, free: 12.77 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.271e-06/0.1285, allocations: 4 kB / 0.6558 GB, free: 12.77 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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.572e-05/0.1286, allocations: 122 kB / 0.6559 GB, free: 12.64 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.456e-05/0.1286, allocations: 7.906 kB / 0.6559 GB, free: 12.63 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.323e-05/0.1287, allocations: 7.969 kB / 0.6559 GB, free: 12.62 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-06/0.1287, allocations: 0 / 0.6559 GB, free: 12.62 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.1287, allocations: 0 / 0.6559 GB, free: 12.62 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.1287, allocations: 3.953 kB / 0.6559 GB, free: 12.62 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002193/0.1289, allocations: 173.7 kB / 0.6561 GB, free: 12.4 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1289, allocations: 0 / 0.6561 GB, free: 12.4 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.124e-05/0.129, allocations: 23.92 kB / 0.6561 GB, free: 12.38 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.129, allocations: 0 / 0.6561 GB, free: 12.38 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.181e-06/0.129, allocations: 4 kB / 0.6561 GB, free: 12.38 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.129, allocations: 448 / 0.6561 GB, free: 12.38 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.12e-07/0.129, allocations: 0 / 0.6561 GB, free: 12.38 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000151/0.1292, allocations: 175.5 kB / 0.6563 GB, free: 12.19 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.822e-05/0.1292, allocations: 81.02 kB / 0.6563 GB, free: 12.09 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/0.1293, allocations: 4 kB / 0.6563 GB, free: 12.09 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.668e-05/0.1294, allocations: 8.375 kB / 0.6563 GB, free: 12.08 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.297e-05/0.1294, allocations: 11.98 kB / 0.6564 GB, free: 12.07 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.1294, allocations: 0 / 0.6564 GB, free: 12.07 MB / 462.1 MB Notification: Performance of sorting global known variables: time 2.853e-05/0.1294, allocations: 83.27 kB / 0.6564 GB, free: 11.98 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.302e-06/0.1294, allocations: 0 / 0.6564 GB, free: 11.98 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000217/0.1297, allocations: 15.94 kB / 0.6565 GB, free: 11.97 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,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 (7): * Single equations (assignments): 7 * 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 9.749e-05/0.1298, allocations: 103.2 kB / 0.6566 GB, free: 11.86 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 9.957e-05/0.1299, allocations: 44.11 kB / 0.6566 GB, free: 11.81 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1299, allocations: 11.94 kB / 0.6566 GB, free: 11.8 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 2.109e-05/0.1299, allocations: 12 kB / 0.6566 GB, free: 11.79 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001645/0.1301, allocations: 13.77 kB / 0.6566 GB, free: 11.78 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004824/0.1306, allocations: 382.7 kB / 0.657 GB, free: 11.38 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002086/0.1308, allocations: 0.6861 MB / 0.6577 GB, free: 10.66 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 5.99e-05/0.1308, allocations: 19.91 kB / 0.6577 GB, free: 10.64 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.866e-05/0.1309, allocations: 11.44 kB / 0.6577 GB, free: 10.63 MB / 462.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1309, allocations: 0 / 0.6577 GB, free: 10.63 MB / 462.1 MB Notification: Performance of Templates: time 0.002107/0.133, allocations: 0.5727 MB / 0.6583 GB, free: 10.06 MB / 462.1 MB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: