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.001279/0.001279, allocations: 116.1 kB / 16.37 MB, free: 6.012 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.001245/0.001245, allocations: 194.3 kB / 17.31 MB, free: 5.613 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.32/1.32, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7968/0.7968, allocations: 132.2 MB / 423.4 MB, free: 6.609 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 56.14 kB / 0.5032 GB, free: 10.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.334, allocations: 80.18 MB / 0.5815 GB, free: 27.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01218/0.3462, allocations: 12.98 MB / 0.5942 GB, free: 17.23 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001919/0.3481, allocations: 2.662 MB / 0.5968 GB, free: 14.57 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.468e-05/0.3482, allocations: 0 / 0.5968 GB, free: 14.57 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002368/0.3485, allocations: 48.19 kB / 0.5968 GB, free: 14.52 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002174/0.3487, allocations: 97.5 kB / 0.5969 GB, free: 14.43 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008522/0.3496, allocations: 0.5038 MB / 0.5974 GB, free: 13.93 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000187/0.3498, allocations: 231.9 kB / 0.5976 GB, free: 13.7 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.067e-05/0.3498, allocations: 15.36 kB / 0.5976 GB, free: 13.69 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007046/0.3569, allocations: 3.582 MB / 0.6011 GB, free: 10.1 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001269/0.357, allocations: 95.66 kB / 0.6012 GB, free: 10.01 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.229e-05/0.3571, allocations: 8 kB / 0.6012 GB, free: 10 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002442/0.3595, allocations: 1.072 MB / 0.6023 GB, free: 8.938 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.982e-05/0.3596, allocations: 39.83 kB / 0.6023 GB, free: 8.898 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.243e-05/0.3597, allocations: 83.64 kB / 0.6024 GB, free: 8.816 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006438/0.3603, allocations: 371.1 kB / 0.6028 GB, free: 8.453 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3604, allocations: 0 / 0.6028 GB, free: 8.453 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3604, allocations: 0 / 0.6028 GB, free: 8.453 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.3604, allocations: 0 / 0.6028 GB, free: 8.453 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.0007603/0.3611, allocations: 0.4992 MB / 0.6032 GB, free: 7.906 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.3612, allocations: 8.031 kB / 0.6032 GB, free: 7.898 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001701/0.3614, allocations: 24.83 kB / 0.6033 GB, free: 7.875 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002811/0.3617, allocations: 216 kB / 0.6035 GB, free: 7.625 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.3617, allocations: 12.7 kB / 0.6035 GB, free: 7.613 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.827e-05/0.3617, allocations: 16.38 kB / 0.6035 GB, free: 7.598 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000338/0.3621, allocations: 248.2 kB / 0.6037 GB, free: 7.336 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.3621, allocations: 4 kB / 0.6037 GB, free: 7.332 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.154e-05/0.3621, allocations: 4 kB / 0.6037 GB, free: 7.328 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.619e-05/0.3621, allocations: 11.98 kB / 0.6038 GB, free: 7.316 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003812/0.3625, allocations: 439.3 kB / 0.6042 GB, free: 6.887 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008907/0.3634, allocations: 0.9489 MB / 0.6051 GB, free: 5.848 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002301/0.3637, allocations: 165.4 kB / 0.6053 GB, free: 5.68 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.948e-05/0.3637, allocations: 64.81 kB / 0.6053 GB, free: 5.613 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008552/0.3646, allocations: 1.836 MB / 0.6071 GB, free: 3.418 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/0.3646, allocations: 42.56 kB / 0.6072 GB, free: 3.367 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.212e-06/0.3646, allocations: 0 / 0.6072 GB, free: 3.367 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0002939/0.3649, allocations: 139.9 kB / 0.6073 GB, free: 3.227 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.195e-05/0.365, allocations: 63.28 kB / 0.6074 GB, free: 3.152 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.3651, allocations: 169.5 kB / 0.6075 GB, free: 2.977 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.3651, allocations: 33.7 kB / 0.6075 GB, free: 2.938 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.247e-05/0.3652, allocations: 143.8 kB / 0.6077 GB, free: 2.793 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.469e-05/0.3652, allocations: 47.3 kB / 0.6077 GB, free: 2.746 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.183e-05/0.3653, allocations: 53.61 kB / 0.6078 GB, free: 2.688 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.168e-05/0.3653, allocations: 330.8 kB / 0.6081 GB, free: 2.355 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.153e-05/0.3654, allocations: 35.97 kB / 0.6081 GB, free: 2.32 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.663e-05/0.3655, allocations: 133.7 kB / 0.6083 GB, free: 2.141 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001604/0.3657, allocations: 201.5 kB / 0.6084 GB, free: 1.895 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.3657, allocations: 4 kB / 0.6085 GB, free: 1.891 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002549/0.3659, allocations: 215.2 kB / 0.6087 GB, free: 1.676 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.366, allocations: 4.031 kB / 0.6087 GB, free: 1.672 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.366, allocations: 11.94 kB / 0.6087 GB, free: 1.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.366, allocations: 8 kB / 0.6087 GB, free: 1.652 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/0.3661, allocations: 55.86 kB / 0.6087 GB, free: 1.598 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.3662, allocations: 11.92 kB / 0.6087 GB, free: 1.586 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.786e-05/0.3663, allocations: 23.75 kB / 0.6088 GB, free: 1.562 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.816e-05/0.3663, allocations: 16 kB / 0.6088 GB, free: 1.547 MB / 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 7.536e-05/0.3664, allocations: 130.4 kB / 0.6089 GB, free: 1.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.579e-05/0.3664, allocations: 15.81 kB / 0.6089 GB, free: 1.395 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002697/0.3667, allocations: 166.1 kB / 0.6091 GB, free: 1.23 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-06/0.3667, allocations: 3.938 kB / 0.6091 GB, free: 1.227 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.3667, allocations: 0 / 0.6091 GB, free: 1.227 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.3667, allocations: 7.938 kB / 0.6091 GB, free: 1.219 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001741/0.3669, allocations: 213.5 kB / 0.6093 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.3669, allocations: 0 / 0.6093 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.117e-05/0.367, allocations: 23.94 kB / 0.6093 GB, free: 0.9375 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.367, allocations: 0 / 0.6093 GB, free: 0.9375 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.367, allocations: 11.97 kB / 0.6093 GB, free: 0.9258 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.367, allocations: 3.938 kB / 0.6093 GB, free: 0.9219 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.367, allocations: 4 kB / 0.6093 GB, free: 0.918 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001898/0.3672, allocations: 220.8 kB / 0.6095 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.495e-05/0.3673, allocations: 112.8 kB / 0.6097 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.358e-05/0.3674, allocations: 4 kB / 0.6097 GB, free: 0.5547 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001832/0.3676, allocations: 15.92 kB / 0.6097 GB, free: 0.5391 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.241e-05/0.3676, allocations: 15.98 kB / 0.6097 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.828e-05/0.3676, allocations: 4 kB / 0.6097 GB, free: 0.5195 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.842e-05/0.3677, allocations: 128.9 kB / 0.6098 GB, free: 404 kB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3677, allocations: 0 / 0.6098 GB, free: 404 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003561/0.368, allocations: 79.98 kB / 0.6099 GB, free: 324 kB / 446.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.0002331/0.3683, allocations: 186 kB / 0.6101 GB, free: 132 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002029/0.3685, allocations: 115.1 kB / 0.6102 GB, free: 20 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.3685, allocations: 0 / 0.6102 GB, free: 20 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.338e-05/0.3686, allocations: 44 kB / 0.6102 GB, free: 15.97 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004095/0.369, allocations: 67.16 kB / 0.6103 GB, free: 15.91 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006415/0.3697, allocations: 342.9 kB / 0.6106 GB, free: 15.55 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002791/0.37, allocations: 0.7166 MB / 0.6113 GB, free: 14.81 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001495/0.3701, allocations: 46.3 kB / 0.6114 GB, free: 14.77 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.448e-05/0.3702, allocations: 35.36 kB / 0.6114 GB, free: 14.74 MB / 462.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3702, allocations: 3.938 kB / 0.6114 GB, free: 14.73 MB / 462.1 MB Notification: Performance of Templates: time 0.007004/0.3772, allocations: 3.609 MB / 0.6149 GB, free: 11.18 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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)