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-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_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.0008482/0.0008482, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.0008529/0.0008529, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.204/1.204, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8309/0.8309, allocations: 135.2 MB / 426.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002962/0.0002962, allocations: 8 kB / 0.5068 GB, free: 5.262 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1507, allocations: 82.3 MB / 0.5872 GB, free: 3.133 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01132/0.162, allocations: 11.16 MB / 0.5981 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002142/0.1642, allocations: 2.144 MB / 0.6002 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.79e-05/0.1643, allocations: 3.938 kB / 0.6002 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002084/0.1645, allocations: 39.81 kB / 0.6002 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002151/0.1647, allocations: 79.75 kB / 0.6003 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009128/0.1656, allocations: 436.8 kB / 0.6007 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000157/0.1658, allocations: 148.7 kB / 0.6009 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.169e-05/0.1659, allocations: 17.48 kB / 0.6009 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007785/0.1736, allocations: 4.304 MB / 0.6051 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001482/0.1738, allocations: 75.69 kB / 0.6051 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.232e-05/0.1738, allocations: 12 kB / 0.6052 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.2591/0.4329, allocations: 0.9947 MB / 0.6061 GB, free: 37.93 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.4331, allocations: 36.05 kB / 0.6062 GB, free: 37.93 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.929e-05/0.4332, allocations: 57.05 kB / 0.6062 GB, free: 37.9 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005484/0.4337, allocations: 220.5 kB / 0.6064 GB, free: 37.89 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.4337, allocations: 3.438 kB / 0.6064 GB, free: 37.89 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.513e-06/0.4337, allocations: 0 / 0.6064 GB, free: 37.89 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.4337, allocations: 0 / 0.6064 GB, free: 37.89 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.0006061/0.4344, allocations: 466.2 kB / 0.6069 GB, free: 37.48 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.4344, allocations: 11.25 kB / 0.6069 GB, free: 37.48 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001768/0.4346, allocations: 27.08 kB / 0.6069 GB, free: 37.47 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001933/0.4348, allocations: 212.2 kB / 0.6071 GB, free: 37.27 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.4348, allocations: 20.78 kB / 0.6071 GB, free: 37.27 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.551e-05/0.4348, allocations: 14.38 kB / 0.6072 GB, free: 37.27 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002976/0.4351, allocations: 239.3 kB / 0.6074 GB, free: 37.2 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.4352, allocations: 0.7031 kB / 0.6074 GB, free: 37.2 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.221e-05/0.4352, allocations: 9.75 kB / 0.6074 GB, free: 37.2 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.329e-05/0.4352, allocations: 7.344 kB / 0.6074 GB, free: 37.2 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003616/0.4356, allocations: 429.5 kB / 0.6078 GB, free: 37.2 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008889/0.4365, allocations: 1.013 MB / 0.6088 GB, free: 36.46 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002518/0.4367, allocations: 160.1 kB / 0.6089 GB, free: 36.44 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008223/0.4376, allocations: 1.856 MB / 0.6108 GB, free: 34.45 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.4376, allocations: 40.61 kB / 0.6108 GB, free: 34.41 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.372e-06/0.4376, allocations: 0 / 0.6108 GB, free: 34.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.000265/0.4379, allocations: 145.2 kB / 0.6109 GB, free: 34.37 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.512e-05/0.4379, allocations: 51.41 kB / 0.611 GB, free: 34.31 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.438, allocations: 174.3 kB / 0.6112 GB, free: 34.2 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.438, allocations: 35.23 kB / 0.6112 GB, free: 34.17 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.821e-05/0.4381, allocations: 138.5 kB / 0.6113 GB, free: 34.05 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.368e-05/0.4381, allocations: 58.48 kB / 0.6114 GB, free: 34.02 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.314e-06/0.4381, allocations: 3.938 kB / 0.6114 GB, free: 34.02 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.8e-05/0.4382, allocations: 327 kB / 0.6117 GB, free: 33.71 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.348e-05/0.4383, allocations: 37.3 kB / 0.6117 GB, free: 33.71 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.715e-05/0.4383, allocations: 132.5 kB / 0.6119 GB, free: 33.58 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.078e-05/0.4384, allocations: 57.69 kB / 0.6119 GB, free: 33.58 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.4384, allocations: 3.094 kB / 0.6119 GB, free: 33.58 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002401/0.4387, allocations: 219.1 kB / 0.6121 GB, free: 33.54 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.4387, allocations: 6 kB / 0.6121 GB, free: 33.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.4387, allocations: 5.641 kB / 0.6121 GB, free: 33.54 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.4387, allocations: 5.719 kB / 0.6121 GB, free: 33.54 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000167/0.4389, allocations: 57.31 kB / 0.6122 GB, free: 33.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.4389, allocations: 14.09 kB / 0.6122 GB, free: 33.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001066/0.439, allocations: 28.88 kB / 0.6122 GB, free: 33.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.839e-05/0.4391, allocations: 13.5 kB / 0.6122 GB, free: 33.52 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.401e-05/0.4391, allocations: 130.5 kB / 0.6124 GB, free: 33.4 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.653e-05/0.4392, allocations: 19.69 kB / 0.6124 GB, free: 33.39 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002454/0.4394, allocations: 162.8 kB / 0.6125 GB, free: 33.36 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/0.4395, allocations: 7.141 kB / 0.6125 GB, free: 33.35 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.4395, allocations: 4 kB / 0.6126 GB, free: 33.35 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.4395, allocations: 2.734 kB / 0.6126 GB, free: 33.35 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001709/0.4396, allocations: 215.4 kB / 0.6128 GB, free: 33.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.4397, allocations: 0 / 0.6128 GB, free: 33.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.964e-05/0.4398, allocations: 31.84 kB / 0.6128 GB, free: 33.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.4398, allocations: 3.281 kB / 0.6128 GB, free: 33.16 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.687e-06/0.4398, allocations: 0 / 0.6128 GB, free: 33.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.4398, allocations: 0 / 0.6128 GB, free: 33.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.4398, allocations: 3.953 kB / 0.6128 GB, free: 33.15 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001584/0.4399, allocations: 222.6 kB / 0.613 GB, free: 33.01 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.525e-05/0.44, allocations: 122.9 kB / 0.6131 GB, free: 32.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.3e-05/0.4401, allocations: 6.234 kB / 0.6131 GB, free: 32.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001906/0.4402, allocations: 16.66 kB / 0.6131 GB, free: 32.91 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.828e-05/0.4403, allocations: 13.75 kB / 0.6132 GB, free: 32.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.767e-05/0.4403, allocations: 12.25 kB / 0.6132 GB, free: 32.9 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.508e-05/0.4404, allocations: 127.4 kB / 0.6133 GB, free: 32.82 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4404, allocations: 0 / 0.6133 GB, free: 32.82 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003395/0.4407, allocations: 74.58 kB / 0.6134 GB, free: 32.82 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002104/0.4409, allocations: 176.5 kB / 0.6135 GB, free: 32.72 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001893/0.4411, allocations: 115.7 kB / 0.6136 GB, free: 32.71 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.4411, allocations: 0 / 0.6136 GB, free: 32.71 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.24e-05/0.4412, allocations: 49.08 kB / 0.6137 GB, free: 32.71 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000361/0.4416, allocations: 49.02 kB / 0.6137 GB, free: 32.71 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005363/0.4421, allocations: 428.8 kB / 0.6141 GB, free: 32.5 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001218/0.4422, allocations: 0.7193 MB / 0.6149 GB, free: 31.8 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001565/0.4424, allocations: 50.56 kB / 0.6149 GB, free: 31.8 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.342e-05/0.4424, allocations: 31.56 kB / 0.6149 GB, free: 31.79 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.4424, allocations: 0 / 0.6149 GB, free: 31.79 MB / 0.4981 GB Notification: Performance of Templates: time 0.00518/0.4476, allocations: 3.351 MB / 0.6182 GB, free: 31.48 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: