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: "" <> buildModelFMU(BuildingSystems.Media.Examples.WaterProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.WaterProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008421/0.0008419, allocations: 99.62 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.0008454/0.0008455, 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.288/1.288, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001686/0.001685, allocations: 263.2 kB / 291.2 MB, free: 1.996 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.7673/0.7673, allocations: 144.6 MB / 487 MB, free: 7.168 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003953/0.0003953, allocations: 13.05 kB / 0.5684 GB, free: 38.37 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1489, allocations: 83.08 MB / 0.6495 GB, free: 3.492 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterProperties): time 0.004158/0.1531, allocations: 3.93 MB / 0.6534 GB, free: 15.55 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002119/0.1552, allocations: 2.165 MB / 0.6555 GB, free: 13.39 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.618e-05/0.1553, allocations: 4 kB / 0.6555 GB, free: 13.39 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002138/0.1555, allocations: 35.8 kB / 0.6555 GB, free: 13.35 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001793/0.1557, allocations: 77.47 kB / 0.6556 GB, free: 13.28 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009273/0.1567, allocations: 432.1 kB / 0.656 GB, free: 12.86 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001619/0.1568, allocations: 150.8 kB / 0.6561 GB, free: 12.72 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.014e-05/0.1569, allocations: 17.53 kB / 0.6562 GB, free: 12.7 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001648/0.1571, allocations: 99.69 kB / 0.6562 GB, free: 12.61 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001098/0.1572, allocations: 80.17 kB / 0.6563 GB, free: 12.53 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.98e-05/0.1572, allocations: 8 kB / 0.6563 GB, free: 12.52 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005672/0.1578, allocations: 289.5 kB / 0.6566 GB, free: 12.24 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 5.648e-05/0.1579, allocations: 35.89 kB / 0.6566 GB, free: 12.2 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.083e-05/0.1579, allocations: 57.58 kB / 0.6567 GB, free: 12.14 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003103/0.1582, allocations: 215.7 kB / 0.6569 GB, free: 11.93 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.1582, allocations: 1.062 kB / 0.6569 GB, free: 11.93 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.1582, allocations: 0 / 0.6569 GB, free: 11.93 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.888e-06/0.1582, allocations: 3.938 kB / 0.6569 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.0005922/0.1588, allocations: 477.5 kB / 0.6574 GB, free: 11.41 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.1589, allocations: 8.031 kB / 0.6574 GB, free: 11.4 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.344e-05/0.1589, allocations: 50.55 kB / 0.6574 GB, free: 11.34 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001332/0.1591, allocations: 23.8 kB / 0.6574 GB, free: 11.32 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001918/0.1593, allocations: 216.9 kB / 0.6576 GB, free: 11.07 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.1593, allocations: 12.33 kB / 0.6577 GB, free: 11.06 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.17e-05/0.1593, allocations: 16 kB / 0.6577 GB, free: 11.04 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003497/0.1597, allocations: 254.4 kB / 0.6579 GB, free: 10.78 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.1597, allocations: 0 / 0.6579 GB, free: 10.78 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.25e-05/0.1597, allocations: 8 kB / 0.6579 GB, free: 10.77 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.959e-05/0.1598, allocations: 4 kB / 0.6579 GB, free: 10.77 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004311/0.1602, allocations: 432.6 kB / 0.6583 GB, free: 10.34 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001002/0.1612, allocations: 0.9846 MB / 0.6593 GB, free: 9.27 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002808/0.1615, allocations: 166.9 kB / 0.6595 GB, free: 9.098 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001173/0.1627, allocations: 1.841 MB / 0.6613 GB, free: 6.898 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.1627, allocations: 30.56 kB / 0.6613 GB, free: 6.859 MB / 462.1 MB Notification: Performance of pre-optimization done (n=15): time 1.322e-06/0.1627, allocations: 0 / 0.6613 GB, free: 6.859 MB / 462.1 MB Notification: Performance of matching and sorting (n=15): time 0.0002951/0.163, allocations: 151.3 kB / 0.6614 GB, free: 6.707 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.301e-05/0.1631, allocations: 55.41 kB / 0.6615 GB, free: 6.641 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.1632, allocations: 172.8 kB / 0.6617 GB, free: 6.457 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.698e-05/0.1633, allocations: 29.7 kB / 0.6617 GB, free: 6.422 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.049e-05/0.1633, allocations: 147.8 kB / 0.6618 GB, free: 6.273 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.155e-05/0.1634, allocations: 47.3 kB / 0.6619 GB, free: 6.227 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.16e-05/0.1634, allocations: 8 kB / 0.6619 GB, free: 6.219 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.244e-05/0.1635, allocations: 322.8 kB / 0.6622 GB, free: 5.895 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.72e-05/0.1635, allocations: 31.98 kB / 0.6622 GB, free: 5.863 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.1637, allocations: 133.7 kB / 0.6623 GB, free: 5.684 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.515e-05/0.1638, allocations: 61.05 kB / 0.6624 GB, free: 5.625 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.1638, allocations: 0 / 0.6624 GB, free: 5.625 MB / 462.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002827/0.1641, allocations: 213 kB / 0.6626 GB, free: 5.41 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.1641, allocations: 8 kB / 0.6626 GB, free: 5.402 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.1641, allocations: 4 kB / 0.6626 GB, free: 5.398 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.1641, allocations: 8.422 kB / 0.6626 GB, free: 5.391 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001792/0.1643, allocations: 67.91 kB / 0.6627 GB, free: 5.324 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.1643, allocations: 7.984 kB / 0.6627 GB, free: 5.316 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000112/0.1644, allocations: 23.75 kB / 0.6627 GB, free: 5.293 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.068e-05/0.1645, allocations: 12 kB / 0.6627 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 9.508e-05/0.1646, allocations: 137.7 kB / 0.6629 GB, free: 5.137 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.982e-05/0.1646, allocations: 19.75 kB / 0.6629 GB, free: 5.117 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002737/0.1649, allocations: 168.8 kB / 0.663 GB, free: 4.949 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.847e-06/0.1649, allocations: 0 / 0.663 GB, free: 4.949 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.1649, allocations: 3.953 kB / 0.663 GB, free: 4.945 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.1649, allocations: 0 / 0.663 GB, free: 4.945 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002322/0.1652, allocations: 217.5 kB / 0.6632 GB, free: 4.684 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1652, allocations: 0 / 0.6632 GB, free: 4.684 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001073/0.1653, allocations: 27.98 kB / 0.6633 GB, free: 4.656 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.1653, allocations: 4 kB / 0.6633 GB, free: 4.652 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.737e-06/0.1653, allocations: 0 / 0.6633 GB, free: 4.652 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.1653, allocations: 0 / 0.6633 GB, free: 4.652 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1653, allocations: 3.938 kB / 0.6633 GB, free: 4.648 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002079/0.1655, allocations: 223.3 kB / 0.6635 GB, free: 4.414 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.855e-05/0.1656, allocations: 120.8 kB / 0.6636 GB, free: 4.277 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.489e-05/0.1657, allocations: 4 kB / 0.6636 GB, free: 4.273 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001989/0.1659, allocations: 15.98 kB / 0.6636 GB, free: 4.258 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.503e-05/0.1659, allocations: 11.98 kB / 0.6636 GB, free: 4.246 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.769e-05/0.1659, allocations: 16 kB / 0.6637 GB, free: 4.23 MB / 462.1 MB Notification: Performance of sorting global known variables: time 8.133e-05/0.166, allocations: 126 kB / 0.6638 GB, free: 4.109 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.166, allocations: 0 / 0.6638 GB, free: 4.109 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003659/0.1664, allocations: 75.98 kB / 0.6639 GB, free: 4.035 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.0005673/0.167, allocations: 0.8271 MB / 0.6647 GB, free: 3.18 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002016/0.1672, allocations: 121.2 kB / 0.6648 GB, free: 3.062 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1672, allocations: 0.9375 kB / 0.6648 GB, free: 3.062 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 5.826e-05/0.1673, allocations: 39.92 kB / 0.6648 GB, free: 3.023 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003768/0.1676, allocations: 65.84 kB / 0.6649 GB, free: 2.961 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001901/0.1696, allocations: 3.263 MB / 0.6681 GB, free: 15.59 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002227/0.1698, allocations: 0.7171 MB / 0.6688 GB, free: 14.85 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001652/0.17, allocations: 49.75 kB / 0.6688 GB, free: 14.8 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.238e-05/0.17, allocations: 43.42 kB / 0.6689 GB, free: 14.76 MB / 478.1 MB Notification: Performance of SimCode: time 2.3e-07/0.17, allocations: 0 / 0.6689 GB, free: 14.76 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2806/0.4506, allocations: 4.742 MB / 0.6735 GB, free: 10.18 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002188/0.4509, allocations: 187.7 kB / 0.6737 GB, free: 9.934 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.764/2.215, allocations: 4 kB / 0.6737 GB, free: 9.93 MB / 478.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Examples_WaterProperties.fmu > BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe 2>&1) Environment - environmentSimulation: