Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT") translateModel(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001365/0.001365, allocations: 112.6 kB / 16.37 MB, free: 6 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.001545/0.001545, allocations: 196 kB / 17.31 MB, free: 5.613 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.411/1.411, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8123/0.8123, allocations: 132.2 MB / 423.3 MB, free: 6.66 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001262, allocations: 63.89 kB / 0.5032 GB, free: 10.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4268/0.4281, allocations: 80.19 MB / 0.5815 GB, free: 27.83 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01393/0.4421, allocations: 12.97 MB / 0.5942 GB, free: 17.39 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001934/0.444, allocations: 2.669 MB / 0.5968 GB, free: 14.73 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.321e-05/0.4441, allocations: 4.75 kB / 0.5968 GB, free: 14.73 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002467/0.4444, allocations: 43.69 kB / 0.5968 GB, free: 14.68 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002306/0.4447, allocations: 96.75 kB / 0.5969 GB, free: 14.59 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008634/0.4456, allocations: 0.5023 MB / 0.5974 GB, free: 14.09 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001911/0.4458, allocations: 231.9 kB / 0.5976 GB, free: 13.86 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.864e-05/0.4458, allocations: 14.36 kB / 0.5976 GB, free: 13.85 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007381/0.4532, allocations: 3.58 MB / 0.6011 GB, free: 10.27 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000131/0.4533, allocations: 91.66 kB / 0.6012 GB, free: 10.18 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.114e-05/0.4534, allocations: 12 kB / 0.6012 GB, free: 10.16 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002024/0.4554, allocations: 1.063 MB / 0.6023 GB, free: 9.109 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.632e-05/0.4555, allocations: 43.83 kB / 0.6023 GB, free: 9.066 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.319e-05/0.4556, allocations: 83.64 kB / 0.6024 GB, free: 8.984 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005001/0.4561, allocations: 367 kB / 0.6027 GB, free: 8.625 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.4561, allocations: 0 / 0.6027 GB, free: 8.625 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4561, allocations: 4 kB / 0.6027 GB, free: 8.621 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.75e-06/0.4561, allocations: 0 / 0.6027 GB, free: 8.621 MB / 446.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.0006081/0.4567, allocations: 0.4993 MB / 0.6032 GB, free: 8.074 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.4567, allocations: 8.031 kB / 0.6032 GB, free: 8.066 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000153/0.4569, allocations: 24.78 kB / 0.6033 GB, free: 8.043 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002324/0.4571, allocations: 220 kB / 0.6035 GB, free: 7.789 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.4572, allocations: 16.69 kB / 0.6035 GB, free: 7.773 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.944e-05/0.4572, allocations: 12.38 kB / 0.6035 GB, free: 7.762 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002917/0.4575, allocations: 260.1 kB / 0.6038 GB, free: 7.488 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.4575, allocations: 0 / 0.6038 GB, free: 7.488 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.05e-05/0.4575, allocations: 4 kB / 0.6038 GB, free: 7.484 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.255e-05/0.4576, allocations: 8 kB / 0.6038 GB, free: 7.477 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003446/0.4579, allocations: 427.3 kB / 0.6042 GB, free: 7.059 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008249/0.4587, allocations: 0.9644 MB / 0.6051 GB, free: 6.004 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002211/0.459, allocations: 163.5 kB / 0.6053 GB, free: 5.836 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.994e-05/0.4591, allocations: 68.88 kB / 0.6053 GB, free: 5.766 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000843/0.4599, allocations: 1.829 MB / 0.6071 GB, free: 3.578 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.918e-05/0.4599, allocations: 42.5 kB / 0.6072 GB, free: 3.527 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.222e-06/0.46, allocations: 0 / 0.6072 GB, free: 3.527 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.000285/0.4602, allocations: 141.4 kB / 0.6073 GB, free: 3.383 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.434e-05/0.4603, allocations: 63.33 kB / 0.6074 GB, free: 3.309 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.4604, allocations: 169.5 kB / 0.6075 GB, free: 3.133 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.4604, allocations: 29.7 kB / 0.6075 GB, free: 3.098 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.921e-05/0.4605, allocations: 143.8 kB / 0.6077 GB, free: 2.953 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.406e-05/0.4605, allocations: 51.28 kB / 0.6077 GB, free: 2.902 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.178e-05/0.4605, allocations: 53.61 kB / 0.6078 GB, free: 2.844 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.511e-05/0.4606, allocations: 322.8 kB / 0.6081 GB, free: 2.52 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.506e-05/0.4607, allocations: 39.97 kB / 0.6081 GB, free: 2.48 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.706e-05/0.4608, allocations: 137.7 kB / 0.6083 GB, free: 2.297 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001593/0.4609, allocations: 195.2 kB / 0.6084 GB, free: 2.059 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.4609, allocations: 4 kB / 0.6084 GB, free: 2.055 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002553/0.4612, allocations: 217.1 kB / 0.6087 GB, free: 1.836 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.4612, allocations: 8 kB / 0.6087 GB, free: 1.828 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.4612, allocations: 480 / 0.6087 GB, free: 1.828 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.4612, allocations: 12 kB / 0.6087 GB, free: 1.816 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001482/0.4614, allocations: 59.8 kB / 0.6087 GB, free: 1.758 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.4614, allocations: 7.984 kB / 0.6087 GB, free: 1.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.668e-05/0.4615, allocations: 27.73 kB / 0.6088 GB, free: 1.723 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.538e-05/0.4615, allocations: 12 kB / 0.6088 GB, free: 1.711 MB / 446.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.66e-05/0.4616, allocations: 134.4 kB / 0.6089 GB, free: 1.57 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.385e-05/0.4617, allocations: 15.81 kB / 0.6089 GB, free: 1.555 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002528/0.4619, allocations: 161 kB / 0.6091 GB, free: 1.398 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.475e-06/0.4619, allocations: 3.938 kB / 0.6091 GB, free: 1.395 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.462, allocations: 11.98 kB / 0.6091 GB, free: 1.383 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.462, allocations: 0 / 0.6091 GB, free: 1.383 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001702/0.4621, allocations: 213.5 kB / 0.6093 GB, free: 1.125 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.4621, allocations: 7.938 kB / 0.6093 GB, free: 1.117 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.784e-05/0.4622, allocations: 23.98 kB / 0.6093 GB, free: 1.094 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.4622, allocations: 0 / 0.6093 GB, free: 1.094 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.4622, allocations: 4 kB / 0.6093 GB, free: 1.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.4623, allocations: 7.938 kB / 0.6093 GB, free: 1.082 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.4623, allocations: 3.984 kB / 0.6093 GB, free: 1.078 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001823/0.4624, allocations: 219.8 kB / 0.6095 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.61e-05/0.4625, allocations: 112.8 kB / 0.6097 GB, free: 0.7188 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.194e-05/0.4626, allocations: 4 kB / 0.6097 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001853/0.4627, allocations: 15.92 kB / 0.6097 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.271e-05/0.4628, allocations: 8 kB / 0.6097 GB, free: 0.6914 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.847e-05/0.4628, allocations: 11.98 kB / 0.6097 GB, free: 0.6797 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.473e-05/0.4629, allocations: 124.9 kB / 0.6098 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4629, allocations: 0 / 0.6098 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003452/0.4632, allocations: 83.98 kB / 0.6099 GB, free: 488 kB / 446.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.0002464/0.4635, allocations: 179.1 kB / 0.6101 GB, free: 300 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001947/0.4637, allocations: 123.1 kB / 0.6102 GB, free: 180 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.4637, allocations: 0 / 0.6102 GB, free: 180 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.295e-05/0.4637, allocations: 47.92 kB / 0.6102 GB, free: 132 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003907/0.4641, allocations: 53.98 kB / 0.6103 GB, free: 84 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006382/0.4648, allocations: 342.9 kB / 0.6106 GB, free: 15.72 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002617/0.4651, allocations: 0.7205 MB / 0.6113 GB, free: 14.97 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001389/0.4652, allocations: 50.02 kB / 0.6114 GB, free: 14.93 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.024e-05/0.4652, allocations: 23.44 kB / 0.6114 GB, free: 14.91 MB / 462.1 MB Notification: Performance of SimCode: time 1.893e-06/0.4653, allocations: 0 / 0.6114 GB, free: 14.91 MB / 462.1 MB Notification: Performance of Templates: time 0.006867/0.4721, allocations: 3.626 MB / 0.6149 GB, free: 11.34 MB / 462.1 MB make -j1 -f IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.makefile (rm -f IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)