Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.529/1.529, allocations: 287.4 MB / 302.6 MB, free: 8.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001091/0.001091, allocations: 185.6 kB / 371.1 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.161/1.161, allocations: 205.4 MB / 0.6298 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006666/0.0006667, allocations: 95.36 kB / 0.7431 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00032/0.0003201, allocations: 11.67 kB / 0.8662 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1407, allocations: 115.3 MB / 0.9787 GB, free: 28.11 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.009201/0.15, allocations: 11.99 MB / 0.9904 GB, free: 16.07 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001608/0.1516, allocations: 2.436 MB / 0.9928 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.108e-05/0.1517, allocations: 0 / 0.9928 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001757/0.1519, allocations: 39.8 kB / 0.9929 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001831/0.1521, allocations: 83.48 kB / 0.9929 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007815/0.1529, allocations: 392.4 kB / 0.9933 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001808/0.1531, allocations: 263.9 kB / 0.9936 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.813e-05/0.1531, allocations: 9.562 kB / 0.9936 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005836/0.159, allocations: 4.371 MB / 0.9978 GB, free: 8.484 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.392e-05/0.1591, allocations: 87.66 kB / 0.9979 GB, free: 8.398 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.936e-05/0.1591, allocations: 8 kB / 0.9979 GB, free: 8.391 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001514/0.1606, allocations: 0.9272 MB / 0.9988 GB, free: 7.469 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.027e-05/0.1607, allocations: 35.89 kB / 0.9989 GB, free: 7.434 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.819e-05/0.1607, allocations: 57.58 kB / 0.9989 GB, free: 7.371 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002199/0.1609, allocations: 223.4 kB / 0.9991 GB, free: 7.152 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.161, allocations: 0 / 0.9991 GB, free: 7.152 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.082e-06/0.161, allocations: 0 / 0.9991 GB, free: 7.152 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.517e-06/0.161, allocations: 4 kB / 0.9991 GB, free: 7.148 MB / 0.6198 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.0004363/0.1614, allocations: 471.3 kB / 0.9996 GB, free: 6.641 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 2.885e-05/0.1614, allocations: 12.03 kB / 0.9996 GB, free: 6.629 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.414e-05/0.1615, allocations: 50.73 kB / 0.9997 GB, free: 6.57 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001094/0.1616, allocations: 20.75 kB / 0.9997 GB, free: 6.551 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.1617, allocations: 216.1 kB / 0.9999 GB, free: 6.301 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.435e-06/0.1618, allocations: 8.703 kB / 0.9999 GB, free: 6.293 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.851e-05/0.1618, allocations: 20.31 kB / 0.9999 GB, free: 6.273 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002612/0.162, allocations: 251.9 kB / 1 GB, free: 6.008 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/0.1621, allocations: 0 / 1 GB, free: 6.008 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.826e-05/0.1621, allocations: 8 kB / 1 GB, free: 6 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.854e-05/0.1621, allocations: 7.984 kB / 1 GB, free: 5.992 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003129/0.1624, allocations: 427.5 kB / 1.001 GB, free: 5.574 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000707/0.1631, allocations: 0.9566 MB / 1.002 GB, free: 4.527 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001818/0.1633, allocations: 156.3 kB / 1.002 GB, free: 4.367 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.986e-05/0.1634, allocations: 60.89 kB / 1.002 GB, free: 4.305 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007232/0.1641, allocations: 1.84 MB / 1.004 GB, free: 2.105 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.673e-05/0.1642, allocations: 34.56 kB / 1.004 GB, free: 2.062 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 1.312e-06/0.1642, allocations: 0 / 1.004 GB, free: 2.062 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.0002217/0.1644, allocations: 151.6 kB / 1.004 GB, free: 1.91 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.905e-05/0.1644, allocations: 55.41 kB / 1.004 GB, free: 1.844 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.577e-05/0.1645, allocations: 168.9 kB / 1.004 GB, free: 1.672 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.228e-05/0.1645, allocations: 25.7 kB / 1.004 GB, free: 1.641 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.914e-05/0.1646, allocations: 143.8 kB / 1.004 GB, free: 1.496 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.18e-05/0.1646, allocations: 55.2 kB / 1.004 GB, free: 1.441 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.292e-06/0.1646, allocations: 4 kB / 1.004 GB, free: 1.438 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.401e-05/0.1647, allocations: 322.8 kB / 1.004 GB, free: 1.113 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.856e-05/0.1647, allocations: 39.97 kB / 1.004 GB, free: 1.074 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.198e-05/0.1648, allocations: 142.2 kB / 1.005 GB, free: 0.8867 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000137/0.1649, allocations: 197.5 kB / 1.005 GB, free: 0.6445 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1649, allocations: 0 / 1.005 GB, free: 0.6445 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002197/0.1652, allocations: 214 kB / 1.005 GB, free: 440 kB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.868e-06/0.1652, allocations: 4 kB / 1.005 GB, free: 436 kB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1652, allocations: 4 kB / 1.005 GB, free: 432 kB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.1652, allocations: 8.406 kB / 1.005 GB, free: 424 kB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.1653, allocations: 59.91 kB / 1.005 GB, free: 364 kB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.1654, allocations: 7.938 kB / 1.005 GB, free: 356 kB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.536e-05/0.1655, allocations: 27.69 kB / 1.005 GB, free: 328 kB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.1655, allocations: 16 kB / 1.005 GB, free: 312 kB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.103e-05/0.1655, allocations: 129.8 kB / 1.005 GB, free: 172 kB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.41e-05/0.1656, allocations: 15.81 kB / 1.005 GB, free: 156 kB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002302/0.1658, allocations: 159.8 kB / 1.005 GB, free: 15.99 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/0.1658, allocations: 7.938 kB / 1.005 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.1658, allocations: 7.875 kB / 1.005 GB, free: 15.97 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.1659, allocations: 0 / 1.005 GB, free: 15.97 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002051/0.1661, allocations: 225.4 kB / 1.006 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.1661, allocations: 0 / 1.006 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.982e-05/0.1662, allocations: 24 kB / 1.006 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1662, allocations: 0 / 1.006 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.1662, allocations: 7.984 kB / 1.006 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.1662, allocations: 3.938 kB / 1.006 GB, free: 15.67 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1662, allocations: 0 / 1.006 GB, free: 15.67 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001887/0.1664, allocations: 224.3 kB / 1.006 GB, free: 15.44 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.975e-05/0.1665, allocations: 105 kB / 1.006 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.128e-05/0.1665, allocations: 8 kB / 1.006 GB, free: 15.31 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001626/0.1667, allocations: 7.938 kB / 1.006 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.155e-05/0.1667, allocations: 11.98 kB / 1.006 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.479e-05/0.1667, allocations: 19.97 kB / 1.006 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.634e-05/0.1668, allocations: 116.2 kB / 1.006 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1668, allocations: 4 kB / 1.006 GB, free: 15.15 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003004/0.1671, allocations: 75.94 kB / 1.006 GB, free: 15.08 MB / 0.6355 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 (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.0004966/0.1676, allocations: 0.8203 MB / 1.007 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001732/0.1678, allocations: 115.8 kB / 1.007 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1678, allocations: 0 / 1.007 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.46e-05/0.1679, allocations: 43.92 kB / 1.007 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003872/0.1683, allocations: 60.77 kB / 1.007 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001138/0.1694, allocations: 1.001 MB / 1.008 GB, free: 12.93 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001945/0.1696, allocations: 0.717 MB / 1.009 GB, free: 12.19 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001653/0.1698, allocations: 45.75 kB / 1.009 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.67e-05/0.1698, allocations: 43.42 kB / 1.009 GB, free: 12.1 MB / 0.6355 GB Notification: Performance of SimCode: time 2.3e-07/0.1698, allocations: 3.938 kB / 1.009 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4812/0.6511, allocations: 4.948 MB / 1.014 GB, free: 7.309 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002061/0.6513, allocations: 210.6 kB / 1.014 GB, free: 7.066 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.709/3.361, allocations: 0 / 1.014 GB, free: 7.066 MB / 0.6355 GB (rm -f Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)