Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.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.Antifreeze.Validation.PropyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater") translateModel(BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008169/0.000817, allocations: 102.8 kB / 15.06 MB, free: 1.098 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.0008732/0.0008733, allocations: 173.3 kB / 15.95 MB, free: 212 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.151/1.151, allocations: 223.2 MB / 239.9 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001587/0.001587, allocations: 270.7 kB / 291.2 MB, free: 1.945 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.7404/0.7404, allocations: 144.6 MB / 487 MB, free: 7.172 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003749/0.000375, allocations: 11.94 kB / 0.5683 GB, free: 38.37 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1184, allocations: 83.08 MB / 0.6494 GB, free: 3.574 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.001435/0.1199, allocations: 1.076 MB / 0.6505 GB, free: 2.488 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002925/0.1228, allocations: 2.565 MB / 0.653 GB, free: 15.92 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.115e-05/0.1229, allocations: 0 / 0.653 GB, free: 15.92 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 7.26e-05/0.123, allocations: 0 / 0.653 GB, free: 15.92 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 5.906e-05/0.1231, allocations: 23.89 kB / 0.653 GB, free: 15.9 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004805/0.1235, allocations: 157.6 kB / 0.6531 GB, free: 15.75 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001639/0.1237, allocations: 159.7 kB / 0.6533 GB, free: 15.59 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.092e-05/0.1238, allocations: 4.656 kB / 0.6533 GB, free: 15.59 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.957e-05/0.1239, allocations: 83.86 kB / 0.6534 GB, free: 15.5 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.124, allocations: 104.6 kB / 0.6535 GB, free: 15.4 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.833e-05/0.124, allocations: 12 kB / 0.6535 GB, free: 15.39 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003991/0.1244, allocations: 162.5 kB / 0.6536 GB, free: 15.23 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 7.536e-05/0.1245, allocations: 79.84 kB / 0.6537 GB, free: 15.16 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 5.206e-05/0.1246, allocations: 54.3 kB / 0.6538 GB, free: 15.1 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002587/0.1248, allocations: 183.9 kB / 0.654 GB, free: 14.92 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.1248, allocations: 0.6875 kB / 0.654 GB, free: 14.92 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1248, allocations: 0 / 0.654 GB, free: 14.92 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.1248, allocations: 0.875 kB / 0.654 GB, free: 14.92 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0007251/0.1256, allocations: 0.5278 MB / 0.6545 GB, free: 14.35 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.1256, allocations: 8.656 kB / 0.6545 GB, free: 14.34 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001026/0.1257, allocations: 15.81 kB / 0.6545 GB, free: 14.32 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002531/0.126, allocations: 244.5 kB / 0.6547 GB, free: 14.05 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.04e-05/0.126, allocations: 23.98 kB / 0.6547 GB, free: 14.02 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.665e-05/0.1261, allocations: 16 kB / 0.6548 GB, free: 14.01 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005953/0.1267, allocations: 310.8 kB / 0.6551 GB, free: 13.7 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.1267, allocations: 0 / 0.6551 GB, free: 13.7 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.24e-05/0.1267, allocations: 17.5 kB / 0.6551 GB, free: 13.69 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.1267, allocations: 0 / 0.6551 GB, free: 13.69 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001355/0.1281, allocations: 0.8131 MB / 0.6559 GB, free: 12.88 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003094/0.1284, allocations: 305.1 kB / 0.6562 GB, free: 12.53 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001645/0.1301, allocations: 0.7775 MB / 0.6569 GB, free: 11.74 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004111/0.1305, allocations: 388.3 kB / 0.6573 GB, free: 11.29 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.1305, allocations: 38.56 kB / 0.6573 GB, free: 11.24 MB / 462.1 MB Notification: Performance of pre-optimization done (n=37): time 1.433e-06/0.1305, allocations: 0 / 0.6573 GB, free: 11.24 MB / 462.1 MB Notification: Performance of matching and sorting (n=37): time 0.001603/0.1321, allocations: 0.7316 MB / 0.658 GB, free: 10.5 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.588e-05/0.1322, allocations: 59.34 kB / 0.6581 GB, free: 10.43 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.446e-05/0.1323, allocations: 126.1 kB / 0.6582 GB, free: 10.3 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.5e-05/0.1323, allocations: 29.7 kB / 0.6582 GB, free: 10.26 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.208e-05/0.1323, allocations: 100.8 kB / 0.6583 GB, free: 10.16 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.586e-05/0.1324, allocations: 118.2 kB / 0.6585 GB, free: 10.04 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.541e-05/0.1325, allocations: 8 kB / 0.6585 GB, free: 10.04 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.162e-05/0.1326, allocations: 330.8 kB / 0.6588 GB, free: 9.703 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000461/0.133, allocations: 219.8 kB / 0.659 GB, free: 9.488 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004584/0.1335, allocations: 231.8 kB / 0.6592 GB, free: 9.262 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004283/0.1339, allocations: 201.5 kB / 0.6594 GB, free: 9.066 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1339, allocations: 0 / 0.6594 GB, free: 9.066 MB / 462.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009968/0.1349, allocations: 0.5123 MB / 0.6599 GB, free: 8.547 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.135, allocations: 7.984 kB / 0.6599 GB, free: 8.539 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.135, allocations: 0 / 0.6599 GB, free: 8.539 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.135, allocations: 4 kB / 0.6599 GB, free: 8.535 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003494/0.1353, allocations: 107.9 kB / 0.66 GB, free: 8.43 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.1354, allocations: 0 / 0.66 GB, free: 8.43 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001976/0.1356, allocations: 75.7 kB / 0.6601 GB, free: 8.355 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.552e-05/0.1356, allocations: 11.98 kB / 0.6601 GB, free: 8.344 MB / 462.1 MB 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 (37): * Single equations (assignments): 37 * 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 0.0001053/0.1357, allocations: 145.7 kB / 0.6602 GB, free: 8.191 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.884e-05/0.1357, allocations: 19.77 kB / 0.6603 GB, free: 8.172 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001114/0.1369, allocations: 0.5674 MB / 0.6608 GB, free: 7.605 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.1369, allocations: 4 kB / 0.6608 GB, free: 7.602 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.1369, allocations: 0 / 0.6608 GB, free: 7.602 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.1369, allocations: 3.984 kB / 0.6608 GB, free: 7.598 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000262/0.1372, allocations: 313.2 kB / 0.6611 GB, free: 7.242 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.1372, allocations: 8 kB / 0.6611 GB, free: 7.234 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003297/0.1375, allocations: 107.8 kB / 0.6612 GB, free: 7.129 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.1375, allocations: 3.953 kB / 0.6612 GB, free: 7.125 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.005e-05/0.1375, allocations: 12 kB / 0.6612 GB, free: 7.113 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.1375, allocations: 8 kB / 0.6613 GB, free: 7.105 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1375, allocations: 3.938 kB / 0.6613 GB, free: 7.102 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001022/0.1386, allocations: 0.5436 MB / 0.6618 GB, free: 6.539 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.08e-05/0.1386, allocations: 96.8 kB / 0.6619 GB, free: 6.426 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.516e-05/0.1387, allocations: 15.94 kB / 0.6619 GB, free: 6.41 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001845/0.1389, allocations: 47.97 kB / 0.6619 GB, free: 6.363 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001844/0.139, allocations: 119.8 kB / 0.6621 GB, free: 6.246 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.486e-05/0.1391, allocations: 15.98 kB / 0.6621 GB, free: 6.23 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.655e-05/0.1391, allocations: 95.27 kB / 0.6622 GB, free: 6.137 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1391, allocations: 0 / 0.6622 GB, free: 6.137 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003304/0.1395, allocations: 123.9 kB / 0.6623 GB, free: 6.016 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 (37): * Single equations (assignments): 37 * 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.0002865/0.1398, allocations: 199 kB / 0.6625 GB, free: 5.812 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001007/0.1408, allocations: 0.5147 MB / 0.663 GB, free: 5.297 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.1408, allocations: 0 / 0.663 GB, free: 5.297 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005167/0.1413, allocations: 288.6 kB / 0.6632 GB, free: 5.016 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003022/0.1416, allocations: 71.92 kB / 0.6633 GB, free: 4.945 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006284/0.1423, allocations: 0.4937 MB / 0.6638 GB, free: 4.426 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002279/0.1425, allocations: 0.733 MB / 0.6645 GB, free: 3.668 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003598/0.1429, allocations: 189.9 kB / 0.6647 GB, free: 3.508 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.88e-05/0.1429, allocations: 35.42 kB / 0.6647 GB, free: 3.473 MB / 462.1 MB Notification: Performance of SimCode: time 2.7e-07/0.143, allocations: 4 kB / 0.6647 GB, free: 3.469 MB / 462.1 MB Notification: Performance of Templates: time 0.006832/0.1498, allocations: 4.681 MB / 0.6693 GB, free: 14.85 MB / 478.1 MB make -j1 -f BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & ./BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1) Environment - environmentSimulation: