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.001293/0.001294, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00134/0.00134, allocations: 199.2 kB / 16.14 MB, free: 6.715 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.252/1.252, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001947/0.001947, allocations: 291 kB / 290.2 MB, free: 2.23 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8849/0.8849, allocations: 169.2 MB / 0.4977 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001568/0.001568, allocations: 88.92 kB / 0.5946 GB, free: 28.49 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1344, allocations: 86.98 MB / 0.6795 GB, free: 1.055 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01474/0.1492, allocations: 13.85 MB / 0.6931 GB, free: 3.16 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002453/0.1517, allocations: 2.695 MB / 0.6957 GB, free: 468 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.339e-05/0.1517, allocations: 3.938 kB / 0.6957 GB, free: 464 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002393/0.152, allocations: 39.8 kB / 0.6957 GB, free: 424 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001999/0.1522, allocations: 91.48 kB / 0.6958 GB, free: 332 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008531/0.1531, allocations: 455.2 kB / 0.6963 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002437/0.1533, allocations: 307.8 kB / 0.6966 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.709e-05/0.1534, allocations: 17.55 kB / 0.6966 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006443/0.1598, allocations: 3.146 MB / 0.6997 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001123/0.1599, allocations: 95.59 kB / 0.6997 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.404e-05/0.16, allocations: 8 kB / 0.6998 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001871/0.1619, allocations: 0.9778 MB / 0.7007 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.278e-05/0.1619, allocations: 43.83 kB / 0.7007 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.662e-05/0.162, allocations: 75.66 kB / 0.7008 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004912/0.1625, allocations: 379 kB / 0.7012 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1625, allocations: 0 / 0.7012 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of FrontEnd: time 7.21e-07/0.1625, allocations: 0 / 0.7012 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.988e-06/0.1625, allocations: 0 / 0.7012 GB, free: 10.83 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.0006097/0.1631, allocations: 0.4933 MB / 0.7017 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/0.1632, allocations: 8.031 kB / 0.7017 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.972e-05/0.1632, allocations: 54.73 kB / 0.7017 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001517/0.1634, allocations: 28.73 kB / 0.7018 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00018/0.1636, allocations: 220 kB / 0.702 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.1636, allocations: 12.7 kB / 0.702 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.953e-05/0.1636, allocations: 12.38 kB / 0.702 GB, free: 9.918 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003317/0.164, allocations: 256.6 kB / 0.7022 GB, free: 9.648 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.164, allocations: 4 kB / 0.7022 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.117e-05/0.164, allocations: 8 kB / 0.7022 GB, free: 9.637 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.217e-05/0.164, allocations: 4 kB / 0.7022 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004365/0.1645, allocations: 431.3 kB / 0.7027 GB, free: 9.211 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009569/0.1654, allocations: 0.9606 MB / 0.7036 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000258/0.1657, allocations: 161.8 kB / 0.7037 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.248e-05/0.1658, allocations: 70.19 kB / 0.7038 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001136/0.167, allocations: 1.833 MB / 0.7056 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.167, allocations: 38.56 kB / 0.7056 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.162e-06/0.167, allocations: 0 / 0.7056 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.000297/0.1673, allocations: 155.8 kB / 0.7058 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.897e-05/0.1673, allocations: 51.41 kB / 0.7058 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.1675, allocations: 165 kB / 0.706 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.413e-05/0.1675, allocations: 29.7 kB / 0.706 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.984e-05/0.1676, allocations: 143.8 kB / 0.7062 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.5e-05/0.1676, allocations: 59.19 kB / 0.7062 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.26e-05/0.1677, allocations: 53.61 kB / 0.7063 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.04e-05/0.1678, allocations: 318.8 kB / 0.7066 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.373e-05/0.1678, allocations: 39.97 kB / 0.7066 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001228/0.168, allocations: 143.5 kB / 0.7067 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002093/0.1682, allocations: 193.5 kB / 0.7069 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1682, allocations: 3.938 kB / 0.7069 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003024/0.1685, allocations: 219.3 kB / 0.7071 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.1685, allocations: 8 kB / 0.7072 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.1685, allocations: 4 kB / 0.7072 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.1685, allocations: 7.938 kB / 0.7072 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000157/0.1687, allocations: 51.92 kB / 0.7072 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/0.1687, allocations: 15.91 kB / 0.7072 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001132/0.1688, allocations: 32.09 kB / 0.7073 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.66e-05/0.1689, allocations: 16 kB / 0.7073 GB, free: 3.855 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 8.642e-05/0.169, allocations: 125.8 kB / 0.7074 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.988e-05/0.169, allocations: 19.81 kB / 0.7074 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002783/0.1693, allocations: 155 kB / 0.7076 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/0.1693, allocations: 7.938 kB / 0.7076 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.1693, allocations: 0 / 0.7076 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.1693, allocations: 3.938 kB / 0.7076 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002143/0.1696, allocations: 221.4 kB / 0.7078 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.1696, allocations: 4 kB / 0.7078 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.474e-05/0.1697, allocations: 20 kB / 0.7078 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.1697, allocations: 0 / 0.7078 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.1697, allocations: 15.92 kB / 0.7078 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.1697, allocations: 3.938 kB / 0.7078 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.1697, allocations: 0 / 0.7078 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002161/0.1699, allocations: 213 kB / 0.708 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.033e-05/0.17, allocations: 116.9 kB / 0.7081 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.252e-05/0.17, allocations: 4 kB / 0.7081 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001949/0.1702, allocations: 19.92 kB / 0.7082 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.019e-05/0.1703, allocations: 7.984 kB / 0.7082 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.147e-05/0.1703, allocations: 16 kB / 0.7082 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.601e-05/0.1704, allocations: 123.2 kB / 0.7083 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1704, allocations: 0 / 0.7083 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003496/0.1707, allocations: 87.83 kB / 0.7084 GB, free: 2.625 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.0006348/0.1714, allocations: 0.8332 MB / 0.7092 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001943/0.1716, allocations: 118 kB / 0.7093 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.1716, allocations: 0 / 0.7093 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.242e-05/0.1717, allocations: 43.97 kB / 0.7094 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004143/0.1721, allocations: 56.84 kB / 0.7094 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001955/0.174, allocations: 2.081 MB / 0.7114 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003035/0.1744, allocations: 0.7131 MB / 0.7121 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001766/0.1745, allocations: 60.67 kB / 0.7122 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.477e-05/0.1746, allocations: 43.42 kB / 0.7122 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of SimCode: time 2.31e-07/0.1746, allocations: 0 / 0.7122 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01479/0.1894, allocations: 5.229 MB / 0.7173 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001669/0.1896, allocations: 229 kB / 0.7176 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.766/1.955, allocations: 0 / 0.7176 GB, free: 9.164 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)