Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_d.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_d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_d") translateModel(ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_d") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8277/0.8277, allocations: 150.9 MB / 167.1 MB, free: 14.5 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003611/0.0003614, allocations: 11.98 kB / 205.9 MB, free: 9.031 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1349, allocations: 31.33 MB / 237.3 MB, free: 5.977 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_d): time 1.605/1.74, allocations: 293.4 MB / 0.5183 GB, free: 14.46 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004074/1.744, allocations: 3.692 MB / 0.5219 GB, free: 10.79 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.015e-05/1.744, allocations: 0 / 0.5219 GB, free: 10.79 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 3.74e-05/1.744, allocations: 5.281 kB / 0.5219 GB, free: 10.79 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 8.234e-05/1.744, allocations: 19.84 kB / 0.5219 GB, free: 10.77 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001822/1.746, allocations: 0.7212 MB / 0.5226 GB, free: 10.05 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 8.29e-05/1.746, allocations: 55.72 kB / 0.5227 GB, free: 10 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.494e-05/1.746, allocations: 19.97 kB / 0.5227 GB, free: 9.98 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.041e-05/1.746, allocations: 19.92 kB / 0.5227 GB, free: 9.961 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.693e-05/1.746, allocations: 32.5 kB / 0.5227 GB, free: 9.93 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/1.746, allocations: 4 kB / 0.5227 GB, free: 9.926 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001174/1.747, allocations: 0.6103 MB / 0.5233 GB, free: 9.316 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.13e-05/1.747, allocations: 4 kB / 0.5233 GB, free: 9.312 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.82e-05/1.748, allocations: 31.84 kB / 0.5234 GB, free: 9.281 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009108/1.748, allocations: 0.6121 MB / 0.524 GB, free: 8.668 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/1.748, allocations: 0 / 0.524 GB, free: 8.668 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.293e-06/1.748, allocations: 0 / 0.524 GB, free: 8.668 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.91e-06/1.748, allocations: 0.75 kB / 0.524 GB, free: 8.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.000493/1.749, allocations: 435.9 kB / 0.5244 GB, free: 8.195 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/1.749, allocations: 12.55 kB / 0.5244 GB, free: 8.184 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.136e-05/1.749, allocations: 7.906 kB / 0.5244 GB, free: 8.176 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/1.749, allocations: 171.8 kB / 0.5246 GB, free: 7.969 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/1.749, allocations: 0 / 0.5246 GB, free: 7.969 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.384e-05/1.749, allocations: 9.156 kB / 0.5246 GB, free: 7.961 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001392/1.749, allocations: 59.2 kB / 0.5246 GB, free: 7.898 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/1.749, allocations: 0 / 0.5246 GB, free: 7.898 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/1.749, allocations: 10.25 kB / 0.5246 GB, free: 7.891 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/1.749, allocations: 1.641 kB / 0.5246 GB, free: 7.891 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001163/1.75, allocations: 71.92 kB / 0.5247 GB, free: 7.82 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004244/1.75, allocations: 431 kB / 0.5251 GB, free: 7.312 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001149/1.75, allocations: 63.88 kB / 0.5252 GB, free: 7.242 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.468e-05/1.75, allocations: 24.84 kB / 0.5252 GB, free: 7.215 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002659/1.753, allocations: 3.309 MB / 0.5284 GB, free: 3.191 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/1.753, allocations: 36.02 kB / 0.5285 GB, free: 3.148 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.813e-06/1.753, allocations: 3.938 kB / 0.5285 GB, free: 3.145 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002668/1.753, allocations: 102.3 kB / 0.5286 GB, free: 3.039 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/1.753, allocations: 56.12 kB / 0.5286 GB, free: 2.973 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.451e-05/1.753, allocations: 109.8 kB / 0.5287 GB, free: 2.855 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/1.753, allocations: 26.27 kB / 0.5287 GB, free: 2.824 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.88e-05/1.753, allocations: 89.64 kB / 0.5288 GB, free: 2.734 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.423e-05/1.753, allocations: 35.45 kB / 0.5289 GB, free: 2.699 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.944e-05/1.753, allocations: 21.72 kB / 0.5289 GB, free: 2.672 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001049/1.754, allocations: 324 kB / 0.5292 GB, free: 2.348 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.101e-05/1.754, allocations: 20.36 kB / 0.5292 GB, free: 2.328 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.022e-05/1.754, allocations: 16 kB / 0.5292 GB, free: 2.312 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.369e-05/1.754, allocations: 59.22 kB / 0.5293 GB, free: 2.254 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/1.754, allocations: 1.125 kB / 0.5293 GB, free: 2.254 MB / 414.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001585/1.754, allocations: 101.5 kB / 0.5294 GB, free: 2.148 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/1.754, allocations: 4 kB / 0.5294 GB, free: 2.145 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/1.754, allocations: 0.5625 kB / 0.5294 GB, free: 2.145 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/1.754, allocations: 3.938 kB / 0.5294 GB, free: 2.141 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/1.754, allocations: 21.27 kB / 0.5294 GB, free: 2.121 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/1.754, allocations: 7.984 kB / 0.5294 GB, free: 2.113 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.939e-05/1.754, allocations: 3.906 kB / 0.5294 GB, free: 2.109 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.888e-06/1.754, allocations: 5.562 kB / 0.5294 GB, free: 2.105 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 7.119e-05/1.754, allocations: 113.8 kB / 0.5295 GB, free: 1.984 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.267e-05/1.754, allocations: 7.906 kB / 0.5295 GB, free: 1.977 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002476/1.755, allocations: 128.7 kB / 0.5297 GB, free: 1.852 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/1.755, allocations: 1.375 kB / 0.5297 GB, free: 1.852 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/1.755, allocations: 1.094 kB / 0.5297 GB, free: 1.852 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/1.755, allocations: 4 kB / 0.5297 GB, free: 1.848 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001787/1.755, allocations: 177.6 kB / 0.5298 GB, free: 1.625 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/1.755, allocations: 0.5 kB / 0.5298 GB, free: 1.625 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.907e-05/1.755, allocations: 20.59 kB / 0.5299 GB, free: 1.605 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/1.755, allocations: 3.984 kB / 0.5299 GB, free: 1.602 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/1.755, allocations: 4.562 kB / 0.5299 GB, free: 1.598 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/1.755, allocations: 5.594 kB / 0.5299 GB, free: 1.594 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/1.755, allocations: 0 / 0.5299 GB, free: 1.594 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001836/1.755, allocations: 185.7 kB / 0.5301 GB, free: 1.398 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.52e-05/1.755, allocations: 85.02 kB / 0.5301 GB, free: 1.297 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/1.755, allocations: 5.75 kB / 0.5301 GB, free: 1.293 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.452e-05/1.755, allocations: 0 / 0.5301 GB, free: 1.293 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.172e-05/1.755, allocations: 15.92 kB / 0.5302 GB, free: 1.277 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/1.755, allocations: 4.891 kB / 0.5302 GB, free: 1.273 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.28e-05/1.755, allocations: 85.66 kB / 0.5302 GB, free: 1.191 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/1.755, allocations: 0 / 0.5302 GB, free: 1.191 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004735/1.756, allocations: 171.8 kB / 0.5304 GB, free: 1.023 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 (11): * Single equations (assignments): 11 * 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.0006588/1.756, allocations: 399.9 kB / 0.5308 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001504/1.757, allocations: 62.67 kB / 0.5308 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/1.757, allocations: 0 / 0.5308 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.745e-05/1.757, allocations: 31.92 kB / 0.5309 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002649/1.757, allocations: 21.3 kB / 0.5309 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003591/1.757, allocations: 182.5 kB / 0.5311 GB, free: 344 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002511/1.758, allocations: 0.6885 MB / 0.5317 GB, free: 15.62 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.038e-05/1.758, allocations: 21.27 kB / 0.5318 GB, free: 15.61 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.831e-05/1.758, allocations: 11.44 kB / 0.5318 GB, free: 15.59 MB / 430.1 MB Notification: Performance of SimCode: time 4.51e-07/1.758, allocations: 0 / 0.5318 GB, free: 15.59 MB / 430.1 MB Notification: Performance of Templates: time 0.009037/1.767, allocations: 5.342 MB / 0.537 GB, free: 10.43 MB / 430.1 MB make -j1 -f ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_d.makefile (rm -f ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_d.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_d.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_d.pipe >> ../files/ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_d.sim & ./ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_d -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_d.pipe 2>&1)