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.001382/0.001382, allocations: 106.4 kB / 15.99 MB, free: 6.348 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.001411/0.001411, allocations: 199.8 kB / 16.91 MB, free: 6.188 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.439/1.439, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7841/0.7841, allocations: 135.1 MB / 425.9 MB, free: 4.352 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 63.91 kB / 0.5055 GB, free: 8.754 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4168/0.4181, allocations: 80.92 MB / 0.5845 GB, free: 25.18 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01322/0.4314, allocations: 13.09 MB / 0.5973 GB, free: 13.66 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002127/0.4335, allocations: 2.664 MB / 0.5999 GB, free: 11 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.542e-05/0.4337, allocations: 0 / 0.5999 GB, free: 11 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003079/0.434, allocations: 36.88 kB / 0.5999 GB, free: 10.97 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002752/0.4343, allocations: 88.53 kB / 0.6 GB, free: 10.88 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001141/0.4355, allocations: 483.8 kB / 0.6005 GB, free: 10.42 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002016/0.4357, allocations: 228 kB / 0.6007 GB, free: 10.2 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.976e-05/0.4357, allocations: 9.562 kB / 0.6007 GB, free: 10.19 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007498/0.4433, allocations: 3.375 MB / 0.604 GB, free: 6.805 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001685/0.4434, allocations: 87.66 kB / 0.6041 GB, free: 6.719 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.278e-05/0.4435, allocations: 8 kB / 0.6041 GB, free: 6.711 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002406/0.4459, allocations: 1.047 MB / 0.6051 GB, free: 5.668 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.542e-05/0.446, allocations: 39.89 kB / 0.6052 GB, free: 5.629 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.214e-05/0.4461, allocations: 83.58 kB / 0.6052 GB, free: 5.547 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004404/0.4465, allocations: 239.5 kB / 0.6055 GB, free: 5.312 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.4465, allocations: 0 / 0.6055 GB, free: 5.312 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4465, allocations: 0 / 0.6055 GB, free: 5.312 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.104e-06/0.4465, allocations: 8 kB / 0.6055 GB, free: 5.305 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.0006804/0.4472, allocations: 0.4993 MB / 0.606 GB, free: 4.758 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.4473, allocations: 13.11 kB / 0.606 GB, free: 4.746 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001625/0.4474, allocations: 24.75 kB / 0.606 GB, free: 4.723 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001639/0.4476, allocations: 216 kB / 0.6062 GB, free: 4.473 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.4476, allocations: 16.69 kB / 0.6062 GB, free: 4.457 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.12e-05/0.4477, allocations: 16.38 kB / 0.6062 GB, free: 4.441 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003446/0.448, allocations: 256.2 kB / 0.6065 GB, free: 4.172 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.448, allocations: 0 / 0.6065 GB, free: 4.172 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.26e-05/0.4481, allocations: 8 kB / 0.6065 GB, free: 4.164 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.346e-05/0.4481, allocations: 4 kB / 0.6065 GB, free: 4.16 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003534/0.4485, allocations: 427.3 kB / 0.6069 GB, free: 3.742 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008836/0.4493, allocations: 0.9605 MB / 0.6078 GB, free: 2.691 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002294/0.4496, allocations: 163.6 kB / 0.608 GB, free: 2.523 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.424e-05/0.4497, allocations: 72.81 kB / 0.6081 GB, free: 2.449 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008591/0.4505, allocations: 1.825 MB / 0.6098 GB, free: 272 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.4506, allocations: 38.56 kB / 0.6099 GB, free: 224 kB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 2.214e-06/0.4506, allocations: 3.984 kB / 0.6099 GB, free: 220 kB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0002914/0.4509, allocations: 145.4 kB / 0.61 GB, free: 68 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.296e-05/0.4509, allocations: 63.34 kB / 0.6101 GB, free: 15.99 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000158/0.4511, allocations: 171.2 kB / 0.6102 GB, free: 15.81 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.717e-05/0.4511, allocations: 33.64 kB / 0.6103 GB, free: 15.77 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.821e-05/0.4512, allocations: 139.8 kB / 0.6104 GB, free: 15.63 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.762e-05/0.4513, allocations: 47.3 kB / 0.6105 GB, free: 15.58 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.261e-05/0.4514, allocations: 53.61 kB / 0.6105 GB, free: 15.52 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.4515, allocations: 326.8 kB / 0.6108 GB, free: 15.2 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.611e-05/0.4516, allocations: 39.98 kB / 0.6109 GB, free: 15.16 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001457/0.4517, allocations: 138.7 kB / 0.611 GB, free: 14.97 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002557/0.452, allocations: 208.4 kB / 0.6112 GB, free: 14.72 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.452, allocations: 0 / 0.6112 GB, free: 14.72 MB / 462.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000316/0.4523, allocations: 221 kB / 0.6114 GB, free: 14.5 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.4523, allocations: 8 kB / 0.6114 GB, free: 14.49 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/0.4524, allocations: 0 / 0.6114 GB, free: 14.49 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.4524, allocations: 8.469 kB / 0.6114 GB, free: 14.48 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000175/0.4526, allocations: 63.84 kB / 0.6115 GB, free: 14.42 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/0.4526, allocations: 7.984 kB / 0.6115 GB, free: 14.41 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001097/0.4527, allocations: 27.75 kB / 0.6115 GB, free: 14.39 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.955e-05/0.4527, allocations: 11.98 kB / 0.6115 GB, free: 14.38 MB / 462.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 0.000119/0.4529, allocations: 137.7 kB / 0.6117 GB, free: 14.23 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.677e-05/0.4529, allocations: 11.91 kB / 0.6117 GB, free: 14.22 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003091/0.4532, allocations: 158.4 kB / 0.6118 GB, free: 14.06 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/0.4532, allocations: 11.94 kB / 0.6118 GB, free: 14.05 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.4533, allocations: 0 / 0.6118 GB, free: 14.05 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.4533, allocations: 0 / 0.6118 GB, free: 14.05 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000265/0.4535, allocations: 217.5 kB / 0.612 GB, free: 13.79 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.4535, allocations: 0 / 0.612 GB, free: 13.79 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.339e-05/0.4536, allocations: 23.98 kB / 0.6121 GB, free: 13.77 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.175e-06/0.4536, allocations: 0 / 0.6121 GB, free: 13.77 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.4537, allocations: 8 kB / 0.6121 GB, free: 13.76 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.4537, allocations: 3.938 kB / 0.6121 GB, free: 13.75 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.4537, allocations: 4 kB / 0.6121 GB, free: 13.75 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000242/0.4539, allocations: 217.8 kB / 0.6123 GB, free: 13.52 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.627e-05/0.454, allocations: 116.8 kB / 0.6124 GB, free: 13.39 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.302e-05/0.4541, allocations: 4 kB / 0.6124 GB, free: 13.39 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001986/0.4543, allocations: 19.92 kB / 0.6124 GB, free: 13.37 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.839e-05/0.4543, allocations: 7.984 kB / 0.6124 GB, free: 13.36 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.479e-05/0.4543, allocations: 15.98 kB / 0.6124 GB, free: 13.34 MB / 462.1 MB Notification: Performance of sorting global known variables: time 8.36e-05/0.4544, allocations: 126.2 kB / 0.6126 GB, free: 13.22 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4544, allocations: 4 kB / 0.6126 GB, free: 13.22 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003771/0.4548, allocations: 72 kB / 0.6126 GB, free: 13.15 MB / 462.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.0003931/0.4552, allocations: 191 kB / 0.6128 GB, free: 12.95 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002511/0.4555, allocations: 127.8 kB / 0.6129 GB, free: 12.83 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.678e-06/0.4555, allocations: 4 kB / 0.6129 GB, free: 12.82 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 6.634e-05/0.4556, allocations: 43.92 kB / 0.613 GB, free: 12.78 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004412/0.456, allocations: 48.91 kB / 0.613 GB, free: 12.73 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007428/0.4568, allocations: 415.3 kB / 0.6134 GB, free: 12.3 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003066/0.4571, allocations: 0.7166 MB / 0.6141 GB, free: 11.55 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.458e-05/0.4571, allocations: 31.42 kB / 0.6142 GB, free: 11.52 MB / 462.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4571, allocations: 0 / 0.6142 GB, free: 11.52 MB / 462.1 MB Notification: Performance of Templates: time 0.005201/0.4623, allocations: 3.418 MB / 0.6175 GB, free: 8.145 MB / 462.1 MB 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)