Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.234/1.234, allocations: 251.5 MB / 266.7 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008365/0.0008365, allocations: 175 kB / 325.8 MB, free: 2.703 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.264/1.264, allocations: 205 MB / 0.576 GB, free: 20.98 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006584/0.0006584, allocations: 90.52 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000266/0.0002661, allocations: 9.562 kB / 0.7933 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1394, allocations: 105.4 MB / 0.8962 GB, free: 68.09 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.009755/0.1492, allocations: 13.54 MB / 0.9094 GB, free: 54.48 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001569/0.1507, allocations: 2.644 MB / 0.912 GB, free: 51.83 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.039e-05/0.1508, allocations: 4 kB / 0.912 GB, free: 51.83 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001763/0.151, allocations: 43.73 kB / 0.912 GB, free: 51.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001519/0.1511, allocations: 87.48 kB / 0.9121 GB, free: 51.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005955/0.1517, allocations: 418.9 kB / 0.9125 GB, free: 51.29 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000157/0.1519, allocations: 303.8 kB / 0.9128 GB, free: 51 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.376e-05/0.1519, allocations: 13.56 kB / 0.9128 GB, free: 50.98 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004451/0.1564, allocations: 3.171 MB / 0.9159 GB, free: 47.79 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.923e-05/0.1565, allocations: 95.59 kB / 0.916 GB, free: 47.7 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.832e-05/0.1565, allocations: 8 kB / 0.916 GB, free: 47.69 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001291/0.1578, allocations: 0.9426 MB / 0.9169 GB, free: 46.75 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.723e-05/0.1579, allocations: 31.89 kB / 0.917 GB, free: 46.72 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.257e-05/0.1579, allocations: 83.53 kB / 0.9171 GB, free: 46.64 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003558/0.1583, allocations: 351.1 kB / 0.9174 GB, free: 46.29 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.1583, allocations: 3.938 kB / 0.9174 GB, free: 46.29 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1583, allocations: 0 / 0.9174 GB, free: 46.29 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.1583, allocations: 0 / 0.9174 GB, free: 46.29 MB / 0.6042 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.0004222/0.1587, allocations: 467.4 kB / 0.9178 GB, free: 45.79 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 2.869e-05/0.1588, allocations: 8.031 kB / 0.9179 GB, free: 45.78 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.485e-05/0.1588, allocations: 54.73 kB / 0.9179 GB, free: 45.71 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001252/0.1589, allocations: 20.75 kB / 0.9179 GB, free: 45.7 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.1591, allocations: 220 kB / 0.9181 GB, free: 45.44 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.1591, allocations: 12.7 kB / 0.9181 GB, free: 45.43 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.421e-05/0.1591, allocations: 12.38 kB / 0.9182 GB, free: 45.42 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002521/0.1594, allocations: 253.5 kB / 0.9184 GB, free: 45.15 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.1594, allocations: 0 / 0.9184 GB, free: 45.15 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.714e-05/0.1594, allocations: 11.98 kB / 0.9184 GB, free: 45.14 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.931e-05/0.1594, allocations: 8 kB / 0.9184 GB, free: 45.13 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003121/0.1597, allocations: 431.5 kB / 0.9188 GB, free: 44.71 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000678/0.1604, allocations: 1.004 MB / 0.9198 GB, free: 43.61 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001989/0.1606, allocations: 159 kB / 0.92 GB, free: 43.45 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.358e-05/0.1607, allocations: 64.88 kB / 0.92 GB, free: 43.38 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007047/0.1614, allocations: 1.829 MB / 0.9218 GB, free: 41.19 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.568e-05/0.1615, allocations: 38.56 kB / 0.9218 GB, free: 41.14 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 1.152e-06/0.1615, allocations: 4 kB / 0.9218 GB, free: 41.14 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.0002363/0.1617, allocations: 147.3 kB / 0.922 GB, free: 40.99 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.717e-05/0.1617, allocations: 59.39 kB / 0.922 GB, free: 40.92 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.171e-05/0.1618, allocations: 162.2 kB / 0.9222 GB, free: 40.76 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.1618, allocations: 33.7 kB / 0.9222 GB, free: 40.72 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.011e-05/0.1619, allocations: 139.8 kB / 0.9224 GB, free: 40.58 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.197e-05/0.1619, allocations: 55.2 kB / 0.9224 GB, free: 40.52 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.562e-05/0.1619, allocations: 29.7 kB / 0.9224 GB, free: 40.49 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.857e-05/0.162, allocations: 326.8 kB / 0.9228 GB, free: 40.16 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.992e-05/0.162, allocations: 31.98 kB / 0.9228 GB, free: 40.13 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.598e-05/0.1621, allocations: 137.7 kB / 0.9229 GB, free: 39.95 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001419/0.1623, allocations: 198.7 kB / 0.9231 GB, free: 39.7 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.1623, allocations: 8 kB / 0.9231 GB, free: 39.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002261/0.1625, allocations: 211.6 kB / 0.9233 GB, free: 39.48 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.678e-06/0.1625, allocations: 8 kB / 0.9233 GB, free: 39.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.1625, allocations: 4.469 kB / 0.9233 GB, free: 39.47 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.1626, allocations: 11.94 kB / 0.9233 GB, free: 39.46 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.1627, allocations: 55.84 kB / 0.9234 GB, free: 39.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.1627, allocations: 11.94 kB / 0.9234 GB, free: 39.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.03e-05/0.1628, allocations: 27.69 kB / 0.9234 GB, free: 39.37 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.298e-05/0.1628, allocations: 16 kB / 0.9234 GB, free: 39.35 MB / 0.6042 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 6.168e-05/0.1629, allocations: 133.7 kB / 0.9236 GB, free: 39.21 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.953e-05/0.1629, allocations: 11.91 kB / 0.9236 GB, free: 39.2 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000215/0.1631, allocations: 163 kB / 0.9237 GB, free: 39.04 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.273e-06/0.1632, allocations: 7.938 kB / 0.9238 GB, free: 39.03 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.1632, allocations: 4 kB / 0.9238 GB, free: 39.02 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.1632, allocations: 0 / 0.9238 GB, free: 39.02 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001475/0.1633, allocations: 213.5 kB / 0.924 GB, free: 38.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1633, allocations: 0 / 0.924 GB, free: 38.77 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.304e-05/0.1634, allocations: 27.98 kB / 0.924 GB, free: 38.74 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.1634, allocations: 0 / 0.924 GB, free: 38.74 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.1634, allocations: 4 kB / 0.924 GB, free: 38.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1634, allocations: 3.938 kB / 0.924 GB, free: 38.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1635, allocations: 0 / 0.924 GB, free: 38.73 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000154/0.1636, allocations: 223.1 kB / 0.9242 GB, free: 38.5 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.027e-05/0.1637, allocations: 112.8 kB / 0.9243 GB, free: 38.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.927e-05/0.1637, allocations: 8 kB / 0.9243 GB, free: 38.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001524/0.1638, allocations: 15.91 kB / 0.9243 GB, free: 38.34 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.729e-05/0.1639, allocations: 11.98 kB / 0.9243 GB, free: 38.33 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.619e-05/0.1639, allocations: 15.98 kB / 0.9244 GB, free: 38.32 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.881e-05/0.1639, allocations: 116.9 kB / 0.9245 GB, free: 38.2 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.11e-07/0.164, allocations: 4 kB / 0.9245 GB, free: 38.2 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002929/0.1643, allocations: 71.94 kB / 0.9245 GB, free: 38.13 MB / 0.6042 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.0004109/0.1647, allocations: 0.8356 MB / 0.9254 GB, free: 37.27 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001554/0.1648, allocations: 116.6 kB / 0.9255 GB, free: 37.16 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1648, allocations: 0 / 0.9255 GB, free: 37.16 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.877e-05/0.1649, allocations: 44.05 kB / 0.9255 GB, free: 37.11 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000354/0.1653, allocations: 58.14 kB / 0.9256 GB, free: 37.06 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/0.1666, allocations: 2.086 MB / 0.9276 GB, free: 34.8 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.683e-05/0.1667, allocations: 0.7128 MB / 0.9283 GB, free: 34.06 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001518/0.1669, allocations: 49.69 kB / 0.9284 GB, free: 34.01 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.895e-05/0.1669, allocations: 47.42 kB / 0.9284 GB, free: 33.96 MB / 0.6042 GB Notification: Performance of SimCode: time 2.21e-07/0.1669, allocations: 0 / 0.9284 GB, free: 33.96 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2815/0.4484, allocations: 5.067 MB / 0.9333 GB, free: 29.08 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001881/0.4486, allocations: 225.2 kB / 0.9336 GB, free: 28.82 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.66/2.108, allocations: 0 / 0.9336 GB, free: 28.82 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)