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.001544/0.001543, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001548/0.001548, allocations: 190.3 kB / 16.25 MB, free: 6.637 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.39/1.39, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9691/0.9691, allocations: 135.6 MB / 425.6 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 68.52 kB / 0.5054 GB, free: 5.168 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1681, allocations: 81.02 MB / 0.5845 GB, free: 4.285 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01677/0.1849, allocations: 13.1 MB / 0.5973 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003845/0.1888, allocations: 2.652 MB / 0.5999 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001477/0.189, allocations: 0 / 0.5999 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004659/0.1895, allocations: 39.8 kB / 0.5999 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004342/0.19, allocations: 95.42 kB / 0.6 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001651/0.1917, allocations: 481.8 kB / 0.6005 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003961/0.1921, allocations: 231.9 kB / 0.6007 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.281e-05/0.1922, allocations: 17.5 kB / 0.6007 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01035/0.2025, allocations: 3.36 MB / 0.604 GB, free: 248 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002177/0.2028, allocations: 87.67 kB / 0.6041 GB, free: 160 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.461e-05/0.2028, allocations: 15.92 kB / 0.6041 GB, free: 144 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.2746/0.4774, allocations: 1.033 MB / 0.6051 GB, free: 38.89 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.702e-05/0.4775, allocations: 38.22 kB / 0.6051 GB, free: 38.89 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001159/0.4776, allocations: 85.75 kB / 0.6052 GB, free: 38.89 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005593/0.4782, allocations: 370 kB / 0.6056 GB, free: 38.88 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.4782, allocations: 1.594 kB / 0.6056 GB, free: 38.88 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.252e-06/0.4782, allocations: 0 / 0.6056 GB, free: 38.88 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.4782, allocations: 0 / 0.6056 GB, free: 38.88 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.0005816/0.4788, allocations: 0.5003 MB / 0.6061 GB, free: 38.51 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.4788, allocations: 10.97 kB / 0.6061 GB, free: 38.51 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001538/0.479, allocations: 21.66 kB / 0.6061 GB, free: 38.5 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001527/0.4792, allocations: 221.4 kB / 0.6063 GB, free: 38.3 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.4792, allocations: 15.45 kB / 0.6063 GB, free: 38.3 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.071e-05/0.4792, allocations: 14.88 kB / 0.6063 GB, free: 38.3 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002914/0.4795, allocations: 243 kB / 0.6066 GB, free: 38.22 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.4795, allocations: 6.688 kB / 0.6066 GB, free: 38.22 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.067e-05/0.4795, allocations: 6.656 kB / 0.6066 GB, free: 38.22 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.476e-05/0.4796, allocations: 6.438 kB / 0.6066 GB, free: 38.22 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003531/0.4799, allocations: 428.4 kB / 0.607 GB, free: 38.22 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008105/0.4808, allocations: 0.9615 MB / 0.6079 GB, free: 37.48 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002267/0.481, allocations: 165.4 kB / 0.6081 GB, free: 37.46 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.116e-05/0.4811, allocations: 67.52 kB / 0.6081 GB, free: 37.45 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008232/0.4819, allocations: 1.825 MB / 0.6099 GB, free: 35.47 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/0.4819, allocations: 44.38 kB / 0.61 GB, free: 35.43 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.262e-06/0.482, allocations: 0 / 0.61 GB, free: 35.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0002872/0.4822, allocations: 143.4 kB / 0.6101 GB, free: 35.39 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.202e-05/0.4823, allocations: 58.19 kB / 0.6102 GB, free: 35.32 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/0.4824, allocations: 167.7 kB / 0.6103 GB, free: 35.21 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.4824, allocations: 32.36 kB / 0.6103 GB, free: 35.18 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.919e-05/0.4825, allocations: 143.8 kB / 0.6105 GB, free: 35.07 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.36e-05/0.4825, allocations: 53.7 kB / 0.6105 GB, free: 35.04 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.057e-05/0.4825, allocations: 55.09 kB / 0.6106 GB, free: 35.02 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.542e-05/0.4826, allocations: 322 kB / 0.6109 GB, free: 34.7 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.454e-05/0.4827, allocations: 35.06 kB / 0.6109 GB, free: 34.7 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.201e-05/0.4827, allocations: 142.1 kB / 0.6111 GB, free: 34.58 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001572/0.4829, allocations: 206.1 kB / 0.6113 GB, free: 34.45 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.4829, allocations: 3.625 kB / 0.6113 GB, free: 34.45 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002465/0.4832, allocations: 213.8 kB / 0.6115 GB, free: 34.41 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.4832, allocations: 5.781 kB / 0.6115 GB, free: 34.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.4832, allocations: 3.469 kB / 0.6115 GB, free: 34.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.4832, allocations: 5.75 kB / 0.6115 GB, free: 34.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001458/0.4834, allocations: 57.73 kB / 0.6115 GB, free: 34.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.4834, allocations: 10 kB / 0.6115 GB, free: 34.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.971e-05/0.4835, allocations: 30.94 kB / 0.6116 GB, free: 34.39 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.579e-05/0.4835, allocations: 22.17 kB / 0.6116 GB, free: 34.38 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 7.677e-05/0.4836, allocations: 137.5 kB / 0.6117 GB, free: 34.27 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.282e-05/0.4836, allocations: 12.38 kB / 0.6117 GB, free: 34.26 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002502/0.4839, allocations: 155.4 kB / 0.6119 GB, free: 34.22 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.4839, allocations: 6.188 kB / 0.6119 GB, free: 34.22 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.4839, allocations: 3.938 kB / 0.6119 GB, free: 34.22 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.4839, allocations: 0 / 0.6119 GB, free: 34.22 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001752/0.4841, allocations: 212 kB / 0.6121 GB, free: 34.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.4841, allocations: 4 kB / 0.6121 GB, free: 34.03 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.674e-05/0.4842, allocations: 30.77 kB / 0.6121 GB, free: 34.03 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.4842, allocations: 2.953 kB / 0.6121 GB, free: 34.03 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.4842, allocations: 3.125 kB / 0.6121 GB, free: 34.03 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.4842, allocations: 0 / 0.6121 GB, free: 34.03 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.4842, allocations: 5.25 kB / 0.6121 GB, free: 34.02 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001784/0.4844, allocations: 216.9 kB / 0.6124 GB, free: 33.88 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.742e-05/0.4845, allocations: 113 kB / 0.6125 GB, free: 33.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.254e-05/0.4845, allocations: 4 kB / 0.6125 GB, free: 33.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001834/0.4847, allocations: 18.11 kB / 0.6125 GB, free: 33.78 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.995e-05/0.4847, allocations: 15.83 kB / 0.6125 GB, free: 33.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.79e-05/0.4848, allocations: 8.844 kB / 0.6125 GB, free: 33.77 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.78e-05/0.4848, allocations: 124.4 kB / 0.6126 GB, free: 33.7 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4848, allocations: 0 / 0.6126 GB, free: 33.7 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003372/0.4852, allocations: 82.56 kB / 0.6127 GB, free: 33.69 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.0003257/0.4855, allocations: 184.6 kB / 0.6129 GB, free: 33.59 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002065/0.4857, allocations: 128.9 kB / 0.613 GB, free: 33.58 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.4857, allocations: 0 / 0.613 GB, free: 33.58 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.296e-05/0.4858, allocations: 46.98 kB / 0.613 GB, free: 33.58 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004018/0.4862, allocations: 59.47 kB / 0.6131 GB, free: 33.57 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005717/0.4868, allocations: 395.3 kB / 0.6135 GB, free: 33.35 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001177/0.4869, allocations: 0.7114 MB / 0.6142 GB, free: 32.65 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001556/0.4871, allocations: 50.27 kB / 0.6142 GB, free: 32.65 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.737e-05/0.4871, allocations: 31.08 kB / 0.6143 GB, free: 32.64 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.4871, allocations: 0 / 0.6143 GB, free: 32.64 MB / 0.4981 GB Notification: Performance of Templates: time 0.006008/0.4931, allocations: 3.609 MB / 0.6178 GB, free: 32.35 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)