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.001077/0.001077, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 196.7 kB / 16.53 MB, free: 6.699 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.246/1.246, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002064/0.002064, allocations: 271 kB / 290.7 MB, free: 2.023 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8878/0.8878, allocations: 169.3 MB / 0.4982 GB, free: 13.97 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001732/0.001732, allocations: 102.1 kB / 0.5953 GB, free: 27.88 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1256, allocations: 86.97 MB / 0.6803 GB, free: 0.625 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01449/0.1401, allocations: 12.96 MB / 0.6929 GB, free: 3.621 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002418/0.1425, allocations: 2.663 MB / 0.6955 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.676e-05/0.1426, allocations: 4 kB / 0.6955 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002269/0.1429, allocations: 47.61 kB / 0.6956 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002489/0.1432, allocations: 99.36 kB / 0.6957 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001163/0.1443, allocations: 0.494 MB / 0.6962 GB, free: 316 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002028/0.1445, allocations: 235.9 kB / 0.6964 GB, free: 76 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.994e-05/0.1446, allocations: 13.56 kB / 0.6964 GB, free: 64 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007237/0.1518, allocations: 3.581 MB / 0.6999 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001261/0.152, allocations: 95.59 kB / 0.7 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.408e-05/0.152, allocations: 8 kB / 0.7 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002062/0.1541, allocations: 1.071 MB / 0.701 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.559e-05/0.1541, allocations: 39.89 kB / 0.7011 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.27e-05/0.1542, allocations: 79.64 kB / 0.7012 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005274/0.1547, allocations: 371 kB / 0.7015 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.1548, allocations: 0 / 0.7015 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1548, allocations: 0 / 0.7015 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.496e-06/0.1548, allocations: 0 / 0.7015 GB, free: 10.81 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.0006131/0.1554, allocations: 0.4992 MB / 0.702 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.1554, allocations: 8.031 kB / 0.702 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.014e-05/0.1555, allocations: 54.73 kB / 0.7021 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001501/0.1556, allocations: 28.73 kB / 0.7021 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001981/0.1559, allocations: 216.1 kB / 0.7023 GB, free: 9.914 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.1559, allocations: 12.64 kB / 0.7023 GB, free: 9.902 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.042e-05/0.1559, allocations: 16.38 kB / 0.7023 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003282/0.1562, allocations: 252.6 kB / 0.7026 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.1563, allocations: 0 / 0.7026 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.277e-05/0.1563, allocations: 12 kB / 0.7026 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.118e-05/0.1563, allocations: 4 kB / 0.7026 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004385/0.1568, allocations: 431.3 kB / 0.703 GB, free: 9.184 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009645/0.1577, allocations: 0.9644 MB / 0.7039 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002553/0.158, allocations: 163.5 kB / 0.7041 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.688e-05/0.1581, allocations: 66.17 kB / 0.7042 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001159/0.1593, allocations: 1.833 MB / 0.7059 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.1593, allocations: 34.56 kB / 0.706 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.122e-06/0.1593, allocations: 4 kB / 0.706 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0003104/0.1596, allocations: 147.8 kB / 0.7061 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.923e-05/0.1597, allocations: 55.39 kB / 0.7062 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.1598, allocations: 172 kB / 0.7063 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/0.1598, allocations: 33.7 kB / 0.7064 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.898e-05/0.1599, allocations: 139.8 kB / 0.7065 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.54e-05/0.16, allocations: 51.27 kB / 0.7066 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.165e-05/0.16, allocations: 57.59 kB / 0.7066 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.801e-05/0.1601, allocations: 326.8 kB / 0.7069 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.508e-05/0.1602, allocations: 39.97 kB / 0.707 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001184/0.1603, allocations: 137.7 kB / 0.7071 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002081/0.1605, allocations: 203.9 kB / 0.7073 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1605, allocations: 0 / 0.7073 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003026/0.1608, allocations: 217.2 kB / 0.7075 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.1609, allocations: 4 kB / 0.7075 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.1609, allocations: 4 kB / 0.7075 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.1609, allocations: 7.938 kB / 0.7075 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001608/0.1611, allocations: 59.92 kB / 0.7076 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.1611, allocations: 7.984 kB / 0.7076 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.1612, allocations: 27.69 kB / 0.7076 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.999e-05/0.1612, allocations: 12.41 kB / 0.7076 GB, free: 3.832 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 9.152e-05/0.1613, allocations: 141.7 kB / 0.7077 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.112e-05/0.1614, allocations: 15.81 kB / 0.7078 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002785/0.1616, allocations: 154.9 kB / 0.7079 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.1617, allocations: 3.938 kB / 0.7079 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1617, allocations: 3.984 kB / 0.7079 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1617, allocations: 0 / 0.7079 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002089/0.1619, allocations: 213.5 kB / 0.7081 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.1619, allocations: 0 / 0.7081 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.398e-05/0.162, allocations: 31.92 kB / 0.7081 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.162, allocations: 0 / 0.7081 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/0.162, allocations: 8 kB / 0.7082 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.162, allocations: 3.938 kB / 0.7082 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.162, allocations: 3.984 kB / 0.7082 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002302/0.1623, allocations: 224.6 kB / 0.7084 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.043e-05/0.1623, allocations: 108.9 kB / 0.7085 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.372e-05/0.1624, allocations: 0 / 0.7085 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001953/0.1626, allocations: 23.92 kB / 0.7085 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.059e-05/0.1626, allocations: 4 kB / 0.7085 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.191e-05/0.1626, allocations: 15.98 kB / 0.7085 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.857e-05/0.1627, allocations: 120 kB / 0.7086 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1627, allocations: 0 / 0.7086 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003645/0.1631, allocations: 75.89 kB / 0.7087 GB, free: 2.609 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.0005969/0.1637, allocations: 0.8424 MB / 0.7095 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002332/0.1639, allocations: 123.7 kB / 0.7096 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.164, allocations: 4 kB / 0.7097 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.583e-05/0.164, allocations: 50.02 kB / 0.7097 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004137/0.1644, allocations: 61.52 kB / 0.7098 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00182/0.1663, allocations: 2.024 MB / 0.7117 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002038/0.1665, allocations: 0.7129 MB / 0.7124 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001676/0.1667, allocations: 53.11 kB / 0.7125 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.066e-05/0.1667, allocations: 47.42 kB / 0.7125 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.1667, allocations: 0 / 0.7125 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01955/0.1863, allocations: 5.458 MB / 0.7179 GB, free: 9.195 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.241/7.427, allocations: 8 kB / 0.7179 GB, free: 9.188 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)