Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.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.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties") translateModel(BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008367/0.0008367, allocations: 99.55 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.0009764/0.0009765, 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.154/1.154, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001624/0.001624, allocations: 278.1 kB / 291.3 MB, free: 2.004 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.7282/0.7282, allocations: 144.6 MB / 487 MB, free: 7.195 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003738/0.000374, allocations: 12 kB / 0.5683 GB, free: 38.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1173, allocations: 83.09 MB / 0.6494 GB, free: 3.648 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties): time 0.004113/0.1215, allocations: 3.682 MB / 0.653 GB, free: 15.95 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001999/0.1235, allocations: 2.165 MB / 0.6551 GB, free: 13.8 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.814e-05/0.1236, allocations: 3.938 kB / 0.6551 GB, free: 13.79 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001909/0.1238, allocations: 35.84 kB / 0.6552 GB, free: 13.76 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001664/0.1239, allocations: 77.64 kB / 0.6552 GB, free: 13.68 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007887/0.1247, allocations: 428.1 kB / 0.6556 GB, free: 13.27 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001523/0.1249, allocations: 152.7 kB / 0.6558 GB, free: 13.12 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.104e-05/0.1249, allocations: 11.22 kB / 0.6558 GB, free: 13.12 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007694/0.1257, allocations: 395.2 kB / 0.6562 GB, free: 12.74 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.983e-05/0.1258, allocations: 75.73 kB / 0.6562 GB, free: 12.67 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.1258, allocations: 8 kB / 0.6563 GB, free: 12.66 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000749/0.1266, allocations: 439.3 kB / 0.6567 GB, free: 12.23 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 4.582e-05/0.1266, allocations: 31.89 kB / 0.6567 GB, free: 12.2 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.72e-05/0.1267, allocations: 53.64 kB / 0.6568 GB, free: 12.14 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002803/0.127, allocations: 215.8 kB / 0.657 GB, free: 11.93 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.854e-06/0.127, allocations: 0 / 0.657 GB, free: 11.93 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.127, allocations: 0 / 0.657 GB, free: 11.93 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.127, allocations: 0 / 0.657 GB, free: 11.93 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0005182/0.1275, allocations: 471.1 kB / 0.6574 GB, free: 11.42 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.874e-05/0.1275, allocations: 8.031 kB / 0.6574 GB, free: 11.41 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001273/0.1277, allocations: 23.81 kB / 0.6574 GB, free: 11.39 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000174/0.1279, allocations: 218.7 kB / 0.6577 GB, free: 11.13 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.1279, allocations: 12.33 kB / 0.6577 GB, free: 11.12 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.824e-05/0.1279, allocations: 12 kB / 0.6577 GB, free: 11.11 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000293/0.1282, allocations: 252.9 kB / 0.6579 GB, free: 10.84 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.1282, allocations: 7.984 kB / 0.6579 GB, free: 10.83 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.969e-05/0.1282, allocations: 4 kB / 0.6579 GB, free: 10.83 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.078e-05/0.1283, allocations: 8 kB / 0.6579 GB, free: 10.82 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003888/0.1287, allocations: 427.4 kB / 0.6583 GB, free: 10.4 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000898/0.1296, allocations: 1.027 MB / 0.6593 GB, free: 9.281 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002575/0.1298, allocations: 162.3 kB / 0.6595 GB, free: 9.117 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001077/0.1309, allocations: 1.844 MB / 0.6613 GB, free: 6.914 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.949e-05/0.131, allocations: 34.5 kB / 0.6613 GB, free: 6.871 MB / 462.1 MB Notification: Performance of pre-optimization done (n=15): time 1.252e-06/0.131, allocations: 0 / 0.6613 GB, free: 6.871 MB / 462.1 MB Notification: Performance of matching and sorting (n=15): time 0.0002622/0.1312, allocations: 145.4 kB / 0.6615 GB, free: 6.723 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.867e-05/0.1313, allocations: 51.41 kB / 0.6615 GB, free: 6.66 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.1314, allocations: 172.8 kB / 0.6617 GB, free: 6.473 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.463e-05/0.1314, allocations: 33.7 kB / 0.6617 GB, free: 6.434 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.342e-05/0.1315, allocations: 143.8 kB / 0.6619 GB, free: 6.289 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.012e-05/0.1315, allocations: 51.28 kB / 0.6619 GB, free: 6.238 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.175e-05/0.1316, allocations: 11.94 kB / 0.6619 GB, free: 6.227 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.147e-05/0.1316, allocations: 322.8 kB / 0.6622 GB, free: 5.902 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.495e-05/0.1317, allocations: 31.98 kB / 0.6623 GB, free: 5.871 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001059/0.1318, allocations: 139.8 kB / 0.6624 GB, free: 5.688 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.388e-05/0.1319, allocations: 63.92 kB / 0.6624 GB, free: 5.625 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.1319, allocations: 0 / 0.6624 GB, free: 5.625 MB / 462.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002701/0.1322, allocations: 209.1 kB / 0.6626 GB, free: 5.414 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.1322, allocations: 8 kB / 0.6627 GB, free: 5.406 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.1322, allocations: 4 kB / 0.6627 GB, free: 5.402 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.1322, allocations: 4 kB / 0.6627 GB, free: 5.398 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000167/0.1324, allocations: 59.91 kB / 0.6627 GB, free: 5.34 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/0.1324, allocations: 16.36 kB / 0.6627 GB, free: 5.324 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00011/0.1325, allocations: 31.73 kB / 0.6628 GB, free: 5.293 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.537e-05/0.1326, allocations: 12 kB / 0.6628 GB, free: 5.281 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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 8.608e-05/0.1327, allocations: 129.7 kB / 0.6629 GB, free: 5.145 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.843e-05/0.1327, allocations: 19.81 kB / 0.6629 GB, free: 5.125 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002491/0.133, allocations: 148.2 kB / 0.6631 GB, free: 4.98 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.814e-06/0.133, allocations: 4 kB / 0.6631 GB, free: 4.977 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.133, allocations: 3.984 kB / 0.6631 GB, free: 4.973 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.133, allocations: 7.953 kB / 0.6631 GB, free: 4.965 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001996/0.1332, allocations: 209.5 kB / 0.6633 GB, free: 4.711 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.1332, allocations: 0 / 0.6633 GB, free: 4.711 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001077/0.1333, allocations: 39.91 kB / 0.6633 GB, free: 4.672 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.1333, allocations: 3.938 kB / 0.6633 GB, free: 4.668 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.1333, allocations: 8 kB / 0.6633 GB, free: 4.66 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1334, allocations: 0 / 0.6633 GB, free: 4.66 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.1334, allocations: 0 / 0.6633 GB, free: 4.66 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001943/0.1336, allocations: 228.8 kB / 0.6635 GB, free: 4.422 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.992e-05/0.1336, allocations: 112.9 kB / 0.6637 GB, free: 4.293 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.415e-05/0.1337, allocations: 8 kB / 0.6637 GB, free: 4.285 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001988/0.1339, allocations: 15.98 kB / 0.6637 GB, free: 4.27 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.329e-05/0.1339, allocations: 19.91 kB / 0.6637 GB, free: 4.25 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.679e-05/0.1339, allocations: 11.98 kB / 0.6637 GB, free: 4.238 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.248e-05/0.134, allocations: 118.8 kB / 0.6638 GB, free: 4.125 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.134, allocations: 4 kB / 0.6638 GB, free: 4.121 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000328/0.1343, allocations: 83.83 kB / 0.6639 GB, free: 4.039 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0002007/0.1346, allocations: 171 kB / 0.6641 GB, free: 3.859 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001781/0.1347, allocations: 112.6 kB / 0.6642 GB, free: 3.75 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.1348, allocations: 4.125 kB / 0.6642 GB, free: 3.746 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 5.566e-05/0.1348, allocations: 50.16 kB / 0.6642 GB, free: 3.699 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003359/0.1352, allocations: 43.95 kB / 0.6643 GB, free: 3.656 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005697/0.1357, allocations: 431.4 kB / 0.6647 GB, free: 3.211 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002061/0.136, allocations: 0.7133 MB / 0.6654 GB, free: 2.473 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001521/0.1361, allocations: 53.72 kB / 0.6654 GB, free: 2.422 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.246e-05/0.1361, allocations: 19.44 kB / 0.6654 GB, free: 2.402 MB / 462.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1362, allocations: 0 / 0.6654 GB, free: 2.402 MB / 462.1 MB Notification: Performance of Templates: time 0.005256/0.1414, allocations: 3.103 MB / 0.6685 GB, free: 15.34 MB / 478.1 MB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.sim & ./BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) Environment - environmentSimulation: