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.0009512/0.0009512, allocations: 94.3 kB / 15.05 MB, free: 1.113 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.0009599/0.0009599, allocations: 181.3 kB / 15.95 MB, free: 220 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.22/1.22, allocations: 223.2 MB / 239.9 MB, free: 5.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8223/0.8223, allocations: 135.2 MB / 426.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002767/0.0002768, allocations: 8 kB / 0.5068 GB, free: 5.246 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1407, allocations: 82.31 MB / 0.5872 GB, free: 3.105 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01332/0.1541, allocations: 11.16 MB / 0.5981 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002217/0.1564, allocations: 2.148 MB / 0.6002 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001019/0.1565, allocations: 0 / 0.6002 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002193/0.1567, allocations: 31.88 kB / 0.6002 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002179/0.1569, allocations: 83.75 kB / 0.6003 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001015/0.158, allocations: 429.7 kB / 0.6007 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001991/0.1582, allocations: 152.7 kB / 0.6009 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.825e-05/0.1582, allocations: 17.5 kB / 0.6009 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007281/0.1655, allocations: 4.292 MB / 0.6051 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001231/0.1657, allocations: 79.67 kB / 0.6051 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.118e-05/0.1657, allocations: 8 kB / 0.6051 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.2465/0.4122, allocations: 0.9953 MB / 0.6061 GB, free: 38.1 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.054e-05/0.4123, allocations: 39.73 kB / 0.6062 GB, free: 38.1 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.624e-05/0.4124, allocations: 51.55 kB / 0.6062 GB, free: 38.07 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004382/0.4129, allocations: 228.8 kB / 0.6064 GB, free: 38.06 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.4129, allocations: 0 / 0.6064 GB, free: 38.06 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.333e-06/0.4129, allocations: 0 / 0.6064 GB, free: 38.06 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.459e-06/0.4129, allocations: 0 / 0.6064 GB, free: 38.06 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.0005361/0.4134, allocations: 473.5 kB / 0.6069 GB, free: 37.65 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.866e-05/0.4135, allocations: 13.09 kB / 0.6069 GB, free: 37.65 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001514/0.4136, allocations: 25.14 kB / 0.6069 GB, free: 37.64 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001543/0.4138, allocations: 219.1 kB / 0.6071 GB, free: 37.44 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.4138, allocations: 15.34 kB / 0.6071 GB, free: 37.44 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.691e-05/0.4138, allocations: 15.75 kB / 0.6072 GB, free: 37.44 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002686/0.4141, allocations: 236.2 kB / 0.6074 GB, free: 37.37 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.4141, allocations: 3.953 kB / 0.6074 GB, free: 37.37 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.199e-05/0.4141, allocations: 7 kB / 0.6074 GB, free: 37.37 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.517e-05/0.4142, allocations: 8.406 kB / 0.6074 GB, free: 37.37 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003444/0.4145, allocations: 431.6 kB / 0.6078 GB, free: 37.37 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000804/0.4153, allocations: 1.011 MB / 0.6088 GB, free: 36.63 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002425/0.4156, allocations: 162 kB / 0.6089 GB, free: 36.61 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008125/0.4164, allocations: 1.858 MB / 0.6108 GB, free: 34.62 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.524e-05/0.4164, allocations: 37.2 kB / 0.6108 GB, free: 34.58 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.713e-06/0.4164, allocations: 7.281 kB / 0.6108 GB, free: 34.58 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0002626/0.4167, allocations: 136 kB / 0.6109 GB, free: 34.54 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.946e-05/0.4167, allocations: 57.94 kB / 0.611 GB, free: 34.48 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.966e-05/0.4168, allocations: 169.6 kB / 0.6112 GB, free: 34.37 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.4169, allocations: 28.64 kB / 0.6112 GB, free: 34.34 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.643e-05/0.4169, allocations: 140.8 kB / 0.6113 GB, free: 34.22 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.538e-05/0.4169, allocations: 56.75 kB / 0.6114 GB, free: 34.19 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.294e-06/0.417, allocations: 3.438 kB / 0.6114 GB, free: 34.19 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.165e-05/0.417, allocations: 327 kB / 0.6117 GB, free: 33.88 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.267e-05/0.4171, allocations: 39.86 kB / 0.6117 GB, free: 33.88 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.04e-05/0.4171, allocations: 137.9 kB / 0.6119 GB, free: 33.75 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.181e-05/0.4172, allocations: 53.78 kB / 0.6119 GB, free: 33.75 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.4172, allocations: 2.625 kB / 0.6119 GB, free: 33.75 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002478/0.4175, allocations: 211.6 kB / 0.6121 GB, free: 33.71 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.4175, allocations: 8.281 kB / 0.6121 GB, free: 33.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.4175, allocations: 12.97 kB / 0.6121 GB, free: 33.71 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.4175, allocations: 4.875 kB / 0.6121 GB, free: 33.71 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001626/0.4177, allocations: 60.58 kB / 0.6122 GB, free: 33.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.4177, allocations: 7.875 kB / 0.6122 GB, free: 33.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.4178, allocations: 27.03 kB / 0.6122 GB, free: 33.69 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.6e-05/0.4179, allocations: 18.31 kB / 0.6122 GB, free: 33.69 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 6.952e-05/0.4179, allocations: 129.3 kB / 0.6124 GB, free: 33.58 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.418, allocations: 21.44 kB / 0.6124 GB, free: 33.57 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002547/0.4182, allocations: 164 kB / 0.6125 GB, free: 33.53 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/0.4182, allocations: 3.953 kB / 0.6125 GB, free: 33.52 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.4183, allocations: 0 / 0.6125 GB, free: 33.52 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.4183, allocations: 6.359 kB / 0.6126 GB, free: 33.52 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001652/0.4184, allocations: 212.4 kB / 0.6128 GB, free: 33.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.4184, allocations: 0 / 0.6128 GB, free: 33.33 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.737e-05/0.4185, allocations: 27.91 kB / 0.6128 GB, free: 33.33 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.4186, allocations: 3.25 kB / 0.6128 GB, free: 33.33 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.4186, allocations: 10.7 kB / 0.6128 GB, free: 33.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.4186, allocations: 3.688 kB / 0.6128 GB, free: 33.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.4186, allocations: 3.953 kB / 0.6128 GB, free: 33.32 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001664/0.4187, allocations: 215.6 kB / 0.613 GB, free: 33.19 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.843e-05/0.4188, allocations: 124.2 kB / 0.6131 GB, free: 33.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.361e-05/0.4189, allocations: 3.438 kB / 0.6131 GB, free: 33.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001913/0.4191, allocations: 24.56 kB / 0.6132 GB, free: 33.08 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.826e-05/0.4191, allocations: 13.47 kB / 0.6132 GB, free: 33.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/0.4191, allocations: 11.81 kB / 0.6132 GB, free: 33.07 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.534e-05/0.4192, allocations: 123.1 kB / 0.6133 GB, free: 33 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4192, allocations: 0 / 0.6133 GB, free: 33 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003342/0.4195, allocations: 72.19 kB / 0.6134 GB, free: 33 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.0002174/0.4197, allocations: 183.7 kB / 0.6135 GB, free: 32.89 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001862/0.4199, allocations: 113.8 kB / 0.6136 GB, free: 32.89 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4199, allocations: 0.9375 kB / 0.6136 GB, free: 32.89 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.891e-05/0.42, allocations: 39.47 kB / 0.6137 GB, free: 32.89 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003651/0.4204, allocations: 57.19 kB / 0.6137 GB, free: 32.89 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004852/0.4209, allocations: 424.3 kB / 0.6141 GB, free: 32.67 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001104/0.421, allocations: 0.7211 MB / 0.6148 GB, free: 31.97 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001518/0.4211, allocations: 54.83 kB / 0.6149 GB, free: 31.97 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.17e-05/0.4212, allocations: 24.3 kB / 0.6149 GB, free: 31.96 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.4212, allocations: 0 / 0.6149 GB, free: 31.96 MB / 0.4981 GB Notification: Performance of Templates: time 0.005197/0.4264, allocations: 3.363 MB / 0.6182 GB, free: 31.64 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: