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.7942/0.7942, allocations: 150.9 MB / 166.4 MB, free: 14.4 MB / 142.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 50000 Notification: Performance of FrontEnd - loaded program: time 0.0003289/0.0003289, allocations: 15.98 kB / 204.5 MB, free: 9.738 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1474, allocations: 31.32 MB / 235.9 MB, free: 5.652 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.506/1.653, allocations: 293.9 MB / 0.5174 GB, free: 14.27 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03111/1.685, allocations: 30.43 MB / 0.5471 GB, free: 15.96 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.708e-05/1.685, allocations: 0.6875 kB / 0.5471 GB, free: 15.96 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003578/1.685, allocations: 143.4 kB / 0.5472 GB, free: 15.82 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.179e-05/1.685, allocations: 41.94 kB / 0.5473 GB, free: 15.79 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.01784/1.703, allocations: 8.053 MB / 0.5551 GB, free: 7.738 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001721/1.703, allocations: 123.4 kB / 0.5552 GB, free: 7.617 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.632e-05/1.703, allocations: 21.05 kB / 0.5553 GB, free: 7.598 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001261/1.703, allocations: 75.47 kB / 0.5553 GB, free: 7.523 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.43e-05/1.703, allocations: 35.8 kB / 0.5554 GB, free: 7.488 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.153e-05/1.703, allocations: 4 kB / 0.5554 GB, free: 7.484 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02196/1.725, allocations: 14.51 MB / 0.5696 GB, free: 8.953 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 2.299e-05/1.726, allocations: 15.91 kB / 0.5696 GB, free: 8.938 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 7.488e-05/1.726, allocations: 39.75 kB / 0.5696 GB, free: 8.898 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01326/1.739, allocations: 7.26 MB / 0.5767 GB, free: 1.621 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/1.739, allocations: 0 / 0.5767 GB, free: 1.621 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.824e-06/1.739, allocations: 4 kB / 0.5767 GB, free: 1.617 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/1.739, allocations: 3.938 kB / 0.5767 GB, free: 1.613 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.002842/1.742, allocations: 1.154 MB / 0.5778 GB, free: 420 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/1.742, allocations: 8.031 kB / 0.5778 GB, free: 412 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.646e-05/1.742, allocations: 15.84 kB / 0.5779 GB, free: 396 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/1.742, allocations: 183.6 kB / 0.578 GB, free: 172 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/1.742, allocations: 4 kB / 0.578 GB, free: 168 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.239e-05/1.742, allocations: 4 kB / 0.578 GB, free: 164 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/1.742, allocations: 97.59 kB / 0.5781 GB, free: 60 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/1.742, allocations: 0 / 0.5781 GB, free: 60 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-06/1.742, allocations: 0 / 0.5781 GB, free: 60 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/1.742, allocations: 6.156 kB / 0.5781 GB, free: 56 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001459/1.742, allocations: 115.8 kB / 0.5782 GB, free: 15.94 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001824/1.743, allocations: 221.4 kB / 0.5785 GB, free: 15.68 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001241/1.743, allocations: 106.5 kB / 0.5786 GB, free: 15.56 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.226e-05/1.743, allocations: 68.84 kB / 0.5786 GB, free: 15.49 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1132/1.856, allocations: 56.05 MB / 0.6334 GB, free: 1.32 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/1.856, allocations: 30.56 kB / 0.6334 GB, free: 1.281 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=30): time 1.904e-06/1.856, allocations: 4 kB / 0.6334 GB, free: 1.277 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30): time 0.0004301/1.857, allocations: 227.2 kB / 0.6336 GB, free: 1.051 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.284e-05/1.857, allocations: 55.41 kB / 0.6337 GB, free: 0.9844 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.669e-05/1.857, allocations: 97.86 kB / 0.6338 GB, free: 0.8789 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/1.857, allocations: 29.7 kB / 0.6338 GB, free: 0.8438 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.196e-05/1.857, allocations: 80.7 kB / 0.6339 GB, free: 0.7617 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.217e-05/1.857, allocations: 98.55 kB / 0.634 GB, free: 0.6641 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.152e-05/1.857, allocations: 33.69 kB / 0.634 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 8.765e-05/1.857, allocations: 318.8 kB / 0.6343 GB, free: 312 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.53e-05/1.857, allocations: 51.91 kB / 0.6343 GB, free: 260 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.087e-05/1.857, allocations: 51.98 kB / 0.6344 GB, free: 208 kB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001408/1.857, allocations: 128.8 kB / 0.6345 GB, free: 76 kB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/1.857, allocations: 3.938 kB / 0.6345 GB, free: 72 kB / 0.5137 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002219/1.857, allocations: 175.7 kB / 0.6347 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/1.857, allocations: 5.406 kB / 0.6347 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/1.857, allocations: 0 / 0.6347 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/1.857, allocations: 4 kB / 0.6347 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.678e-05/1.858, allocations: 19.92 kB / 0.6347 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/1.858, allocations: 0 / 0.6347 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.01e-05/1.858, allocations: 11.84 kB / 0.6347 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.739e-06/1.858, allocations: 9.016 kB / 0.6347 GB, free: 15.84 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.268e-05/1.858, allocations: 121.8 kB / 0.6349 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.247e-05/1.858, allocations: 11.81 kB / 0.6349 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003015/1.858, allocations: 206.6 kB / 0.6351 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/1.858, allocations: 7.984 kB / 0.6351 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/1.858, allocations: 8 kB / 0.6351 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/1.858, allocations: 0 / 0.6351 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001539/1.858, allocations: 217.4 kB / 0.6353 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/1.858, allocations: 0 / 0.6353 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.953e-05/1.858, allocations: 19.98 kB / 0.6353 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.167e-06/1.858, allocations: 4 kB / 0.6353 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-06/1.858, allocations: 0 / 0.6353 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/1.858, allocations: 0 / 0.6353 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/1.858, allocations: 0 / 0.6353 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002309/1.859, allocations: 209.4 kB / 0.6355 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.362e-05/1.859, allocations: 92.86 kB / 0.6356 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/1.859, allocations: 3.938 kB / 0.6356 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.336e-05/1.859, allocations: 7.984 kB / 0.6356 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.014e-05/1.859, allocations: 4 kB / 0.6356 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/1.859, allocations: 4 kB / 0.6356 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.215e-05/1.859, allocations: 84.58 kB / 0.6357 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.31e-07/1.859, allocations: 0 / 0.6357 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002167/1.861, allocations: 0.9994 MB / 0.6367 GB, free: 13.76 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.004368/1.865, allocations: 1.557 MB / 0.6382 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002454/1.866, allocations: 145 kB / 0.6383 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/1.866, allocations: 4 kB / 0.6383 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.958e-05/1.866, allocations: 79.91 kB / 0.6384 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003834/1.866, allocations: 41.92 kB / 0.6385 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005713/1.867, allocations: 315.1 kB / 0.6388 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002035/1.867, allocations: 0.708 MB / 0.6394 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 5.718e-05/1.867, allocations: 12.64 kB / 0.6395 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.493e-05/1.867, allocations: 19.44 kB / 0.6395 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of SimCode: time 3.01e-07/1.867, allocations: 0 / 0.6395 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of Templates: time 0.04398/1.911, allocations: 36.39 MB / 0.675 GB, free: 6.445 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 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p.pipe 2>&1)