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.001159/0.001159, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001377/0.001377, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.423/1.423, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9919/0.9919, allocations: 135.1 MB / 425.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 64.61 kB / 0.5047 GB, free: 5.781 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.184/0.1852, allocations: 80.92 MB / 0.5837 GB, free: 5.035 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01672/0.202, allocations: 13.87 MB / 0.5972 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002655/0.2047, allocations: 2.691 MB / 0.5999 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.091e-05/0.2048, allocations: 0 / 0.5999 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002615/0.2051, allocations: 39.8 kB / 0.5999 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00024/0.2053, allocations: 87.48 kB / 0.6 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001014/0.2063, allocations: 459.2 kB / 0.6004 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002688/0.2066, allocations: 311.8 kB / 0.6007 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.655e-05/0.2067, allocations: 13.5 kB / 0.6007 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007271/0.214, allocations: 3.154 MB / 0.6038 GB, free: 352 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001413/0.2141, allocations: 83.67 kB / 0.6039 GB, free: 268 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.016e-05/0.2141, allocations: 8 kB / 0.6039 GB, free: 260 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3458/0.56, allocations: 0.969 MB / 0.6049 GB, free: 39.14 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001248/0.5601, allocations: 37.75 kB / 0.6049 GB, free: 39.14 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000167/0.5603, allocations: 80.8 kB / 0.605 GB, free: 39.14 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000907/0.5612, allocations: 363.6 kB / 0.6053 GB, free: 39.13 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.5612, allocations: 0.5 kB / 0.6053 GB, free: 39.13 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.072e-06/0.5612, allocations: 2.938 kB / 0.6053 GB, free: 39.13 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.5613, allocations: 0.5938 kB / 0.6053 GB, free: 39.13 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.0007412/0.562, allocations: 0.5023 MB / 0.6058 GB, free: 38.76 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.5621, allocations: 11.81 kB / 0.6058 GB, free: 38.76 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001705/0.5622, allocations: 21.38 kB / 0.6058 GB, free: 38.75 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001803/0.5624, allocations: 222.3 kB / 0.6061 GB, free: 38.54 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.5624, allocations: 13.33 kB / 0.6061 GB, free: 38.54 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.849e-05/0.5625, allocations: 15.59 kB / 0.6061 GB, free: 38.54 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003495/0.5628, allocations: 252.5 kB / 0.6063 GB, free: 38.47 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.5628, allocations: 1.438 kB / 0.6063 GB, free: 38.47 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.501e-05/0.5629, allocations: 9.062 kB / 0.6063 GB, free: 38.47 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.572e-05/0.5629, allocations: 6.094 kB / 0.6063 GB, free: 38.47 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004039/0.5633, allocations: 425.2 kB / 0.6067 GB, free: 38.47 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009499/0.5643, allocations: 0.9608 MB / 0.6077 GB, free: 37.73 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002565/0.5645, allocations: 159.6 kB / 0.6078 GB, free: 37.71 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.384e-05/0.5646, allocations: 66.78 kB / 0.6079 GB, free: 37.7 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009666/0.5656, allocations: 1.829 MB / 0.6097 GB, free: 35.72 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/0.5657, allocations: 45.3 kB / 0.6097 GB, free: 35.68 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.563e-06/0.5657, allocations: 0 / 0.6097 GB, free: 35.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0003246/0.566, allocations: 144.4 kB / 0.6099 GB, free: 35.64 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.167e-05/0.566, allocations: 61.61 kB / 0.6099 GB, free: 35.57 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.5662, allocations: 168.4 kB / 0.6101 GB, free: 35.47 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.5662, allocations: 25.7 kB / 0.6101 GB, free: 35.44 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.792e-05/0.5662, allocations: 146 kB / 0.6102 GB, free: 35.32 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.732e-05/0.5663, allocations: 52.14 kB / 0.6103 GB, free: 35.29 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.854e-05/0.5663, allocations: 55.75 kB / 0.6104 GB, free: 35.27 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.752e-05/0.5664, allocations: 324.5 kB / 0.6107 GB, free: 34.95 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.206e-05/0.5665, allocations: 36.09 kB / 0.6107 GB, free: 34.95 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001017/0.5666, allocations: 144.4 kB / 0.6108 GB, free: 34.83 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001848/0.5668, allocations: 200.3 kB / 0.611 GB, free: 34.7 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.5668, allocations: 3.5 kB / 0.611 GB, free: 34.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002914/0.5671, allocations: 218 kB / 0.6112 GB, free: 34.66 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.5671, allocations: 7.75 kB / 0.6112 GB, free: 34.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.5671, allocations: 2.812 kB / 0.6112 GB, free: 34.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.885e-05/0.5672, allocations: 5.562 kB / 0.6113 GB, free: 34.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001602/0.5673, allocations: 57.62 kB / 0.6113 GB, free: 34.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.5673, allocations: 10.91 kB / 0.6113 GB, free: 34.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001048/0.5675, allocations: 30.41 kB / 0.6113 GB, free: 34.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.5e-05/0.5675, allocations: 13.62 kB / 0.6114 GB, free: 34.64 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 9.8e-05/0.5676, allocations: 131.1 kB / 0.6115 GB, free: 34.53 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.874e-05/0.5676, allocations: 16.31 kB / 0.6115 GB, free: 34.52 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003017/0.568, allocations: 169.4 kB / 0.6117 GB, free: 34.48 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.568, allocations: 0 / 0.6117 GB, free: 34.48 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.568, allocations: 3.938 kB / 0.6117 GB, free: 34.48 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.568, allocations: 3.328 kB / 0.6117 GB, free: 34.48 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002061/0.5682, allocations: 214.5 kB / 0.6119 GB, free: 34.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.5682, allocations: 2.953 kB / 0.6119 GB, free: 34.29 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.946e-05/0.5683, allocations: 22.89 kB / 0.6119 GB, free: 34.29 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.5683, allocations: 5.969 kB / 0.6119 GB, free: 34.29 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.5683, allocations: 3.938 kB / 0.6119 GB, free: 34.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.5683, allocations: 0.5469 kB / 0.6119 GB, free: 34.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.5683, allocations: 6.812 kB / 0.6119 GB, free: 34.29 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002046/0.5685, allocations: 218.5 kB / 0.6121 GB, free: 34.15 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.107e-05/0.5686, allocations: 111.7 kB / 0.6122 GB, free: 34.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.738e-05/0.5687, allocations: 6.562 kB / 0.6122 GB, free: 34.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001885/0.5689, allocations: 18.88 kB / 0.6123 GB, free: 34.04 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.777e-05/0.5689, allocations: 17.67 kB / 0.6123 GB, free: 34.04 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.113e-05/0.5689, allocations: 10 kB / 0.6123 GB, free: 34.04 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.25e-05/0.569, allocations: 119.6 kB / 0.6124 GB, free: 33.96 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.569, allocations: 0.9375 kB / 0.6124 GB, free: 33.96 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000388/0.5694, allocations: 82.03 kB / 0.6125 GB, free: 33.95 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.000362/0.5698, allocations: 191.1 kB / 0.6127 GB, free: 33.85 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002603/0.57, allocations: 118.5 kB / 0.6128 GB, free: 33.85 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.57, allocations: 2.844 kB / 0.6128 GB, free: 33.85 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.421e-05/0.5701, allocations: 50.03 kB / 0.6128 GB, free: 33.84 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004663/0.5706, allocations: 52.36 kB / 0.6129 GB, free: 33.84 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007365/0.5713, allocations: 391.1 kB / 0.6132 GB, free: 33.62 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002236/0.5716, allocations: 0.7118 MB / 0.6139 GB, free: 32.93 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001792/0.5718, allocations: 51.56 kB / 0.614 GB, free: 32.93 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.552e-05/0.5718, allocations: 20.25 kB / 0.614 GB, free: 32.92 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.5718, allocations: 0 / 0.614 GB, free: 32.92 MB / 0.4981 GB Notification: Performance of Templates: time 0.006852/0.5787, allocations: 3.529 MB / 0.6175 GB, free: 32.62 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)