Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo", uses=false) Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo) Running command: translateModel(ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_T") translateModel(ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.825/0.825, allocations: 150.9 MB / 167.1 MB, free: 14.5 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000325/0.000325, allocations: 19.97 kB / 205.9 MB, free: 9.008 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1315, allocations: 31.32 MB / 237.3 MB, free: 5.719 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_T): time 1.555/1.686, allocations: 293.4 MB / 0.5183 GB, free: 14.24 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003649/1.69, allocations: 3.288 MB / 0.5215 GB, free: 10.98 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.757e-05/1.69, allocations: 0 / 0.5215 GB, free: 10.98 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.677e-05/1.69, allocations: 3.938 kB / 0.5215 GB, free: 10.98 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 7.346e-05/1.69, allocations: 20.75 kB / 0.5215 GB, free: 10.96 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000985/1.691, allocations: 426 kB / 0.5219 GB, free: 10.54 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 8.119e-05/1.691, allocations: 56.84 kB / 0.522 GB, free: 10.49 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.266e-05/1.691, allocations: 23.91 kB / 0.522 GB, free: 10.46 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.903e-05/1.691, allocations: 19.94 kB / 0.522 GB, free: 10.45 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.581e-05/1.691, allocations: 30.22 kB / 0.522 GB, free: 10.42 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.199e-05/1.691, allocations: 0 / 0.522 GB, free: 10.42 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006649/1.692, allocations: 355.5 kB / 0.5224 GB, free: 10.07 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.169e-05/1.692, allocations: 3.984 kB / 0.5224 GB, free: 10.07 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.76e-05/1.692, allocations: 31.84 kB / 0.5224 GB, free: 10.04 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000558/1.692, allocations: 373 kB / 0.5228 GB, free: 9.672 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/1.692, allocations: 3.938 kB / 0.5228 GB, free: 9.668 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.543e-06/1.692, allocations: 0.5 kB / 0.5228 GB, free: 9.668 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.157e-06/1.692, allocations: 1.406 kB / 0.5228 GB, free: 9.668 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004439/1.693, allocations: 411.2 kB / 0.5232 GB, free: 9.219 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.138e-05/1.693, allocations: 8.75 kB / 0.5232 GB, free: 9.211 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.405e-05/1.693, allocations: 8.844 kB / 0.5232 GB, free: 9.203 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/1.693, allocations: 168.9 kB / 0.5233 GB, free: 9 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/1.693, allocations: 5.156 kB / 0.5234 GB, free: 8.996 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.594e-05/1.693, allocations: 4.375 kB / 0.5234 GB, free: 8.992 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/1.693, allocations: 62.73 kB / 0.5234 GB, free: 8.926 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/1.693, allocations: 7.938 kB / 0.5234 GB, free: 8.918 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/1.693, allocations: 0.625 kB / 0.5234 GB, free: 8.918 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-06/1.693, allocations: 5.938 kB / 0.5234 GB, free: 8.914 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001307/1.694, allocations: 86.19 kB / 0.5235 GB, free: 8.832 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001765/1.694, allocations: 185.5 kB / 0.5237 GB, free: 8.602 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001231/1.694, allocations: 78.7 kB / 0.5238 GB, free: 8.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.65e-05/1.694, allocations: 24.86 kB / 0.5238 GB, free: 8.492 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00173/1.696, allocations: 2.623 MB / 0.5263 GB, free: 5.281 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/1.696, allocations: 43.97 kB / 0.5264 GB, free: 5.23 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.432e-06/1.696, allocations: 0 / 0.5264 GB, free: 5.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002391/1.696, allocations: 101.7 kB / 0.5265 GB, free: 5.125 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.826e-05/1.696, allocations: 56.06 kB / 0.5265 GB, free: 5.059 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.311e-05/1.696, allocations: 102.3 kB / 0.5266 GB, free: 4.949 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/1.696, allocations: 29.7 kB / 0.5267 GB, free: 4.914 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.105e-05/1.696, allocations: 81.33 kB / 0.5267 GB, free: 4.832 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.104e-05/1.696, allocations: 43.34 kB / 0.5268 GB, free: 4.789 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.94e-05/1.696, allocations: 30.81 kB / 0.5268 GB, free: 4.754 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001014/1.696, allocations: 318.8 kB / 0.5271 GB, free: 4.434 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.734e-05/1.696, allocations: 16.61 kB / 0.5271 GB, free: 4.418 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.697e-05/1.696, allocations: 20.97 kB / 0.5272 GB, free: 4.398 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.395e-05/1.696, allocations: 57.98 kB / 0.5272 GB, free: 4.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/1.696, allocations: 1.469 kB / 0.5272 GB, free: 4.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001491/1.697, allocations: 91.25 kB / 0.5273 GB, free: 4.246 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/1.697, allocations: 9.344 kB / 0.5273 GB, free: 4.238 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/1.697, allocations: 0 / 0.5273 GB, free: 4.238 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/1.697, allocations: 0.5312 kB / 0.5273 GB, free: 4.238 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/1.697, allocations: 25.08 kB / 0.5273 GB, free: 4.215 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/1.697, allocations: 7.938 kB / 0.5273 GB, free: 4.207 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.517e-05/1.697, allocations: 3.906 kB / 0.5273 GB, free: 4.203 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/1.697, allocations: 8.906 kB / 0.5274 GB, free: 4.195 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (12): * Single equations (assignments): 12 * Array equations: 0 * 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 8.05e-05/1.697, allocations: 119.7 kB / 0.5275 GB, free: 4.07 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.69e-05/1.697, allocations: 7.938 kB / 0.5275 GB, free: 4.062 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002511/1.697, allocations: 131.9 kB / 0.5276 GB, free: 3.926 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/1.697, allocations: 0 / 0.5276 GB, free: 3.926 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/1.697, allocations: 0 / 0.5276 GB, free: 3.926 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/1.697, allocations: 4 kB / 0.5276 GB, free: 3.922 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001293/1.697, allocations: 173.6 kB / 0.5278 GB, free: 3.703 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/1.697, allocations: 0 / 0.5278 GB, free: 3.703 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.705e-05/1.698, allocations: 23.98 kB / 0.5278 GB, free: 3.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/1.698, allocations: 5.531 kB / 0.5278 GB, free: 3.676 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.278e-06/1.698, allocations: 4 kB / 0.5278 GB, free: 3.672 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/1.698, allocations: 0 / 0.5278 GB, free: 3.672 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/1.698, allocations: 4 kB / 0.5278 GB, free: 3.668 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000171/1.698, allocations: 127.4 kB / 0.5279 GB, free: 3.527 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.927e-05/1.698, allocations: 97.92 kB / 0.528 GB, free: 3.414 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/1.698, allocations: 3.938 kB / 0.528 GB, free: 3.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.651e-05/1.698, allocations: 4 kB / 0.528 GB, free: 3.406 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.334e-05/1.698, allocations: 17.14 kB / 0.528 GB, free: 3.391 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/1.698, allocations: 0 / 0.528 GB, free: 3.391 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.727e-05/1.698, allocations: 80.88 kB / 0.5281 GB, free: 3.312 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/1.698, allocations: 0 / 0.5281 GB, free: 3.312 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003161/1.698, allocations: 111.9 kB / 0.5282 GB, free: 3.203 MB / 414.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 (13): * Single equations (assignments): 13 * Array equations: 0 * 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.0004646/1.699, allocations: 311.1 kB / 0.5285 GB, free: 2.91 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001413/1.699, allocations: 59.92 kB / 0.5286 GB, free: 2.852 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/1.699, allocations: 4 kB / 0.5286 GB, free: 2.848 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.343e-05/1.699, allocations: 35.36 kB / 0.5286 GB, free: 2.816 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001977/1.699, allocations: 15.98 kB / 0.5286 GB, free: 2.801 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003585/1.699, allocations: 183 kB / 0.5288 GB, free: 2.605 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002277/1.7, allocations: 0.6846 MB / 0.5295 GB, free: 1.895 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.061e-05/1.7, allocations: 18.69 kB / 0.5295 GB, free: 1.879 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.925e-05/1.7, allocations: 15.44 kB / 0.5295 GB, free: 1.863 MB / 414.1 MB Notification: Performance of SimCode: time 2.2e-07/1.7, allocations: 0 / 0.5295 GB, free: 1.863 MB / 414.1 MB Notification: Performance of Templates: time 0.006825/1.707, allocations: 3.719 MB / 0.5331 GB, free: 14.34 MB / 430.1 MB make -j1 -f ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_T.makefile (rm -f ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_T.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_T.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_T.pipe >> ../files/ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_T.sim & ./ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_T -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_T.pipe 2>&1)