Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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_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.0008466/0.0008465, allocations: 98.19 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.006235/0.006235, allocations: 168.5 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.465/1.465, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.866/0.866, allocations: 132.4 MB / 423.8 MB, free: 1.949 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003889/0.0003892, allocations: 12.73 kB / 0.504 GB, free: 3.934 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5358/0.5362, allocations: 81.57 MB / 0.5837 GB, free: 4.324 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01898/0.5553, allocations: 13.35 MB / 0.5967 GB, free: 11.19 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003344/0.5587, allocations: 2.66 MB / 0.5993 GB, free: 9.281 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.551e-05/0.5588, allocations: 1.312 kB / 0.5993 GB, free: 9.281 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003049/0.5591, allocations: 41.16 kB / 0.5993 GB, free: 9.262 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000342/0.5594, allocations: 88.81 kB / 0.5994 GB, free: 9.207 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001416/0.5609, allocations: 458 kB / 0.5999 GB, free: 8.973 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004195/0.5613, allocations: 304.6 kB / 0.6002 GB, free: 8.863 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.443e-05/0.5614, allocations: 8.812 kB / 0.6002 GB, free: 8.859 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01048/0.5719, allocations: 3.167 MB / 0.6033 GB, free: 6.828 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002533/0.5721, allocations: 95.36 kB / 0.6034 GB, free: 6.773 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.688e-05/0.5722, allocations: 6.031 kB / 0.6034 GB, free: 6.773 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003288/0.5755, allocations: 0.9665 MB / 0.6043 GB, free: 6.246 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.496e-05/0.5755, allocations: 39.64 kB / 0.6043 GB, free: 6.219 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001266/0.5757, allocations: 113.7 kB / 0.6044 GB, free: 6.137 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008955/0.5766, allocations: 362 kB / 0.6048 GB, free: 5.938 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.5766, allocations: 1.031 kB / 0.6048 GB, free: 5.938 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.265e-06/0.5766, allocations: 0 / 0.6048 GB, free: 5.938 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.5766, allocations: 0 / 0.6048 GB, free: 5.938 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.0008874/0.5775, allocations: 465.7 kB / 0.6052 GB, free: 5.492 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.5776, allocations: 8.438 kB / 0.6052 GB, free: 5.492 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001835/0.5778, allocations: 29.7 kB / 0.6053 GB, free: 5.477 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002591/0.578, allocations: 225.5 kB / 0.6055 GB, free: 5.23 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.612e-05/0.5781, allocations: 19.56 kB / 0.6055 GB, free: 5.219 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.684e-05/0.5781, allocations: 13.97 kB / 0.6055 GB, free: 5.215 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004333/0.5785, allocations: 246.1 kB / 0.6058 GB, free: 5.043 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.5786, allocations: 1.125 kB / 0.6058 GB, free: 5.043 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.341e-05/0.5786, allocations: 15.06 kB / 0.6058 GB, free: 5.031 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.965e-05/0.5786, allocations: 13.23 kB / 0.6058 GB, free: 5.023 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005246/0.5792, allocations: 429.2 kB / 0.6062 GB, free: 4.832 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001177/0.5803, allocations: 0.9618 MB / 0.6071 GB, free: 3.891 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002781/0.5806, allocations: 167.5 kB / 0.6073 GB, free: 3.809 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001215/0.5808, allocations: 63.53 kB / 0.6074 GB, free: 3.777 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001384/0.5822, allocations: 1.835 MB / 0.6091 GB, free: 1.672 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/0.5822, allocations: 37.12 kB / 0.6092 GB, free: 1.629 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.633e-06/0.5822, allocations: 0 / 0.6092 GB, free: 1.629 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003704/0.5826, allocations: 149.9 kB / 0.6093 GB, free: 1.547 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.972e-05/0.5826, allocations: 56.44 kB / 0.6094 GB, free: 1.48 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001574/0.5828, allocations: 165.4 kB / 0.6095 GB, free: 1.348 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/0.5828, allocations: 27.08 kB / 0.6096 GB, free: 1.316 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.721e-05/0.5829, allocations: 147.8 kB / 0.6097 GB, free: 1.176 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.936e-05/0.583, allocations: 58.06 kB / 0.6098 GB, free: 1.125 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.733e-05/0.583, allocations: 27.77 kB / 0.6098 GB, free: 1.098 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.5831, allocations: 323 kB / 0.6101 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.318e-05/0.5832, allocations: 32.98 kB / 0.6101 GB, free: 0.7656 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001418/0.5834, allocations: 147 kB / 0.6103 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002397/0.5836, allocations: 203.4 kB / 0.6105 GB, free: 428 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.5836, allocations: 0 / 0.6105 GB, free: 428 kB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003321/0.584, allocations: 217.1 kB / 0.6107 GB, free: 308 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.584, allocations: 12.17 kB / 0.6107 GB, free: 304 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.584, allocations: 4.438 kB / 0.6107 GB, free: 304 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.584, allocations: 5.312 kB / 0.6107 GB, free: 304 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001808/0.5842, allocations: 52.05 kB / 0.6107 GB, free: 292 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.337e-05/0.5842, allocations: 9.5 kB / 0.6107 GB, free: 288 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/0.5844, allocations: 28.47 kB / 0.6108 GB, free: 268 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.612e-05/0.5844, allocations: 19.52 kB / 0.6108 GB, free: 260 kB / 446.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.0001227/0.5845, allocations: 130 kB / 0.6109 GB, free: 128 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.393e-05/0.5846, allocations: 12.09 kB / 0.6109 GB, free: 124 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000324/0.5849, allocations: 156.6 kB / 0.6111 GB, free: 24 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.315e-05/0.5849, allocations: 5.969 kB / 0.6111 GB, free: 20 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.5849, allocations: 3.938 kB / 0.6111 GB, free: 16 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.5849, allocations: 4.953 kB / 0.6111 GB, free: 12 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002556/0.5852, allocations: 213.9 kB / 0.6113 GB, free: 15.78 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.5852, allocations: 0 / 0.6113 GB, free: 15.78 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.207e-05/0.5853, allocations: 31.45 kB / 0.6113 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.5853, allocations: 5.516 kB / 0.6113 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.5853, allocations: 1.312 kB / 0.6113 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.5854, allocations: 5.312 kB / 0.6113 GB, free: 15.76 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.5854, allocations: 0 / 0.6113 GB, free: 15.76 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002479/0.5856, allocations: 224.3 kB / 0.6116 GB, free: 15.58 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.137e-05/0.5857, allocations: 106.4 kB / 0.6117 GB, free: 15.47 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.778e-05/0.5857, allocations: 8.891 kB / 0.6117 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002201/0.586, allocations: 24.61 kB / 0.6117 GB, free: 15.45 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.965e-05/0.586, allocations: 9.219 kB / 0.6117 GB, free: 15.45 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.493e-05/0.586, allocations: 14.05 kB / 0.6117 GB, free: 15.44 MB / 462.1 MB Notification: Performance of sorting global known variables: time 9.154e-05/0.5861, allocations: 117.2 kB / 0.6118 GB, free: 15.35 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5861, allocations: 0 / 0.6118 GB, free: 15.35 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004267/0.5866, allocations: 82.08 kB / 0.6119 GB, free: 15.32 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.0003747/0.587, allocations: 180.5 kB / 0.6121 GB, free: 15.2 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002543/0.5872, allocations: 129.4 kB / 0.6122 GB, free: 15.15 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.5872, allocations: 0 / 0.6122 GB, free: 15.15 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 7.376e-05/0.5873, allocations: 45.67 kB / 0.6122 GB, free: 15.13 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004745/0.5878, allocations: 47.92 kB / 0.6123 GB, free: 15.11 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000793/0.5886, allocations: 435.1 kB / 0.6127 GB, free: 14.79 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002869/0.5889, allocations: 0.7124 MB / 0.6134 GB, free: 14.08 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001803/0.5891, allocations: 52.98 kB / 0.6134 GB, free: 14.06 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.152e-05/0.5891, allocations: 21.72 kB / 0.6135 GB, free: 14.05 MB / 462.1 MB Notification: Performance of SimCode: time 2.5e-07/0.5891, allocations: 0 / 0.6135 GB, free: 14.05 MB / 462.1 MB Notification: Performance of Templates: time 0.007673/0.5968, allocations: 3.512 MB / 0.6169 GB, free: 12.28 MB / 462.1 MB make -j1 -f IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.makefile (rm -f IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)