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.001205/0.001206, 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.001428/0.001428, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.403/1.403, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.011/1.011, allocations: 135.1 MB / 425.5 MB, free: 12.06 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 68.39 kB / 0.5053 GB, free: 5.316 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1873/0.1888, allocations: 80.92 MB / 0.5844 GB, free: 4.547 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01675/0.2056, allocations: 12.96 MB / 0.597 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002927/0.2086, allocations: 2.667 MB / 0.5996 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001681/0.2088, allocations: 8 kB / 0.5996 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003234/0.2091, allocations: 39.69 kB / 0.5997 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003661/0.2095, allocations: 95.34 kB / 0.5998 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001505/0.211, allocations: 0.4966 MB / 0.6002 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003185/0.2114, allocations: 236 kB / 0.6005 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.257e-05/0.2114, allocations: 25.42 kB / 0.6005 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009712/0.2212, allocations: 3.573 MB / 0.604 GB, free: 380 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002457/0.2214, allocations: 95.59 kB / 0.6041 GB, free: 284 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.579e-05/0.2215, allocations: 8 kB / 0.6041 GB, free: 276 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.33/0.5514, allocations: 1.058 MB / 0.6051 GB, free: 39.18 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.5516, allocations: 38 kB / 0.6052 GB, free: 39.18 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001477/0.5517, allocations: 87.53 kB / 0.6052 GB, free: 39.18 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007576/0.5525, allocations: 364.1 kB / 0.6056 GB, free: 39.18 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.5525, allocations: 0 / 0.6056 GB, free: 39.18 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.192e-06/0.5525, allocations: 1.938 kB / 0.6056 GB, free: 39.18 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.511e-06/0.5525, allocations: 0 / 0.6056 GB, free: 39.18 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.0006585/0.5532, allocations: 0.5043 MB / 0.6061 GB, free: 38.8 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.5532, allocations: 8.531 kB / 0.6061 GB, free: 38.8 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001752/0.5534, allocations: 22.72 kB / 0.6061 GB, free: 38.8 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001725/0.5536, allocations: 226.7 kB / 0.6063 GB, free: 38.59 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.5536, allocations: 9.109 kB / 0.6063 GB, free: 38.59 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.932e-05/0.5536, allocations: 17.69 kB / 0.6064 GB, free: 38.59 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000319/0.554, allocations: 246.6 kB / 0.6066 GB, free: 38.52 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.554, allocations: 3.75 kB / 0.6066 GB, free: 38.52 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.256e-05/0.554, allocations: 6.375 kB / 0.6066 GB, free: 38.52 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.319e-05/0.554, allocations: 6.062 kB / 0.6066 GB, free: 38.52 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003857/0.5544, allocations: 431.8 kB / 0.607 GB, free: 38.52 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008859/0.5553, allocations: 0.956 MB / 0.6079 GB, free: 37.78 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000238/0.5556, allocations: 159.6 kB / 0.6081 GB, free: 37.76 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.733e-05/0.5557, allocations: 66.88 kB / 0.6082 GB, free: 37.75 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000897/0.5566, allocations: 1.827 MB / 0.6099 GB, free: 35.77 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.5566, allocations: 36.25 kB / 0.61 GB, free: 35.73 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.392e-06/0.5566, allocations: 0 / 0.61 GB, free: 35.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0003096/0.5569, allocations: 151.5 kB / 0.6101 GB, free: 35.69 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.896e-05/0.557, allocations: 57.84 kB / 0.6102 GB, free: 35.62 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.5571, allocations: 169.7 kB / 0.6103 GB, free: 35.52 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.5571, allocations: 29.05 kB / 0.6104 GB, free: 35.49 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.423e-05/0.5572, allocations: 143.8 kB / 0.6105 GB, free: 35.37 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.485e-05/0.5572, allocations: 48.78 kB / 0.6106 GB, free: 35.34 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.453e-05/0.5573, allocations: 52.8 kB / 0.6106 GB, free: 35.32 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.604e-05/0.5573, allocations: 326.4 kB / 0.6109 GB, free: 35.01 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.972e-05/0.5574, allocations: 34.61 kB / 0.6109 GB, free: 35.01 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.258e-05/0.5575, allocations: 143.4 kB / 0.6111 GB, free: 34.88 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001766/0.5577, allocations: 199.1 kB / 0.6113 GB, free: 34.75 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.5577, allocations: 5.969 kB / 0.6113 GB, free: 34.75 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000267/0.5579, allocations: 217.1 kB / 0.6115 GB, free: 34.71 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.558, allocations: 9.375 kB / 0.6115 GB, free: 34.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.558, allocations: 3.344 kB / 0.6115 GB, free: 34.71 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.558, allocations: 8.562 kB / 0.6115 GB, free: 34.71 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001514/0.5582, allocations: 54.2 kB / 0.6116 GB, free: 34.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.5582, allocations: 10.19 kB / 0.6116 GB, free: 34.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.924e-05/0.5583, allocations: 32.91 kB / 0.6116 GB, free: 34.69 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.653e-05/0.5583, allocations: 18.62 kB / 0.6116 GB, free: 34.69 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.15e-05/0.5584, allocations: 136.3 kB / 0.6117 GB, free: 34.57 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.738e-05/0.5584, allocations: 16.38 kB / 0.6118 GB, free: 34.57 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000261/0.5587, allocations: 155 kB / 0.6119 GB, free: 34.53 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.5587, allocations: 0 / 0.6119 GB, free: 34.53 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.5587, allocations: 6.906 kB / 0.6119 GB, free: 34.52 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.5587, allocations: 0 / 0.6119 GB, free: 34.52 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001767/0.5589, allocations: 218 kB / 0.6121 GB, free: 34.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.5589, allocations: 0 / 0.6121 GB, free: 34.33 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.854e-05/0.559, allocations: 27.31 kB / 0.6122 GB, free: 34.33 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.559, allocations: 2.938 kB / 0.6122 GB, free: 34.33 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.559, allocations: 3.812 kB / 0.6122 GB, free: 34.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.559, allocations: 0 / 0.6122 GB, free: 34.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.5591, allocations: 6.812 kB / 0.6122 GB, free: 34.33 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000195/0.5593, allocations: 220.4 kB / 0.6124 GB, free: 34.19 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.938e-05/0.5593, allocations: 117.6 kB / 0.6125 GB, free: 34.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.384e-05/0.5594, allocations: 3.375 kB / 0.6125 GB, free: 34.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001888/0.5596, allocations: 15.66 kB / 0.6125 GB, free: 34.08 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.293e-05/0.5596, allocations: 12.95 kB / 0.6125 GB, free: 34.08 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.755e-05/0.5596, allocations: 9.594 kB / 0.6125 GB, free: 34.08 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.373e-05/0.5597, allocations: 123 kB / 0.6126 GB, free: 34 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.5597, allocations: 0 / 0.6126 GB, free: 34 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003652/0.5601, allocations: 81.92 kB / 0.6127 GB, free: 33.99 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.0003021/0.5604, allocations: 187.5 kB / 0.6129 GB, free: 33.89 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002209/0.5606, allocations: 131.2 kB / 0.613 GB, free: 33.88 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.5606, allocations: 3.469 kB / 0.613 GB, free: 33.88 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.702e-05/0.5607, allocations: 49.62 kB / 0.6131 GB, free: 33.88 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004175/0.5611, allocations: 48.06 kB / 0.6131 GB, free: 33.88 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006166/0.5617, allocations: 342.1 kB / 0.6134 GB, free: 33.71 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001314/0.5619, allocations: 0.7098 MB / 0.6141 GB, free: 33.01 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001606/0.562, allocations: 50.52 kB / 0.6142 GB, free: 33.01 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.759e-05/0.5621, allocations: 27.97 kB / 0.6142 GB, free: 33 MB / 0.4981 GB Notification: Performance of SimCode: time 2.7e-07/0.5621, allocations: 2.906 kB / 0.6142 GB, free: 33 MB / 0.4981 GB Notification: Performance of Templates: time 0.006038/0.5681, allocations: 3.634 MB / 0.6178 GB, free: 32.67 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)