Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.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.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterProperties") translateModel(BuildingSystems.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007918/0.0007918, allocations: 99.86 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.0008491/0.0008491, 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.142/1.142, allocations: 223.2 MB / 239.9 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001596/0.001596, allocations: 270.6 kB / 291.2 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.7033/0.7033, allocations: 144.6 MB / 487 MB, free: 7.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003668/0.0003668, allocations: 12.72 kB / 0.5683 GB, free: 38.51 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1167, allocations: 83.09 MB / 0.6494 GB, free: 3.617 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterProperties): time 0.003509/0.1203, allocations: 3.927 MB / 0.6532 GB, free: 15.68 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001886/0.1222, allocations: 2.161 MB / 0.6554 GB, free: 13.52 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.591e-05/0.1222, allocations: 0 / 0.6554 GB, free: 13.52 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001748/0.1224, allocations: 35.8 kB / 0.6554 GB, free: 13.49 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001477/0.1226, allocations: 81.38 kB / 0.6555 GB, free: 13.41 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007235/0.1233, allocations: 440 kB / 0.6559 GB, free: 12.99 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001426/0.1235, allocations: 152.7 kB / 0.656 GB, free: 12.84 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.764e-05/0.1235, allocations: 8.625 kB / 0.656 GB, free: 12.84 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000147/0.1237, allocations: 103.7 kB / 0.6561 GB, free: 12.73 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.836e-05/0.1238, allocations: 75.69 kB / 0.6562 GB, free: 12.66 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.863e-05/0.1238, allocations: 11.98 kB / 0.6562 GB, free: 12.65 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004907/0.1243, allocations: 287.6 kB / 0.6565 GB, free: 12.37 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 4.988e-05/0.1243, allocations: 37.36 kB / 0.6565 GB, free: 12.33 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.941e-05/0.1244, allocations: 57.58 kB / 0.6566 GB, free: 12.27 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002794/0.1247, allocations: 215.8 kB / 0.6568 GB, free: 12.06 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.1247, allocations: 0 / 0.6568 GB, free: 12.06 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1247, allocations: 0.6562 kB / 0.6568 GB, free: 12.06 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.1247, allocations: 4 kB / 0.6568 GB, free: 12.05 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.0005234/0.1252, allocations: 476.8 kB / 0.6573 GB, free: 11.54 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.641e-05/0.1253, allocations: 8.031 kB / 0.6573 GB, free: 11.53 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000132/0.1254, allocations: 28.89 kB / 0.6573 GB, free: 11.5 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001769/0.1256, allocations: 210.8 kB / 0.6575 GB, free: 11.26 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.1256, allocations: 16.31 kB / 0.6575 GB, free: 11.24 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.912e-05/0.1256, allocations: 16 kB / 0.6575 GB, free: 11.23 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003002/0.1259, allocations: 244 kB / 0.6578 GB, free: 10.97 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.964e-06/0.1259, allocations: 0 / 0.6578 GB, free: 10.97 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.236e-05/0.126, allocations: 12 kB / 0.6578 GB, free: 10.96 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.141e-05/0.126, allocations: 8 kB / 0.6578 GB, free: 10.95 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003938/0.1264, allocations: 427.9 kB / 0.6582 GB, free: 10.53 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009431/0.1273, allocations: 0.98 MB / 0.6591 GB, free: 9.461 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002552/0.1276, allocations: 173 kB / 0.6593 GB, free: 9.285 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001068/0.1287, allocations: 1.837 MB / 0.6611 GB, free: 7.09 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/0.1287, allocations: 38.56 kB / 0.6611 GB, free: 7.043 MB / 462.1 MB Notification: Performance of pre-optimization done (n=15): time 1.182e-06/0.1287, allocations: 4 kB / 0.6611 GB, free: 7.039 MB / 462.1 MB Notification: Performance of matching and sorting (n=15): time 0.0002591/0.129, allocations: 143.6 kB / 0.6613 GB, free: 6.895 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.964e-05/0.129, allocations: 55.41 kB / 0.6613 GB, free: 6.828 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.1292, allocations: 172.8 kB / 0.6615 GB, free: 6.645 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.1292, allocations: 29.7 kB / 0.6615 GB, free: 6.609 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.629e-05/0.1293, allocations: 139.8 kB / 0.6617 GB, free: 6.469 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.22e-05/0.1293, allocations: 55.28 kB / 0.6617 GB, free: 6.414 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.795e-06/0.1293, allocations: 4 kB / 0.6617 GB, free: 6.41 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.948e-05/0.1294, allocations: 330.8 kB / 0.662 GB, free: 6.078 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.409e-05/0.1295, allocations: 27.98 kB / 0.6621 GB, free: 6.051 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001105/0.1296, allocations: 143.4 kB / 0.6622 GB, free: 5.863 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.416e-05/0.1297, allocations: 55.94 kB / 0.6622 GB, free: 5.809 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.1297, allocations: 4 kB / 0.6622 GB, free: 5.805 MB / 462.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002745/0.13, allocations: 215.5 kB / 0.6625 GB, free: 5.59 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.13, allocations: 9.625 kB / 0.6625 GB, free: 5.582 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.13, allocations: 4 kB / 0.6625 GB, free: 5.578 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.13, allocations: 8 kB / 0.6625 GB, free: 5.57 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001704/0.1302, allocations: 63.86 kB / 0.6625 GB, free: 5.508 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.1302, allocations: 4 kB / 0.6625 GB, free: 5.504 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.1303, allocations: 23.75 kB / 0.6626 GB, free: 5.48 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.177e-05/0.1303, allocations: 15.98 kB / 0.6626 GB, free: 5.465 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.959e-05/0.1304, allocations: 133.7 kB / 0.6627 GB, free: 5.324 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.728e-05/0.1305, allocations: 23.75 kB / 0.6627 GB, free: 5.301 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002571/0.1307, allocations: 154.8 kB / 0.6629 GB, free: 5.145 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/0.1308, allocations: 4 kB / 0.6629 GB, free: 5.141 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.85e-06/0.1308, allocations: 3.953 kB / 0.6629 GB, free: 5.137 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.1308, allocations: 3.984 kB / 0.6629 GB, free: 5.133 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002017/0.131, allocations: 209.6 kB / 0.6631 GB, free: 4.879 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.131, allocations: 0 / 0.6631 GB, free: 4.879 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001028/0.1311, allocations: 31.97 kB / 0.6631 GB, free: 4.848 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.1311, allocations: 0 / 0.6631 GB, free: 4.848 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.1311, allocations: 12 kB / 0.6631 GB, free: 4.836 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1311, allocations: 0 / 0.6631 GB, free: 4.836 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.1311, allocations: 3.984 kB / 0.6631 GB, free: 4.832 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001982/0.1313, allocations: 225 kB / 0.6633 GB, free: 4.598 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.301e-05/0.1314, allocations: 116.8 kB / 0.6635 GB, free: 4.465 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.317e-05/0.1315, allocations: 7.984 kB / 0.6635 GB, free: 4.457 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002019/0.1317, allocations: 23.98 kB / 0.6635 GB, free: 4.434 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.04e-05/0.1317, allocations: 7.984 kB / 0.6635 GB, free: 4.426 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.976e-05/0.1317, allocations: 15.98 kB / 0.6635 GB, free: 4.41 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.304e-05/0.1318, allocations: 118.1 kB / 0.6636 GB, free: 4.297 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1318, allocations: 0 / 0.6636 GB, free: 4.297 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003353/0.1321, allocations: 79.94 kB / 0.6637 GB, free: 4.219 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.0002052/0.1324, allocations: 179 kB / 0.6639 GB, free: 4.031 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001902/0.1325, allocations: 111.8 kB / 0.664 GB, free: 3.922 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1326, allocations: 0.9375 kB / 0.664 GB, free: 3.922 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 5.732e-05/0.1326, allocations: 45.05 kB / 0.664 GB, free: 3.879 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003416/0.133, allocations: 51.89 kB / 0.6641 GB, free: 3.828 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005359/0.1335, allocations: 435.3 kB / 0.6645 GB, free: 3.379 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002087/0.1337, allocations: 0.7133 MB / 0.6652 GB, free: 2.641 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001459/0.1339, allocations: 49.75 kB / 0.6652 GB, free: 2.594 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.186e-05/0.1339, allocations: 19.44 kB / 0.6652 GB, free: 2.574 MB / 462.1 MB Notification: Performance of SimCode: time 9.82e-07/0.1339, allocations: 4 kB / 0.6653 GB, free: 2.57 MB / 462.1 MB Notification: Performance of Templates: time 0.005208/0.1391, allocations: 3.169 MB / 0.6683 GB, free: 15.44 MB / 478.1 MB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.sim & ./BuildingSystems_BuildingSystems.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe 2>&1) Environment - environmentSimulation: