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.001072/0.001072, allocations: 103.8 kB / 16.35 MB, free: 5.875 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.001184/0.001184, allocations: 194.4 kB / 17.3 MB, free: 5.516 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.261/1.261, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00211/0.00211, allocations: 294.1 kB / 291.4 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8993/0.8993, allocations: 169.3 MB / 0.4989 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001789/0.001789, allocations: 99.41 kB / 0.5967 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1544, allocations: 86.97 MB / 0.6816 GB, free: 7.484 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.2794/0.4338, allocations: 12.97 MB / 0.6942 GB, free: 12.08 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002425/0.4363, allocations: 2.666 MB / 0.6969 GB, free: 10.59 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001447/0.4365, allocations: 5.75 kB / 0.6969 GB, free: 10.59 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002687/0.4368, allocations: 45.73 kB / 0.6969 GB, free: 10.57 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003068/0.4371, allocations: 92.25 kB / 0.697 GB, free: 10.52 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001316/0.4384, allocations: 0.5053 MB / 0.6975 GB, free: 10.32 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003058/0.4388, allocations: 231.5 kB / 0.6977 GB, free: 10.25 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.827e-05/0.4388, allocations: 10.19 kB / 0.6977 GB, free: 10.25 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008889/0.4477, allocations: 3.588 MB / 0.7012 GB, free: 9.141 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001845/0.4479, allocations: 92.55 kB / 0.7013 GB, free: 9.102 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.368e-05/0.4479, allocations: 7.844 kB / 0.7013 GB, free: 9.102 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002639/0.4506, allocations: 1.072 MB / 0.7024 GB, free: 8.711 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.968e-05/0.4506, allocations: 35.11 kB / 0.7024 GB, free: 8.695 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.382e-05/0.4508, allocations: 89.78 kB / 0.7025 GB, free: 8.648 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006913/0.4514, allocations: 364.8 kB / 0.7028 GB, free: 8.527 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.4515, allocations: 0 / 0.7028 GB, free: 8.527 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.4515, allocations: 1.188 kB / 0.7028 GB, free: 8.527 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.4515, allocations: 0 / 0.7028 GB, free: 8.527 MB / 494.1 MB 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.000619/0.4521, allocations: 0.5041 MB / 0.7033 GB, free: 8.074 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.4521, allocations: 9.312 kB / 0.7033 GB, free: 8.074 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001649/0.4523, allocations: 22.56 kB / 0.7034 GB, free: 8.066 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002229/0.4525, allocations: 221.1 kB / 0.7036 GB, free: 7.844 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.4526, allocations: 11.98 kB / 0.7036 GB, free: 7.84 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.379e-05/0.4526, allocations: 15.3 kB / 0.7036 GB, free: 7.836 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003418/0.4529, allocations: 250.5 kB / 0.7038 GB, free: 7.695 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.453, allocations: 0 / 0.7038 GB, free: 7.695 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.203e-05/0.453, allocations: 7.125 kB / 0.7038 GB, free: 7.691 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.415e-05/0.453, allocations: 6.078 kB / 0.7038 GB, free: 7.691 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005071/0.4535, allocations: 434.1 kB / 0.7043 GB, free: 7.609 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009221/0.4545, allocations: 0.962 MB / 0.7052 GB, free: 6.762 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002651/0.4547, allocations: 156.7 kB / 0.7053 GB, free: 6.703 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.525e-05/0.4548, allocations: 68.73 kB / 0.7054 GB, free: 6.676 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008919/0.4557, allocations: 1.833 MB / 0.7072 GB, free: 4.637 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.676e-05/0.4558, allocations: 45.12 kB / 0.7072 GB, free: 4.586 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 1.263e-06/0.4558, allocations: 0 / 0.7072 GB, free: 4.586 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003168/0.4561, allocations: 135.1 kB / 0.7074 GB, free: 4.527 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.348e-05/0.4561, allocations: 57.73 kB / 0.7074 GB, free: 4.461 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.4563, allocations: 175.9 kB / 0.7076 GB, free: 4.332 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.4563, allocations: 35.89 kB / 0.7076 GB, free: 4.293 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.265e-05/0.4563, allocations: 141.6 kB / 0.7078 GB, free: 4.164 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.727e-05/0.4564, allocations: 55.2 kB / 0.7078 GB, free: 4.121 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.84e-05/0.4564, allocations: 49.02 kB / 0.7079 GB, free: 4.09 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.804e-05/0.4565, allocations: 327 kB / 0.7082 GB, free: 3.77 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.736e-05/0.4566, allocations: 35.23 kB / 0.7082 GB, free: 3.762 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001035/0.4567, allocations: 143 kB / 0.7083 GB, free: 3.613 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001875/0.4569, allocations: 201.1 kB / 0.7085 GB, free: 3.434 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.4569, allocations: 0.875 kB / 0.7085 GB, free: 3.434 MB / 494.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003077/0.4572, allocations: 217 kB / 0.7087 GB, free: 3.332 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.4572, allocations: 6.703 kB / 0.7088 GB, free: 3.332 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.4572, allocations: 8.5 kB / 0.7088 GB, free: 3.328 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.4573, allocations: 5.5 kB / 0.7088 GB, free: 3.328 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001669/0.4574, allocations: 54.47 kB / 0.7088 GB, free: 3.32 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.4574, allocations: 9.359 kB / 0.7088 GB, free: 3.316 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001047/0.4575, allocations: 29.72 kB / 0.7089 GB, free: 3.297 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.226e-05/0.4576, allocations: 22.48 kB / 0.7089 GB, free: 3.289 MB / 494.1 MB 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 7.644e-05/0.4577, allocations: 132 kB / 0.709 GB, free: 3.16 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.002e-05/0.4577, allocations: 21.16 kB / 0.709 GB, free: 3.148 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002797/0.458, allocations: 149.8 kB / 0.7092 GB, free: 3.07 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.877e-06/0.458, allocations: 2.469 kB / 0.7092 GB, free: 3.07 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.458, allocations: 4.844 kB / 0.7092 GB, free: 3.066 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.458, allocations: 0.6562 kB / 0.7092 GB, free: 3.066 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001938/0.4582, allocations: 220.8 kB / 0.7094 GB, free: 2.848 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.4582, allocations: 0.6094 kB / 0.7094 GB, free: 2.848 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.819e-05/0.4583, allocations: 29.61 kB / 0.7094 GB, free: 2.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.4583, allocations: 5.688 kB / 0.7094 GB, free: 2.836 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.4584, allocations: 2.016 kB / 0.7094 GB, free: 2.836 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.4584, allocations: 1.312 kB / 0.7094 GB, free: 2.836 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.4584, allocations: 3.938 kB / 0.7094 GB, free: 2.832 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000201/0.4586, allocations: 213.6 kB / 0.7096 GB, free: 2.676 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.524e-05/0.4587, allocations: 112.5 kB / 0.7097 GB, free: 2.566 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.393e-05/0.4587, allocations: 6.047 kB / 0.7097 GB, free: 2.562 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001862/0.4589, allocations: 15.48 kB / 0.7098 GB, free: 2.559 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.821e-05/0.4589, allocations: 15.86 kB / 0.7098 GB, free: 2.551 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-05/0.4589, allocations: 8.969 kB / 0.7098 GB, free: 2.551 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.526e-05/0.459, allocations: 119.8 kB / 0.7099 GB, free: 2.465 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.459, allocations: 0.6875 kB / 0.7099 GB, free: 2.465 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003797/0.4594, allocations: 80.11 kB / 0.71 GB, free: 2.445 MB / 494.1 MB 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.0002731/0.4597, allocations: 192.6 kB / 0.7102 GB, free: 2.324 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002354/0.4599, allocations: 121.4 kB / 0.7103 GB, free: 2.289 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4599, allocations: 0.8438 kB / 0.7103 GB, free: 2.289 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 6.623e-05/0.46, allocations: 39.88 kB / 0.7103 GB, free: 2.281 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000409/0.4604, allocations: 57.28 kB / 0.7104 GB, free: 2.262 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005877/0.461, allocations: 338.6 kB / 0.7107 GB, free: 2.059 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001382/0.4612, allocations: 0.716 MB / 0.7114 GB, free: 1.359 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001474/0.4613, allocations: 52.66 kB / 0.7114 GB, free: 1.344 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.331e-05/0.4614, allocations: 30.75 kB / 0.7115 GB, free: 1.328 MB / 494.1 MB Notification: Performance of SimCode: time 3.81e-07/0.4614, allocations: 0.9375 kB / 0.7115 GB, free: 1.328 MB / 494.1 MB Notification: Performance of Templates: time 0.007496/0.4689, allocations: 3.636 MB / 0.715 GB, free: 0.918 MB / 494.1 MB 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)