Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.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.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_WaterProperties_pT",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.0008836/0.0008836, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.005511/0.005511, allocations: 171.5 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.237/1.237, allocations: 223.2 MB / 240.3 MB, free: 5.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001668/0.001668, allocations: 274.6 kB / 291.7 MB, free: 1.762 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8873/0.8873, allocations: 169.5 MB / 0.5004 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004276/0.0004278, allocations: 15.67 kB / 0.5988 GB, free: 28.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.137, allocations: 88.55 MB / 0.6852 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01478/0.1518, allocations: 13.35 MB / 0.6983 GB, free: 1.59 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002659/0.1545, allocations: 2.644 MB / 0.7009 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.715e-05/0.1546, allocations: 4 kB / 0.7009 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002203/0.1548, allocations: 39.73 kB / 0.7009 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002367/0.1551, allocations: 91.48 kB / 0.701 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001093/0.1562, allocations: 461 kB / 0.7014 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002882/0.1565, allocations: 303.8 kB / 0.7017 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.906e-05/0.1565, allocations: 13.55 kB / 0.7017 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006566/0.1631, allocations: 3.15 MB / 0.7048 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002046/0.1633, allocations: 91.61 kB / 0.7049 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.439e-05/0.1634, allocations: 12 kB / 0.7049 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002246/0.1656, allocations: 0.9772 MB / 0.7059 GB, free: 9.793 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.915e-05/0.1657, allocations: 39.89 kB / 0.7059 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001113/0.1658, allocations: 113.3 kB / 0.706 GB, free: 9.637 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006872/0.1665, allocations: 367 kB / 0.7064 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.1665, allocations: 0 / 0.7064 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.462e-06/0.1665, allocations: 0 / 0.7064 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.128e-06/0.1665, allocations: 4 kB / 0.7064 GB, free: 9.273 MB / 0.4981 GB 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.000657/0.1672, allocations: 467.2 kB / 0.7068 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.1672, allocations: 8.031 kB / 0.7068 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.548e-05/0.1673, allocations: 58.72 kB / 0.7069 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001514/0.1675, allocations: 28.73 kB / 0.7069 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002071/0.1677, allocations: 212.1 kB / 0.7071 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.1677, allocations: 12.7 kB / 0.7071 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.108e-05/0.1677, allocations: 12.38 kB / 0.7071 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003385/0.1681, allocations: 248.7 kB / 0.7074 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.1681, allocations: 3.938 kB / 0.7074 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.279e-05/0.1681, allocations: 12 kB / 0.7074 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.388e-05/0.1682, allocations: 8 kB / 0.7074 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004495/0.1686, allocations: 431.3 kB / 0.7078 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001038/0.1697, allocations: 0.9566 MB / 0.7087 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002539/0.1699, allocations: 161.8 kB / 0.7089 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.763e-05/0.17, allocations: 70.12 kB / 0.7089 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001244/0.1713, allocations: 1.844 MB / 0.7107 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.1713, allocations: 34.56 kB / 0.7108 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.282e-06/0.1713, allocations: 0 / 0.7108 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0002971/0.1716, allocations: 137.5 kB / 0.7109 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.35e-05/0.1717, allocations: 59.34 kB / 0.711 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.1718, allocations: 168.9 kB / 0.7111 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.57e-05/0.1719, allocations: 37.7 kB / 0.7112 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.934e-05/0.1719, allocations: 143.8 kB / 0.7113 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.229e-05/0.172, allocations: 51.2 kB / 0.7113 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.56e-05/0.172, allocations: 29.7 kB / 0.7114 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.624e-05/0.1721, allocations: 326.8 kB / 0.7117 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.767e-05/0.1722, allocations: 31.98 kB / 0.7117 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001141/0.1723, allocations: 139 kB / 0.7119 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002059/0.1725, allocations: 203.7 kB / 0.712 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1725, allocations: 3.938 kB / 0.7121 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002987/0.1728, allocations: 213.3 kB / 0.7123 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.1729, allocations: 4 kB / 0.7123 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.1729, allocations: 4 kB / 0.7123 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.1729, allocations: 7.938 kB / 0.7123 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000171/0.1731, allocations: 59.91 kB / 0.7123 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.1731, allocations: 11.92 kB / 0.7123 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000109/0.1732, allocations: 27.69 kB / 0.7124 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.018e-05/0.1732, allocations: 16.38 kB / 0.7124 GB, free: 2.367 MB / 0.4981 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001018/0.1733, allocations: 137.8 kB / 0.7125 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.055e-05/0.1734, allocations: 15.81 kB / 0.7125 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000271/0.1737, allocations: 153.1 kB / 0.7127 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/0.1737, allocations: 7.875 kB / 0.7127 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.1737, allocations: 0 / 0.7127 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.1737, allocations: 4 kB / 0.7127 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002263/0.1739, allocations: 221.4 kB / 0.7129 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1739, allocations: 4 kB / 0.7129 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.119e-05/0.174, allocations: 27.92 kB / 0.7129 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.174, allocations: 0 / 0.7129 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.1741, allocations: 4 kB / 0.7129 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.656e-06/0.1741, allocations: 3.938 kB / 0.7129 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.1741, allocations: 4 kB / 0.7129 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002099/0.1743, allocations: 215.3 kB / 0.7131 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.644e-05/0.1744, allocations: 104.9 kB / 0.7132 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.249e-05/0.1744, allocations: 7.938 kB / 0.7132 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002057/0.1746, allocations: 27.92 kB / 0.7133 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.136e-05/0.1746, allocations: 11.98 kB / 0.7133 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.866e-05/0.1747, allocations: 7.984 kB / 0.7133 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.105e-05/0.1748, allocations: 123.2 kB / 0.7134 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.91e-07/0.1748, allocations: 0 / 0.7134 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003734/0.1751, allocations: 91.81 kB / 0.7135 GB, free: 1.129 MB / 0.4981 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006618/0.1758, allocations: 0.8262 MB / 0.7143 GB, free: 284 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001939/0.176, allocations: 113 kB / 0.7144 GB, free: 172 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.176, allocations: 0 / 0.7144 GB, free: 172 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.917e-05/0.1761, allocations: 47.91 kB / 0.7145 GB, free: 124 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004272/0.1765, allocations: 58.67 kB / 0.7145 GB, free: 68 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00196/0.1785, allocations: 2.13 MB / 0.7166 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002482/0.1788, allocations: 0.7131 MB / 0.7173 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001759/0.1789, allocations: 56.67 kB / 0.7173 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.358e-05/0.179, allocations: 43.42 kB / 0.7174 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of SimCode: time 3.71e-07/0.179, allocations: 4 kB / 0.7174 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01487/0.1939, allocations: 5.166 MB / 0.7224 GB, free: 7.984 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001729/0.1941, allocations: 221.4 kB / 0.7226 GB, free: 7.734 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.707/1.902, allocations: 0 / 0.7226 GB, free: 7.734 MB / 0.5137 GB (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)