Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_h.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_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_h") translateModel(ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_h") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.775/0.775, allocations: 150.9 MB / 166 MB, free: 14.68 MB / 142.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Notification: Performance of FrontEnd - loaded program: time 0.0002782/0.0002783, allocations: 15.92 kB / 204 MB, free: 10.14 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1606/0.1609, allocations: 31.33 MB / 235.4 MB, free: 5.691 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_h): time 1.536/1.697, allocations: 291.9 MB / 0.5149 GB, free: 14.78 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0341/1.731, allocations: 32.59 MB / 0.5467 GB, free: 14.34 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.706e-05/1.731, allocations: 0 / 0.5467 GB, free: 14.34 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004335/1.732, allocations: 107.5 kB / 0.5468 GB, free: 14.24 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001003/1.732, allocations: 35.75 kB / 0.5468 GB, free: 14.2 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01599/1.748, allocations: 6.037 MB / 0.5527 GB, free: 8.16 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001535/1.748, allocations: 115.4 kB / 0.5528 GB, free: 8.047 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.324e-05/1.748, allocations: 15.98 kB / 0.5528 GB, free: 8.031 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001109/1.748, allocations: 59.61 kB / 0.5529 GB, free: 7.973 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.165e-05/1.748, allocations: 35.84 kB / 0.5529 GB, free: 7.938 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.678e-06/1.748, allocations: 0 / 0.5529 GB, free: 7.938 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02228/1.77, allocations: 14.58 MB / 0.5672 GB, free: 9.336 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 2.478e-05/1.77, allocations: 15.86 kB / 0.5672 GB, free: 9.32 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 7.893e-05/1.771, allocations: 47.73 kB / 0.5672 GB, free: 9.273 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01501/1.786, allocations: 7.202 MB / 0.5743 GB, free: 2.055 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.917e-06/1.786, allocations: 4 kB / 0.5743 GB, free: 2.051 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.19e-05/1.786, allocations: 0 / 0.5743 GB, free: 2.051 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.651e-06/1.786, allocations: 0 / 0.5743 GB, free: 2.051 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.00292/1.789, allocations: 1.142 MB / 0.5754 GB, free: 0.8594 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/1.789, allocations: 8.031 kB / 0.5754 GB, free: 0.8516 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.493e-05/1.789, allocations: 15.78 kB / 0.5754 GB, free: 0.8359 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/1.789, allocations: 166.9 kB / 0.5756 GB, free: 0.6328 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/1.789, allocations: 4 kB / 0.5756 GB, free: 0.6289 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.522e-05/1.789, allocations: 12 kB / 0.5756 GB, free: 0.6172 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/1.789, allocations: 127.4 kB / 0.5757 GB, free: 480 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/1.789, allocations: 0.9375 kB / 0.5757 GB, free: 480 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/1.789, allocations: 4 kB / 0.5757 GB, free: 476 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.697e-06/1.789, allocations: 4 kB / 0.5757 GB, free: 472 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.193e-05/1.789, allocations: 71.78 kB / 0.5758 GB, free: 400 kB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03405/1.823, allocations: 15.44 MB / 0.5909 GB, free: 15.71 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002046/1.823, allocations: 90.34 kB / 0.591 GB, free: 15.61 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.628e-05/1.823, allocations: 53.75 kB / 0.591 GB, free: 15.56 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07027/1.894, allocations: 40.43 MB / 0.6305 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/1.894, allocations: 38.55 kB / 0.6305 GB, free: 2.32 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=23): time 2.284e-06/1.894, allocations: 0 / 0.6305 GB, free: 2.32 MB / 0.5137 GB Notification: Performance of matching and sorting (n=23): time 0.0003129/1.894, allocations: 190.3 kB / 0.6307 GB, free: 2.129 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.46e-05/1.894, allocations: 55.34 kB / 0.6308 GB, free: 2.062 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.032e-05/1.894, allocations: 121.8 kB / 0.6309 GB, free: 1.934 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.094e-05/1.894, allocations: 25.7 kB / 0.6309 GB, free: 1.902 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.338e-05/1.894, allocations: 104.3 kB / 0.631 GB, free: 1.797 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.775e-05/1.894, allocations: 66.92 kB / 0.6311 GB, free: 1.73 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.353e-05/1.894, allocations: 29.7 kB / 0.6311 GB, free: 1.695 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.392e-05/1.895, allocations: 322.8 kB / 0.6314 GB, free: 1.371 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.343e-05/1.895, allocations: 44.2 kB / 0.6314 GB, free: 1.328 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.813e-05/1.895, allocations: 93.58 kB / 0.6315 GB, free: 1.219 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001402/1.895, allocations: 144.5 kB / 0.6317 GB, free: 1.062 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/1.895, allocations: 4 kB / 0.6317 GB, free: 1.059 MB / 0.5137 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002137/1.895, allocations: 173.2 kB / 0.6318 GB, free: 0.8828 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/1.895, allocations: 8 kB / 0.6318 GB, free: 0.875 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.026e-06/1.895, allocations: 2.531 kB / 0.6318 GB, free: 0.875 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/1.895, allocations: 7.938 kB / 0.6319 GB, free: 0.8672 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.069e-05/1.895, allocations: 15.98 kB / 0.6319 GB, free: 0.8516 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.393e-06/1.895, allocations: 7.922 kB / 0.6319 GB, free: 0.8438 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.462e-05/1.895, allocations: 11.84 kB / 0.6319 GB, free: 0.832 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/1.895, allocations: 8.156 kB / 0.6319 GB, free: 0.8242 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.393e-05/1.895, allocations: 121.7 kB / 0.632 GB, free: 0.6953 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.811e-05/1.895, allocations: 11.91 kB / 0.632 GB, free: 0.6836 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001936/1.896, allocations: 157.5 kB / 0.6322 GB, free: 0.5234 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.735e-06/1.896, allocations: 4 kB / 0.6322 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/1.896, allocations: 3.938 kB / 0.6322 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/1.896, allocations: 7.984 kB / 0.6322 GB, free: 0.5078 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001307/1.896, allocations: 205.5 kB / 0.6324 GB, free: 264 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/1.896, allocations: 0 / 0.6324 GB, free: 264 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.853e-05/1.896, allocations: 8.453 kB / 0.6324 GB, free: 256 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/1.896, allocations: 0 / 0.6324 GB, free: 256 kB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/1.896, allocations: 0 / 0.6324 GB, free: 256 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/1.896, allocations: 0 / 0.6324 GB, free: 256 kB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.896, allocations: 7.875 kB / 0.6324 GB, free: 248 kB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001636/1.896, allocations: 172.8 kB / 0.6326 GB, free: 56 kB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.754e-05/1.896, allocations: 88.95 kB / 0.6326 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.41e-05/1.896, allocations: 256 / 0.6326 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.982e-05/1.896, allocations: 4 kB / 0.6327 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.557e-05/1.896, allocations: 11.92 kB / 0.6327 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.436e-06/1.896, allocations: 0 / 0.6327 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.929e-05/1.896, allocations: 87.28 kB / 0.6327 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/1.896, allocations: 0 / 0.6327 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00219/1.898, allocations: 0.9877 MB / 0.6337 GB, free: 14.86 MB / 0.5294 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 (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.003712/1.902, allocations: 1.564 MB / 0.6352 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002039/1.902, allocations: 119.8 kB / 0.6354 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/1.902, allocations: 0 / 0.6354 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.891e-05/1.902, allocations: 64.28 kB / 0.6354 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003719/1.903, allocations: 39.95 kB / 0.6355 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004814/1.903, allocations: 331.8 kB / 0.6358 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002209/1.903, allocations: 0.7079 MB / 0.6365 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.611e-05/1.904, allocations: 11.98 kB / 0.6365 GB, free: 12 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.073e-05/1.904, allocations: 11.44 kB / 0.6365 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of SimCode: time 2.41e-07/1.904, allocations: 4 kB / 0.6365 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of Templates: time 0.04136/1.945, allocations: 35.91 MB / 0.6716 GB, free: 8.062 MB / 0.5606 GB make -j1 -f ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_h.makefile (rm -f ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_h.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_h.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_h.pipe >> ../files/ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_h.sim & ./ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_h -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_h.pipe 2>&1)