Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="IBPSA_latest_IBPSA_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.001447/0.001447, allocations: 105.5 kB / 16.41 MB, free: 6.469 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.001385/0.001385, allocations: 191.9 kB / 17.34 MB, free: 5.75 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.269/1.269, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7576/0.7576, allocations: 125.4 MB / 416.6 MB, free: 13.56 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001795/0.001795, allocations: 64.56 kB / 0.5717 GB, free: 27.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1307, allocations: 78.57 MB / 0.6484 GB, free: 5.609 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01517/0.1459, allocations: 12.97 MB / 0.6611 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002839/0.1488, allocations: 2.667 MB / 0.6637 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.992e-05/0.1489, allocations: 0 / 0.6637 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002576/0.1491, allocations: 51.67 kB / 0.6637 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002559/0.1494, allocations: 87.42 kB / 0.6638 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00118/0.1506, allocations: 0.4965 MB / 0.6643 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002781/0.1509, allocations: 247.8 kB / 0.6645 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.301e-05/0.151, allocations: 13.56 kB / 0.6646 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008138/0.1591, allocations: 3.575 MB / 0.668 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001803/0.1593, allocations: 87.61 kB / 0.6681 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.73e-05/0.1593, allocations: 8 kB / 0.6681 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0025/0.1618, allocations: 1.072 MB / 0.6692 GB, free: 264 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.52e-05/0.1619, allocations: 39.88 kB / 0.6692 GB, free: 224 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000105/0.162, allocations: 83.59 kB / 0.6693 GB, free: 140 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007067/0.1627, allocations: 370.8 kB / 0.6697 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.1628, allocations: 0 / 0.6697 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.754e-06/0.1628, allocations: 0 / 0.6697 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.972e-06/0.1628, allocations: 0 / 0.6697 GB, free: 15.77 MB / 0.5137 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.0007451/0.1635, allocations: 0.5025 MB / 0.6701 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.1636, allocations: 16.02 kB / 0.6702 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.163e-05/0.1636, allocations: 50.73 kB / 0.6702 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001523/0.1638, allocations: 24.84 kB / 0.6702 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003051/0.1641, allocations: 220.1 kB / 0.6704 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.1641, allocations: 8.703 kB / 0.6705 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.362e-05/0.1641, allocations: 20.31 kB / 0.6705 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003741/0.1645, allocations: 248 kB / 0.6707 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.1645, allocations: 4 kB / 0.6707 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.264e-05/0.1646, allocations: 8 kB / 0.6707 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.149e-05/0.1646, allocations: 8 kB / 0.6707 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005041/0.1651, allocations: 431.9 kB / 0.6711 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001108/0.1662, allocations: 0.9645 MB / 0.6721 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002787/0.1665, allocations: 159.6 kB / 0.6722 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.1666, allocations: 64.81 kB / 0.6723 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001438/0.1681, allocations: 1.837 MB / 0.6741 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/0.1681, allocations: 38.56 kB / 0.6741 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.453e-06/0.1681, allocations: 0 / 0.6741 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0003193/0.1685, allocations: 145.4 kB / 0.6743 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/0.1685, allocations: 55.41 kB / 0.6743 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001475/0.1687, allocations: 177.8 kB / 0.6745 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.561e-05/0.1687, allocations: 29.7 kB / 0.6745 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.368e-05/0.1688, allocations: 140.1 kB / 0.6747 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.867e-05/0.1688, allocations: 55.58 kB / 0.6747 GB, free: 9.984 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.141e-05/0.1689, allocations: 53.66 kB / 0.6748 GB, free: 9.926 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.169, allocations: 326.8 kB / 0.6751 GB, free: 9.598 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.851e-05/0.1691, allocations: 39.92 kB / 0.6751 GB, free: 9.559 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001469/0.1693, allocations: 145.7 kB / 0.6752 GB, free: 9.367 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000236/0.1695, allocations: 200.2 kB / 0.6754 GB, free: 9.125 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1695, allocations: 0 / 0.6754 GB, free: 9.125 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003196/0.1698, allocations: 221.2 kB / 0.6756 GB, free: 8.902 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.1699, allocations: 5.875 kB / 0.6757 GB, free: 8.898 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.1699, allocations: 4 kB / 0.6757 GB, free: 8.895 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.1699, allocations: 11.94 kB / 0.6757 GB, free: 8.883 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001635/0.1701, allocations: 55.91 kB / 0.6757 GB, free: 8.828 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.1701, allocations: 4 kB / 0.6757 GB, free: 8.824 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001077/0.1702, allocations: 23.84 kB / 0.6757 GB, free: 8.801 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.994e-05/0.1702, allocations: 12.38 kB / 0.6758 GB, free: 8.789 MB / 0.5137 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.0001108/0.1703, allocations: 137.7 kB / 0.6759 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.102e-05/0.1704, allocations: 27.81 kB / 0.6759 GB, free: 8.617 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00029/0.1707, allocations: 155 kB / 0.6761 GB, free: 8.465 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/0.1707, allocations: 3.938 kB / 0.6761 GB, free: 8.461 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.1707, allocations: 0 / 0.6761 GB, free: 8.461 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.1707, allocations: 0 / 0.6761 GB, free: 8.461 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002402/0.171, allocations: 221.5 kB / 0.6763 GB, free: 8.195 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.171, allocations: 0 / 0.6763 GB, free: 8.195 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.412e-05/0.1711, allocations: 23.92 kB / 0.6763 GB, free: 8.172 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.1711, allocations: 8 kB / 0.6763 GB, free: 8.164 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.1711, allocations: 4 kB / 0.6763 GB, free: 8.16 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.1711, allocations: 3.938 kB / 0.6763 GB, free: 8.156 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1711, allocations: 0 / 0.6763 GB, free: 8.156 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002414/0.1714, allocations: 218.6 kB / 0.6765 GB, free: 7.93 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.29e-05/0.1715, allocations: 120.8 kB / 0.6766 GB, free: 7.793 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.104e-05/0.1715, allocations: 0 / 0.6766 GB, free: 7.793 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001898/0.1717, allocations: 23.92 kB / 0.6767 GB, free: 7.77 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.599e-05/0.1717, allocations: 11.98 kB / 0.6767 GB, free: 7.758 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.156e-05/0.1717, allocations: 8 kB / 0.6767 GB, free: 7.75 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.861e-05/0.1718, allocations: 128.2 kB / 0.6768 GB, free: 7.625 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1718, allocations: 0 / 0.6768 GB, free: 7.625 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003576/0.1722, allocations: 75.88 kB / 0.6769 GB, free: 7.551 MB / 0.5137 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.0007012/0.1729, allocations: 0.8409 MB / 0.6777 GB, free: 6.684 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002239/0.1731, allocations: 120.1 kB / 0.6778 GB, free: 6.566 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1732, allocations: 0 / 0.6778 GB, free: 6.566 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 6.645e-05/0.1732, allocations: 43.92 kB / 0.6779 GB, free: 6.523 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004044/0.1736, allocations: 56.52 kB / 0.6779 GB, free: 6.469 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002127/0.1758, allocations: 2.048 MB / 0.6799 GB, free: 4.254 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003104/0.1761, allocations: 0.7168 MB / 0.6806 GB, free: 3.508 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001554/0.1763, allocations: 49.69 kB / 0.6807 GB, free: 3.453 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.181e-05/0.1763, allocations: 47.41 kB / 0.6807 GB, free: 3.406 MB / 0.5137 GB Notification: Performance of SimCode: time 2.11e-07/0.1763, allocations: 0 / 0.6807 GB, free: 3.406 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2911/0.4675, allocations: 5.49 MB / 0.6861 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.184/9.651, allocations: 2.188 kB / 0.6861 GB, free: 14.04 MB / 0.5294 GB (rm -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)