Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p.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_p,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p") translateModel(ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8383/0.8383, allocations: 150.9 MB / 167.1 MB, free: 14.68 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003764/0.0003765, allocations: 11.98 kB / 205.9 MB, free: 9.254 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.159, allocations: 31.34 MB / 237.3 MB, free: 5.945 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_p): time 1.6/1.759, allocations: 293.7 MB / 0.5185 GB, free: 14.2 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03426/1.794, allocations: 30.44 MB / 0.5483 GB, free: 15.88 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.38e-05/1.794, allocations: 0 / 0.5483 GB, free: 15.88 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003864/1.794, allocations: 145.3 kB / 0.5484 GB, free: 15.74 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.843e-05/1.794, allocations: 39.69 kB / 0.5484 GB, free: 15.7 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:783:9-783:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:850:9-850:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:1088:9-1088:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh1satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh2satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du1satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du2satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.02023/1.814, allocations: 8.063 MB / 0.5563 GB, free: 7.645 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001892/1.815, allocations: 127.4 kB / 0.5564 GB, free: 7.52 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.324e-05/1.815, allocations: 21.05 kB / 0.5565 GB, free: 7.5 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001242/1.815, allocations: 71.53 kB / 0.5565 GB, free: 7.43 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.867e-05/1.815, allocations: 39.8 kB / 0.5566 GB, free: 7.391 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/1.815, allocations: 4 kB / 0.5566 GB, free: 7.387 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0243/1.839, allocations: 14.7 MB / 0.5709 GB, free: 8.668 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 2.827e-05/1.839, allocations: 15.92 kB / 0.5709 GB, free: 8.652 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 8.596e-05/1.839, allocations: 39.75 kB / 0.571 GB, free: 8.613 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01519/1.855, allocations: 7.264 MB / 0.5781 GB, free: 1.332 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/1.855, allocations: 4 kB / 0.5781 GB, free: 1.328 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.174e-06/1.855, allocations: 0 / 0.5781 GB, free: 1.328 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/1.855, allocations: 0 / 0.5781 GB, free: 1.328 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.003039/1.858, allocations: 1.15 MB / 0.5792 GB, free: 132 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/1.858, allocations: 8.031 kB / 0.5792 GB, free: 124 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.83e-05/1.858, allocations: 11.84 kB / 0.5792 GB, free: 112 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/1.858, allocations: 174.9 kB / 0.5794 GB, free: 15.9 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/1.858, allocations: 11.94 kB / 0.5794 GB, free: 15.89 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/1.858, allocations: 4 kB / 0.5794 GB, free: 15.88 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/1.858, allocations: 93.66 kB / 0.5795 GB, free: 15.79 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.672e-06/1.858, allocations: 0 / 0.5795 GB, free: 15.79 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/1.858, allocations: 4 kB / 0.5795 GB, free: 15.78 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/1.858, allocations: 3.984 kB / 0.5795 GB, free: 15.78 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000143/1.858, allocations: 112.4 kB / 0.5796 GB, free: 15.67 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001974/1.859, allocations: 213.5 kB / 0.5798 GB, free: 15.41 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001342/1.859, allocations: 106.5 kB / 0.5799 GB, free: 15.3 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.549e-05/1.859, allocations: 76.83 kB / 0.58 GB, free: 15.22 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.113/1.972, allocations: 56.41 MB / 0.6351 GB, free: 0.6953 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/1.972, allocations: 34.56 kB / 0.6351 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=30): time 2.124e-06/1.972, allocations: 0 / 0.6351 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30): time 0.0003886/1.972, allocations: 227.1 kB / 0.6353 GB, free: 436 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.121e-05/1.972, allocations: 55.39 kB / 0.6354 GB, free: 368 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.242e-05/1.972, allocations: 97.86 kB / 0.6355 GB, free: 260 kB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.832e-05/1.972, allocations: 29.7 kB / 0.6355 GB, free: 224 kB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.08e-05/1.972, allocations: 88.7 kB / 0.6356 GB, free: 132 kB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.899e-05/1.972, allocations: 94.48 kB / 0.6357 GB, free: 36 kB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.412e-05/1.973, allocations: 37.7 kB / 0.6357 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.318e-05/1.973, allocations: 326.8 kB / 0.636 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.88e-05/1.973, allocations: 47.97 kB / 0.6361 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.735e-05/1.973, allocations: 47.98 kB / 0.6361 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/1.973, allocations: 128.8 kB / 0.6362 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/1.973, allocations: 7.875 kB / 0.6362 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002047/1.973, allocations: 170.6 kB / 0.6364 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/1.973, allocations: 9.25 kB / 0.6364 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/1.973, allocations: 0 / 0.6364 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/1.973, allocations: 0 / 0.6364 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.399e-05/1.973, allocations: 16 kB / 0.6364 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/1.973, allocations: 3.984 kB / 0.6364 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.106e-05/1.973, allocations: 15.84 kB / 0.6364 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/1.973, allocations: 0 / 0.6364 GB, free: 15.22 MB / 0.5294 GB 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): 10 * 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.221e-05/1.973, allocations: 117.8 kB / 0.6366 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.111e-05/1.973, allocations: 11.81 kB / 0.6366 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002977/1.974, allocations: 210.6 kB / 0.6368 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.2e-05/1.974, allocations: 11.98 kB / 0.6368 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/1.974, allocations: 0 / 0.6368 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/1.974, allocations: 0 / 0.6368 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001539/1.974, allocations: 213.4 kB / 0.637 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/1.974, allocations: 3.938 kB / 0.637 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.809e-05/1.974, allocations: 15.98 kB / 0.637 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/1.974, allocations: 2.859 kB / 0.637 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/1.974, allocations: 8 kB / 0.637 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/1.974, allocations: 4 kB / 0.637 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/1.974, allocations: 7.938 kB / 0.637 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002192/1.974, allocations: 192.9 kB / 0.6372 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.932e-05/1.974, allocations: 96.86 kB / 0.6373 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/1.974, allocations: 4 kB / 0.6373 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.145e-05/1.974, allocations: 0 / 0.6373 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.752e-05/1.974, allocations: 7.984 kB / 0.6373 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.225e-06/1.974, allocations: 8 kB / 0.6373 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.506e-05/1.974, allocations: 83.27 kB / 0.6374 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/1.974, allocations: 0 / 0.6374 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00224/1.977, allocations: 1.003 MB / 0.6384 GB, free: 13.13 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 (12): * Single equations (assignments): 10 * 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.003975/1.981, allocations: 1.55 MB / 0.6399 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002568/1.981, allocations: 143.8 kB / 0.64 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/1.981, allocations: 0 / 0.64 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 9.086e-05/1.981, allocations: 77.89 kB / 0.6401 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003831/1.981, allocations: 46 kB / 0.6401 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005668/1.982, allocations: 319.1 kB / 0.6404 GB, free: 11 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00021/1.982, allocations: 0.7041 MB / 0.6411 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 5.123e-05/1.982, allocations: 20.59 kB / 0.6412 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.33e-05/1.982, allocations: 15.44 kB / 0.6412 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of SimCode: time 6.11e-07/1.982, allocations: 0 / 0.6412 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of Templates: time 0.04282/2.025, allocations: 36.32 MB / 0.6766 GB, free: 5.895 MB / 0.5606 GB make -j1 -f ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p.makefile (rm -f ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p.pipe >> ../files/ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p.sim & ./ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p.pipe 2>&1)