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: translateModel(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT") translateModel(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000808/0.000808, allocations: 91.53 kB / 15.06 MB, free: 1.098 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.001043/0.001043, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 223.3 MB / 240 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001826/0.001826, allocations: 271 kB / 291.3 MB, free: 1.863 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9468/0.9468, allocations: 169.5 MB / 0.5 GB, free: 14.22 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003995/0.0003995, allocations: 16.09 kB / 0.598 GB, free: 28.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1349, allocations: 88.55 MB / 0.6845 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.0127/0.1476, allocations: 11.99 MB / 0.6962 GB, free: 3.445 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002438/0.1501, allocations: 2.467 MB / 0.6986 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.39e-05/0.1502, allocations: 0 / 0.6986 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002029/0.1504, allocations: 47.78 kB / 0.6986 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002105/0.1506, allocations: 75.5 kB / 0.6987 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008993/0.1515, allocations: 416.3 kB / 0.6991 GB, free: 460 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002456/0.1518, allocations: 267.8 kB / 0.6994 GB, free: 188 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.057e-05/0.1518, allocations: 13.56 kB / 0.6994 GB, free: 176 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007787/0.1596, allocations: 4.364 MB / 0.7036 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000157/0.1598, allocations: 95.64 kB / 0.7037 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.306e-05/0.1598, allocations: 4 kB / 0.7037 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002169/0.162, allocations: 0.9438 MB / 0.7047 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.546e-05/0.1621, allocations: 35.88 kB / 0.7047 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.746e-05/0.1621, allocations: 57.64 kB / 0.7047 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003618/0.1625, allocations: 231.3 kB / 0.705 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1625, allocations: 0 / 0.705 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.403e-06/0.1625, allocations: 0 / 0.705 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.236e-06/0.1625, allocations: 0 / 0.705 GB, free: 10.44 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.0006088/0.1631, allocations: 471 kB / 0.7054 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.1632, allocations: 8.031 kB / 0.7054 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001481/0.1633, allocations: 23.83 kB / 0.7054 GB, free: 9.902 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002024/0.1635, allocations: 226.8 kB / 0.7057 GB, free: 9.641 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.1636, allocations: 8.328 kB / 0.7057 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.241e-05/0.1636, allocations: 16 kB / 0.7057 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003467/0.1639, allocations: 240.8 kB / 0.7059 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.164, allocations: 0 / 0.7059 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.517e-05/0.164, allocations: 11.95 kB / 0.7059 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.219e-05/0.164, allocations: 7.938 kB / 0.7059 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004574/0.1645, allocations: 435.3 kB / 0.7064 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001034/0.1655, allocations: 0.9683 MB / 0.7073 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000245/0.1658, allocations: 158.2 kB / 0.7074 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/0.1659, allocations: 58.2 kB / 0.7075 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001229/0.1671, allocations: 1.848 MB / 0.7093 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.1672, allocations: 34.56 kB / 0.7093 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.824e-06/0.1672, allocations: 0 / 0.7093 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0002997/0.1675, allocations: 143.5 kB / 0.7095 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.011e-05/0.1675, allocations: 51.41 kB / 0.7095 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.1677, allocations: 168.9 kB / 0.7097 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.1677, allocations: 29.7 kB / 0.7097 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.133e-05/0.1678, allocations: 143.8 kB / 0.7099 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.264e-05/0.1678, allocations: 59.28 kB / 0.7099 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.007e-06/0.1678, allocations: 7.938 kB / 0.7099 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.78e-05/0.1679, allocations: 326.8 kB / 0.7102 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.299e-05/0.168, allocations: 31.98 kB / 0.7103 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001209/0.1681, allocations: 139 kB / 0.7104 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.099e-05/0.1682, allocations: 55.94 kB / 0.7104 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1682, allocations: 0 / 0.7104 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003083/0.1685, allocations: 223.3 kB / 0.7107 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.1686, allocations: 4 kB / 0.7107 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.1686, allocations: 4 kB / 0.7107 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.1686, allocations: 8 kB / 0.7107 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001713/0.1688, allocations: 47.92 kB / 0.7107 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.1688, allocations: 7.938 kB / 0.7107 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001125/0.1689, allocations: 31.67 kB / 0.7108 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.26e-05/0.1689, allocations: 16.31 kB / 0.7108 GB, free: 3.824 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.267e-05/0.169, allocations: 137.7 kB / 0.7109 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.227e-05/0.1691, allocations: 15.81 kB / 0.7109 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002969/0.1694, allocations: 153.9 kB / 0.7111 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.139e-05/0.1694, allocations: 7.922 kB / 0.7111 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.1694, allocations: 0 / 0.7111 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.1694, allocations: 0 / 0.7111 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002285/0.1697, allocations: 221.4 kB / 0.7113 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1697, allocations: 4 kB / 0.7113 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.065e-05/0.1698, allocations: 27.98 kB / 0.7113 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.1698, allocations: 4 kB / 0.7113 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.1698, allocations: 0 / 0.7113 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.1698, allocations: 3.984 kB / 0.7113 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1698, allocations: 0 / 0.7113 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002164/0.17, allocations: 220.3 kB / 0.7115 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.375e-05/0.1701, allocations: 112.9 kB / 0.7116 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.428e-05/0.1701, allocations: 4 kB / 0.7116 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000196/0.1704, allocations: 19.98 kB / 0.7117 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.333e-05/0.1704, allocations: 11.98 kB / 0.7117 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.193e-05/0.1704, allocations: 12 kB / 0.7117 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.185e-05/0.1705, allocations: 123.2 kB / 0.7118 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1705, allocations: 0 / 0.7118 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003805/0.1709, allocations: 83.83 kB / 0.7119 GB, free: 2.598 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 (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.0002393/0.1711, allocations: 175.2 kB / 0.7121 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002136/0.1714, allocations: 125.8 kB / 0.7122 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1714, allocations: 0 / 0.7122 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.038e-05/0.1714, allocations: 47.91 kB / 0.7122 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000451/0.1719, allocations: 48.66 kB / 0.7123 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006337/0.1725, allocations: 429.7 kB / 0.7127 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002322/0.1728, allocations: 0.7094 MB / 0.7134 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001874/0.173, allocations: 53.69 kB / 0.7134 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.915e-05/0.173, allocations: 23.42 kB / 0.7134 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.173, allocations: 0 / 0.7134 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of Templates: time 0.006441/0.1795, allocations: 3.416 MB / 0.7168 GB, free: 13.58 MB / 0.5137 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.makefile (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 & ./BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)