Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_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.001175/0.001175, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001393/0.001393, allocations: 191 kB / 16.25 MB, free: 6.629 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.461/1.461, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.039/1.039, allocations: 135.1 MB / 425.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 68.06 kB / 0.5049 GB, free: 5.633 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1843/0.1858, allocations: 80.92 MB / 0.5839 GB, free: 4.875 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01811/0.2039, allocations: 13.09 MB / 0.5967 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003272/0.2073, allocations: 2.66 MB / 0.5993 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001936/0.2075, allocations: 0 / 0.5993 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004076/0.208, allocations: 39.8 kB / 0.5993 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004387/0.2084, allocations: 91.48 kB / 0.5994 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001801/0.2102, allocations: 485.9 kB / 0.5999 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004555/0.2107, allocations: 228 kB / 0.6001 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.932e-05/0.2108, allocations: 13.5 kB / 0.6001 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009458/0.2202, allocations: 3.363 MB / 0.6034 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002626/0.2205, allocations: 95.64 kB / 0.6035 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.392e-05/0.2206, allocations: 8 kB / 0.6035 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3436/0.5642, allocations: 1.035 MB / 0.6045 GB, free: 39.07 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001326/0.5644, allocations: 38.48 kB / 0.6045 GB, free: 39.07 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001635/0.5645, allocations: 84.02 kB / 0.6046 GB, free: 39.07 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009188/0.5655, allocations: 370.3 kB / 0.6049 GB, free: 39.07 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.5655, allocations: 0.875 kB / 0.6049 GB, free: 39.07 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5655, allocations: 0 / 0.6049 GB, free: 39.07 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.065e-06/0.5655, allocations: 3.75 kB / 0.6049 GB, free: 39.07 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.0007214/0.5662, allocations: 0.4966 MB / 0.6054 GB, free: 38.7 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.5663, allocations: 10.53 kB / 0.6054 GB, free: 38.7 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001835/0.5665, allocations: 25 kB / 0.6055 GB, free: 38.69 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001927/0.5667, allocations: 220 kB / 0.6057 GB, free: 38.48 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.5667, allocations: 11.89 kB / 0.6057 GB, free: 38.48 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.977e-05/0.5667, allocations: 17.06 kB / 0.6057 GB, free: 38.48 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003773/0.5671, allocations: 250.6 kB / 0.6059 GB, free: 38.41 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.5671, allocations: 0.75 kB / 0.6059 GB, free: 38.41 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.436e-05/0.5672, allocations: 9.938 kB / 0.606 GB, free: 38.41 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.637e-05/0.5672, allocations: 8.766 kB / 0.606 GB, free: 38.41 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003914/0.5676, allocations: 426.5 kB / 0.6064 GB, free: 38.41 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009694/0.5686, allocations: 0.9641 MB / 0.6073 GB, free: 37.67 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000252/0.5688, allocations: 159.2 kB / 0.6075 GB, free: 37.65 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.825e-05/0.5689, allocations: 64.27 kB / 0.6075 GB, free: 37.64 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009425/0.5699, allocations: 1.829 MB / 0.6093 GB, free: 35.66 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.5699, allocations: 39.56 kB / 0.6093 GB, free: 35.62 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.292e-06/0.5699, allocations: 0 / 0.6093 GB, free: 35.62 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0003231/0.5702, allocations: 143.6 kB / 0.6095 GB, free: 35.58 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/0.5703, allocations: 57.91 kB / 0.6095 GB, free: 35.52 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001454/0.5704, allocations: 172.4 kB / 0.6097 GB, free: 35.41 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.5705, allocations: 26.73 kB / 0.6097 GB, free: 35.38 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.718e-05/0.5705, allocations: 150.2 kB / 0.6099 GB, free: 35.26 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.223e-05/0.5706, allocations: 54.42 kB / 0.6099 GB, free: 35.23 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.301e-05/0.5707, allocations: 51.09 kB / 0.61 GB, free: 35.21 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.832e-05/0.5707, allocations: 327.6 kB / 0.6103 GB, free: 34.9 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.297e-05/0.5708, allocations: 34.86 kB / 0.6103 GB, free: 34.9 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001121/0.5709, allocations: 145.3 kB / 0.6105 GB, free: 34.77 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002067/0.5711, allocations: 195.8 kB / 0.6106 GB, free: 34.65 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.5712, allocations: 0 / 0.6106 GB, free: 34.65 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002737/0.5714, allocations: 212.6 kB / 0.6108 GB, free: 34.61 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.5715, allocations: 11.83 kB / 0.6109 GB, free: 34.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.647e-06/0.5715, allocations: 6.25 kB / 0.6109 GB, free: 34.61 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.5715, allocations: 5.594 kB / 0.6109 GB, free: 34.61 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001626/0.5717, allocations: 57.11 kB / 0.6109 GB, free: 34.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.345e-05/0.5717, allocations: 13.59 kB / 0.6109 GB, free: 34.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001044/0.5718, allocations: 29.25 kB / 0.611 GB, free: 34.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.865e-05/0.5718, allocations: 11.34 kB / 0.611 GB, free: 34.59 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.604e-05/0.5719, allocations: 131.1 kB / 0.6111 GB, free: 34.48 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.593e-05/0.572, allocations: 19.64 kB / 0.6111 GB, free: 34.47 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002822/0.5723, allocations: 159.7 kB / 0.6113 GB, free: 34.43 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/0.5723, allocations: 5.156 kB / 0.6113 GB, free: 34.43 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.5723, allocations: 3.938 kB / 0.6113 GB, free: 34.43 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.5723, allocations: 480 / 0.6113 GB, free: 34.43 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001906/0.5725, allocations: 217.4 kB / 0.6115 GB, free: 34.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.5725, allocations: 6.75 kB / 0.6115 GB, free: 34.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.81e-05/0.5726, allocations: 20.64 kB / 0.6115 GB, free: 34.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.818e-06/0.5726, allocations: 5.375 kB / 0.6115 GB, free: 34.23 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.5726, allocations: 5.094 kB / 0.6115 GB, free: 34.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.5726, allocations: 2.875 kB / 0.6115 GB, free: 34.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.5726, allocations: 3.938 kB / 0.6115 GB, free: 34.23 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001913/0.5728, allocations: 220.4 kB / 0.6117 GB, free: 34.09 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.922e-05/0.5729, allocations: 113.3 kB / 0.6118 GB, free: 33.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.643e-05/0.5729, allocations: 10.73 kB / 0.6119 GB, free: 33.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001826/0.5731, allocations: 11.98 kB / 0.6119 GB, free: 33.98 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.35e-05/0.5732, allocations: 16.7 kB / 0.6119 GB, free: 33.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.955e-05/0.5732, allocations: 8.594 kB / 0.6119 GB, free: 33.98 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.455e-05/0.5732, allocations: 125.2 kB / 0.612 GB, free: 33.9 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5733, allocations: 0 / 0.612 GB, free: 33.9 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003689/0.5736, allocations: 82.36 kB / 0.6121 GB, free: 33.9 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.000359/0.574, allocations: 183.7 kB / 0.6123 GB, free: 33.8 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002267/0.5742, allocations: 133.6 kB / 0.6124 GB, free: 33.79 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.5742, allocations: 2.438 kB / 0.6124 GB, free: 33.79 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.819e-05/0.5743, allocations: 49.41 kB / 0.6124 GB, free: 33.79 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004217/0.5747, allocations: 46.23 kB / 0.6125 GB, free: 33.79 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006501/0.5754, allocations: 399.1 kB / 0.6129 GB, free: 33.56 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001386/0.5755, allocations: 0.714 MB / 0.6136 GB, free: 32.87 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001689/0.5757, allocations: 50.88 kB / 0.6136 GB, free: 32.86 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.974e-05/0.5758, allocations: 26.44 kB / 0.6136 GB, free: 32.86 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.5758, allocations: 0 / 0.6136 GB, free: 32.86 MB / 0.4981 GB Notification: Performance of Templates: time 0.00635/0.5821, allocations: 3.608 MB / 0.6172 GB, free: 32.55 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.makefile (rm -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)