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.0007568/0.0007566, allocations: 98.88 kB / 16.02 MB, free: 76 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.0008958/0.0008963, allocations: 185.3 kB / 16.92 MB, free: 6.773 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.319/1.319, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.981/0.981, allocations: 135.3 MB / 427.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000454/0.000454, allocations: 8 kB / 0.5082 GB, free: 4.762 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1626, allocations: 82.31 MB / 0.5886 GB, free: 2.621 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01528/0.1779, allocations: 13.34 MB / 0.6016 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002907/0.1808, allocations: 2.664 MB / 0.6042 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.027e-05/0.1809, allocations: 0 / 0.6042 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002425/0.1812, allocations: 39.8 kB / 0.6043 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002338/0.1814, allocations: 91.48 kB / 0.6044 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.1825, allocations: 455.3 kB / 0.6048 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003381/0.1828, allocations: 303.9 kB / 0.6051 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.121e-05/0.1829, allocations: 17.48 kB / 0.6051 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2881/0.471, allocations: 3.158 MB / 0.6082 GB, free: 35.7 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001706/0.4712, allocations: 90.3 kB / 0.6083 GB, free: 35.7 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.243e-05/0.4712, allocations: 6.469 kB / 0.6083 GB, free: 35.7 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002113/0.4733, allocations: 0.9655 MB / 0.6092 GB, free: 35.68 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.649e-05/0.4734, allocations: 36.42 kB / 0.6093 GB, free: 35.68 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.496e-05/0.4735, allocations: 103.4 kB / 0.6094 GB, free: 35.65 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003527/0.4738, allocations: 253.5 kB / 0.6096 GB, free: 35.64 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.4738, allocations: 0 / 0.6096 GB, free: 35.64 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.094e-06/0.4739, allocations: 0 / 0.6096 GB, free: 35.64 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.4739, allocations: 0 / 0.6096 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.0005657/0.4744, allocations: 479.7 kB / 0.6101 GB, free: 35.26 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.4745, allocations: 8.875 kB / 0.6101 GB, free: 35.26 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001432/0.4746, allocations: 23.62 kB / 0.6101 GB, free: 35.25 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001563/0.4748, allocations: 212 kB / 0.6103 GB, free: 35.05 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.4748, allocations: 16.42 kB / 0.6103 GB, free: 35.05 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.809e-05/0.4748, allocations: 16.19 kB / 0.6103 GB, free: 35.05 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002975/0.4751, allocations: 246.3 kB / 0.6106 GB, free: 34.97 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.4752, allocations: 0 / 0.6106 GB, free: 34.97 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.28e-05/0.4752, allocations: 13.38 kB / 0.6106 GB, free: 34.97 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.215e-05/0.4752, allocations: 6.516 kB / 0.6106 GB, free: 34.97 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003741/0.4756, allocations: 425.3 kB / 0.611 GB, free: 34.97 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008568/0.4765, allocations: 0.9674 MB / 0.6119 GB, free: 34.23 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002222/0.4767, allocations: 163.3 kB / 0.6121 GB, free: 34.2 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.572e-05/0.4768, allocations: 67.8 kB / 0.6121 GB, free: 34.19 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008923/0.4777, allocations: 1.833 MB / 0.6139 GB, free: 32.21 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.4777, allocations: 33.53 kB / 0.614 GB, free: 32.17 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.182e-06/0.4777, allocations: 0 / 0.614 GB, free: 32.17 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0002798/0.478, allocations: 149.7 kB / 0.6141 GB, free: 32.12 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.219e-05/0.478, allocations: 58.19 kB / 0.6142 GB, free: 32.06 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.4782, allocations: 172.8 kB / 0.6143 GB, free: 31.95 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.4782, allocations: 29.02 kB / 0.6144 GB, free: 31.92 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.152e-05/0.4782, allocations: 145.4 kB / 0.6145 GB, free: 31.8 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.346e-05/0.4783, allocations: 52.19 kB / 0.6145 GB, free: 31.77 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.981e-05/0.4783, allocations: 28.34 kB / 0.6146 GB, free: 31.75 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.452e-05/0.4784, allocations: 323.8 kB / 0.6149 GB, free: 31.44 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.686e-05/0.4784, allocations: 34.84 kB / 0.6149 GB, free: 31.44 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.368e-05/0.4785, allocations: 149.2 kB / 0.6151 GB, free: 31.31 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001587/0.4787, allocations: 200.7 kB / 0.6153 GB, free: 31.18 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.4787, allocations: 0 / 0.6153 GB, free: 31.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002529/0.4789, allocations: 213.5 kB / 0.6155 GB, free: 31.13 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.479, allocations: 8.25 kB / 0.6155 GB, free: 31.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.479, allocations: 3.219 kB / 0.6155 GB, free: 31.13 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.479, allocations: 6.531 kB / 0.6155 GB, free: 31.13 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001536/0.4791, allocations: 52.5 kB / 0.6155 GB, free: 31.13 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.4792, allocations: 10.25 kB / 0.6155 GB, free: 31.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000106/0.4793, allocations: 30.41 kB / 0.6156 GB, free: 31.11 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.72e-05/0.4793, allocations: 18.8 kB / 0.6156 GB, free: 31.11 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.056e-05/0.4794, allocations: 137.1 kB / 0.6157 GB, free: 31 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.962e-05/0.4794, allocations: 17 kB / 0.6157 GB, free: 30.99 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002607/0.4797, allocations: 154.8 kB / 0.6159 GB, free: 30.95 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.317e-06/0.4797, allocations: 5.922 kB / 0.6159 GB, free: 30.95 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.4797, allocations: 3.938 kB / 0.6159 GB, free: 30.95 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.4797, allocations: 4 kB / 0.6159 GB, free: 30.94 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001813/0.4799, allocations: 208 kB / 0.6161 GB, free: 30.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.4799, allocations: 3.281 kB / 0.6161 GB, free: 30.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.909e-05/0.48, allocations: 30.5 kB / 0.6161 GB, free: 30.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.48, allocations: 4.594 kB / 0.6161 GB, free: 30.75 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.48, allocations: 2.781 kB / 0.6161 GB, free: 30.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.48, allocations: 2.844 kB / 0.6161 GB, free: 30.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.48, allocations: 3.938 kB / 0.6161 GB, free: 30.75 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001763/0.4802, allocations: 226.8 kB / 0.6163 GB, free: 30.61 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.43e-05/0.4803, allocations: 117 kB / 0.6165 GB, free: 30.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.263e-05/0.4803, allocations: 2.938 kB / 0.6165 GB, free: 30.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001998/0.4805, allocations: 15.69 kB / 0.6165 GB, free: 30.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.54e-05/0.4806, allocations: 15.75 kB / 0.6165 GB, free: 30.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-05/0.4806, allocations: 11.83 kB / 0.6165 GB, free: 30.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.007e-05/0.4807, allocations: 121.4 kB / 0.6166 GB, free: 30.42 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4807, allocations: 4 kB / 0.6166 GB, free: 30.42 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003791/0.4811, allocations: 76.91 kB / 0.6167 GB, free: 30.41 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.000295/0.4814, allocations: 184.2 kB / 0.6169 GB, free: 30.31 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000201/0.4816, allocations: 118.8 kB / 0.617 GB, free: 30.31 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.4816, allocations: 3.188 kB / 0.617 GB, free: 30.31 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.659e-05/0.4816, allocations: 40.45 kB / 0.617 GB, free: 30.31 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004649/0.4821, allocations: 58.3 kB / 0.6171 GB, free: 30.3 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006144/0.4827, allocations: 461.2 kB / 0.6175 GB, free: 30.05 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001309/0.4829, allocations: 0.7213 MB / 0.6182 GB, free: 29.35 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.042e-05/0.4829, allocations: 27.66 kB / 0.6183 GB, free: 29.35 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.4829, allocations: 0 / 0.6183 GB, free: 29.35 MB / 0.4981 GB Notification: Performance of Templates: time 0.004591/0.4875, allocations: 3.39 MB / 0.6216 GB, free: 28.99 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)