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: "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009832/0.0009829, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.006962/0.006962, allocations: 169.4 kB / 16.26 MB, free: 6.652 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.356/1.356, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9621/0.9621, allocations: 135.3 MB / 426.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003514/0.0003515, allocations: 11.98 kB / 0.5077 GB, free: 4.629 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1586, allocations: 82.31 MB / 0.5881 GB, free: 2.488 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.0178/0.1765, allocations: 13.35 MB / 0.6011 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003352/0.1799, allocations: 2.656 MB / 0.6037 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001813/0.1801, allocations: 4 kB / 0.6037 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003308/0.1804, allocations: 35.81 kB / 0.6037 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004026/0.1809, allocations: 91.47 kB / 0.6038 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001446/0.1823, allocations: 455.6 kB / 0.6043 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003993/0.1827, allocations: 307.9 kB / 0.6046 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.278e-05/0.1828, allocations: 5.562 kB / 0.6046 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.282/0.4648, allocations: 3.162 MB / 0.6077 GB, free: 35.7 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002125/0.4651, allocations: 95.06 kB / 0.6077 GB, free: 35.7 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.953e-05/0.4652, allocations: 5.75 kB / 0.6077 GB, free: 35.7 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002428/0.4676, allocations: 0.9638 MB / 0.6087 GB, free: 35.68 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.893e-05/0.4677, allocations: 38.67 kB / 0.6087 GB, free: 35.68 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001057/0.4678, allocations: 105.5 kB / 0.6088 GB, free: 35.65 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008247/0.4686, allocations: 371.9 kB / 0.6092 GB, free: 35.64 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.4686, allocations: 0 / 0.6092 GB, free: 35.64 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.894e-06/0.4686, allocations: 0 / 0.6092 GB, free: 35.64 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.224e-05/0.4687, allocations: 4 kB / 0.6092 GB, free: 35.64 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.0006416/0.4693, allocations: 471.7 kB / 0.6096 GB, free: 35.25 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.4693, allocations: 7.625 kB / 0.6096 GB, free: 35.25 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.025e-05/0.4694, allocations: 52.94 kB / 0.6097 GB, free: 35.21 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001654/0.4696, allocations: 19.72 kB / 0.6097 GB, free: 35.21 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001855/0.4698, allocations: 222.2 kB / 0.6099 GB, free: 35 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.4698, allocations: 10.3 kB / 0.6099 GB, free: 35 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.172e-05/0.4698, allocations: 15.72 kB / 0.6099 GB, free: 35 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003311/0.4701, allocations: 246.4 kB / 0.6102 GB, free: 34.93 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.4702, allocations: 0 / 0.6102 GB, free: 34.93 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.5e-05/0.4702, allocations: 10.41 kB / 0.6102 GB, free: 34.93 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.743e-05/0.4702, allocations: 6.422 kB / 0.6102 GB, free: 34.93 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000384/0.4706, allocations: 430.7 kB / 0.6106 GB, free: 34.93 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009053/0.4715, allocations: 0.9611 MB / 0.6116 GB, free: 34.18 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002322/0.4718, allocations: 167.7 kB / 0.6117 GB, free: 34.15 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.988e-05/0.4719, allocations: 67.17 kB / 0.6118 GB, free: 34.14 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009155/0.4728, allocations: 1.828 MB / 0.6136 GB, free: 32.16 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.4728, allocations: 37.66 kB / 0.6136 GB, free: 32.12 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.302e-06/0.4728, allocations: 4 kB / 0.6136 GB, free: 32.12 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0002959/0.4731, allocations: 145.5 kB / 0.6137 GB, free: 32.08 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.649e-05/0.4732, allocations: 59.33 kB / 0.6138 GB, free: 32.01 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.4733, allocations: 169.2 kB / 0.614 GB, free: 31.91 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.4733, allocations: 31.58 kB / 0.614 GB, free: 31.88 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.454e-05/0.4734, allocations: 139.1 kB / 0.6141 GB, free: 31.76 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.637e-05/0.4734, allocations: 52.62 kB / 0.6142 GB, free: 31.73 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.159e-05/0.4735, allocations: 25 kB / 0.6142 GB, free: 31.71 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.01e-05/0.4735, allocations: 331.2 kB / 0.6145 GB, free: 31.39 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.88e-05/0.4736, allocations: 34.36 kB / 0.6145 GB, free: 31.39 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.055e-05/0.4737, allocations: 150.1 kB / 0.6147 GB, free: 31.26 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001677/0.4738, allocations: 196.8 kB / 0.6149 GB, free: 31.13 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.4739, allocations: 0.8438 kB / 0.6149 GB, free: 31.13 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002775/0.4741, allocations: 216.8 kB / 0.6151 GB, free: 31.09 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.4742, allocations: 6.375 kB / 0.6151 GB, free: 31.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.4742, allocations: 2.906 kB / 0.6151 GB, free: 31.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.4742, allocations: 11.91 kB / 0.6151 GB, free: 31.08 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001576/0.4744, allocations: 62.23 kB / 0.6152 GB, free: 31.08 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.4744, allocations: 5.531 kB / 0.6152 GB, free: 31.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001135/0.4745, allocations: 27.3 kB / 0.6152 GB, free: 31.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.664e-05/0.4745, allocations: 14.53 kB / 0.6152 GB, free: 31.07 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.368e-05/0.4746, allocations: 133.3 kB / 0.6153 GB, free: 30.95 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.029e-05/0.4747, allocations: 15.77 kB / 0.6153 GB, free: 30.95 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002547/0.4749, allocations: 162 kB / 0.6155 GB, free: 30.9 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.457e-06/0.4749, allocations: 6.656 kB / 0.6155 GB, free: 30.9 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.4749, allocations: 0 / 0.6155 GB, free: 30.9 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.4749, allocations: 3.375 kB / 0.6155 GB, free: 30.9 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001899/0.4751, allocations: 208.9 kB / 0.6157 GB, free: 30.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.4752, allocations: 0 / 0.6157 GB, free: 30.71 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.167e-05/0.4752, allocations: 27.09 kB / 0.6157 GB, free: 30.71 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.4752, allocations: 0 / 0.6157 GB, free: 30.71 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.4753, allocations: 5.031 kB / 0.6157 GB, free: 30.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.4753, allocations: 7.5 kB / 0.6157 GB, free: 30.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4753, allocations: 7.75 kB / 0.6158 GB, free: 30.7 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001998/0.4755, allocations: 224.9 kB / 0.616 GB, free: 30.56 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.847e-05/0.4756, allocations: 114.5 kB / 0.6161 GB, free: 30.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.355e-05/0.4756, allocations: 4.062 kB / 0.6161 GB, free: 30.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002067/0.4758, allocations: 25.55 kB / 0.6161 GB, free: 30.45 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.134e-05/0.4758, allocations: 8.703 kB / 0.6161 GB, free: 30.45 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.226e-05/0.4759, allocations: 17 kB / 0.6161 GB, free: 30.45 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.996e-05/0.4759, allocations: 124.1 kB / 0.6162 GB, free: 30.38 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4759, allocations: 0 / 0.6162 GB, free: 30.38 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004074/0.4764, allocations: 69.25 kB / 0.6163 GB, free: 30.37 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.0005748/0.4769, allocations: 0.8364 MB / 0.6171 GB, free: 29.69 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002067/0.4772, allocations: 124 kB / 0.6173 GB, free: 29.69 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.4772, allocations: 4.062 kB / 0.6173 GB, free: 29.68 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.898e-05/0.4772, allocations: 44.52 kB / 0.6173 GB, free: 29.68 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004489/0.4777, allocations: 61.94 kB / 0.6174 GB, free: 29.68 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001729/0.4794, allocations: 2.115 MB / 0.6194 GB, free: 28.13 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001289/0.4796, allocations: 0.716 MB / 0.6201 GB, free: 27.43 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001857/0.4798, allocations: 47.44 kB / 0.6202 GB, free: 27.43 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.482e-05/0.4798, allocations: 53.17 kB / 0.6202 GB, free: 27.42 MB / 0.4981 GB Notification: Performance of SimCode: time 5.01e-07/0.4798, allocations: 0.9844 kB / 0.6202 GB, free: 27.42 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4829/0.9628, allocations: 5.143 MB / 0.6252 GB, free: 26.96 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001636/0.963, allocations: 198.3 kB / 0.6254 GB, free: 26.71 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.378/3.341, allocations: 0 / 0.6254 GB, free: 26.71 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)