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.8358/0.8358, allocations: 150.9 MB / 167.1 MB, free: 14.52 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00032/0.0003202, allocations: 15.97 kB / 205.9 MB, free: 9.062 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1336, allocations: 31.33 MB / 237.3 MB, free: 5.707 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.557/1.691, allocations: 293.7 MB / 0.5185 GB, free: 14.01 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03138/1.722, allocations: 30.04 MB / 0.5479 GB, free: 88 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.689e-05/1.723, allocations: 0 / 0.5479 GB, free: 88 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004071/1.723, allocations: 143.5 kB / 0.548 GB, free: 15.94 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001132/1.723, allocations: 39.69 kB / 0.548 GB, free: 15.9 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.01918/1.742, allocations: 7.976 MB / 0.5558 GB, free: 7.934 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000169/1.743, allocations: 123.4 kB / 0.556 GB, free: 7.812 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.305e-05/1.743, allocations: 17.11 kB / 0.556 GB, free: 7.797 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001154/1.743, allocations: 71.53 kB / 0.556 GB, free: 7.727 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.039e-05/1.743, allocations: 39.78 kB / 0.5561 GB, free: 7.688 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.267e-06/1.743, allocations: 0 / 0.5561 GB, free: 7.688 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02471/1.768, allocations: 14.65 MB / 0.5704 GB, free: 9.023 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 2.371e-05/1.768, allocations: 7.922 kB / 0.5704 GB, free: 9.016 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 8.226e-05/1.768, allocations: 43.75 kB / 0.5704 GB, free: 8.973 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01327/1.781, allocations: 7.186 MB / 0.5774 GB, free: 1.77 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/1.781, allocations: 0 / 0.5774 GB, free: 1.77 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.463e-06/1.781, allocations: 0 / 0.5774 GB, free: 1.77 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/1.781, allocations: 0 / 0.5774 GB, free: 1.77 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.002729/1.784, allocations: 1.135 MB / 0.5786 GB, free: 0.5859 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/1.784, allocations: 15.97 kB / 0.5786 GB, free: 0.5703 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.767e-05/1.784, allocations: 11.84 kB / 0.5786 GB, free: 0.5586 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/1.784, allocations: 178.8 kB / 0.5787 GB, free: 352 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/1.784, allocations: 4 kB / 0.5788 GB, free: 348 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.355e-05/1.784, allocations: 4 kB / 0.5788 GB, free: 344 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001905/1.784, allocations: 135.4 kB / 0.5789 GB, free: 184 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/1.784, allocations: 0 / 0.5789 GB, free: 184 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/1.784, allocations: 5.828 kB / 0.5789 GB, free: 180 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.321e-05/1.784, allocations: 7.938 kB / 0.5789 GB, free: 172 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.47e-05/1.784, allocations: 59.78 kB / 0.579 GB, free: 112 kB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03611/1.82, allocations: 15.57 MB / 0.5942 GB, free: 15.3 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002164/1.821, allocations: 86.41 kB / 0.5942 GB, free: 15.21 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.153e-05/1.821, allocations: 64.84 kB / 0.5943 GB, free: 15.14 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07403/1.895, allocations: 40.66 MB / 0.634 GB, free: 1.723 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/1.895, allocations: 30.56 kB / 0.634 GB, free: 1.684 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=23): time 2.104e-06/1.895, allocations: 0 / 0.634 GB, free: 1.684 MB / 0.5137 GB Notification: Performance of matching and sorting (n=23): time 0.0003572/1.895, allocations: 186.1 kB / 0.6342 GB, free: 1.496 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.737e-05/1.895, allocations: 63.34 kB / 0.6343 GB, free: 1.422 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.1e-05/1.895, allocations: 121.8 kB / 0.6344 GB, free: 1.293 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/1.895, allocations: 25.7 kB / 0.6344 GB, free: 1.262 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.217e-05/1.895, allocations: 96.39 kB / 0.6345 GB, free: 1.164 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.594e-05/1.895, allocations: 74.84 kB / 0.6346 GB, free: 1.09 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.747e-05/1.896, allocations: 33.7 kB / 0.6346 GB, free: 1.051 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.108e-05/1.896, allocations: 318.8 kB / 0.6349 GB, free: 0.7305 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.243e-05/1.896, allocations: 44.22 kB / 0.635 GB, free: 0.6875 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.353e-05/1.896, allocations: 86.3 kB / 0.635 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001499/1.896, allocations: 154.1 kB / 0.6352 GB, free: 432 kB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/1.896, allocations: 0 / 0.6352 GB, free: 432 kB / 0.5137 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002221/1.896, allocations: 169.2 kB / 0.6353 GB, free: 256 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/1.896, allocations: 8 kB / 0.6354 GB, free: 248 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/1.896, allocations: 0 / 0.6354 GB, free: 248 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/1.896, allocations: 4 kB / 0.6354 GB, free: 244 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.464e-05/1.896, allocations: 17.48 kB / 0.6354 GB, free: 228 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.854e-06/1.896, allocations: 8.094 kB / 0.6354 GB, free: 220 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.052e-05/1.896, allocations: 15.84 kB / 0.6354 GB, free: 204 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.598e-05/1.896, allocations: 7.984 kB / 0.6354 GB, free: 196 kB / 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.178e-05/1.896, allocations: 113.8 kB / 0.6355 GB, free: 72 kB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.155e-05/1.897, allocations: 7.906 kB / 0.6355 GB, free: 64 kB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002249/1.897, allocations: 166.5 kB / 0.6357 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.916e-06/1.897, allocations: 7.984 kB / 0.6357 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/1.897, allocations: 3.938 kB / 0.6357 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/1.897, allocations: 3.938 kB / 0.6357 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001544/1.897, allocations: 213.5 kB / 0.6359 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/1.897, allocations: 192 / 0.6359 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.203e-05/1.897, allocations: 8 kB / 0.6359 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/1.897, allocations: 0 / 0.6359 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/1.897, allocations: 4 kB / 0.6359 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/1.897, allocations: 0 / 0.6359 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.897, allocations: 3.938 kB / 0.6359 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001913/1.897, allocations: 172.2 kB / 0.6361 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.541e-05/1.897, allocations: 92.95 kB / 0.6362 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.717e-05/1.897, allocations: 3.984 kB / 0.6362 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.174e-05/1.897, allocations: 4 kB / 0.6362 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.982e-05/1.897, allocations: 9.297 kB / 0.6362 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.808e-06/1.897, allocations: 0 / 0.6362 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.707e-05/1.897, allocations: 91.27 kB / 0.6363 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/1.897, allocations: 0 / 0.6363 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002173/1.9, allocations: 0.9838 MB / 0.6372 GB, free: 14.22 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.004186/1.904, allocations: 1.495 MB / 0.6387 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002175/1.904, allocations: 115.9 kB / 0.6388 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/1.904, allocations: 0 / 0.6388 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 6.416e-05/1.904, allocations: 59.92 kB / 0.6389 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003659/1.904, allocations: 49.16 kB / 0.6389 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005087/1.905, allocations: 299.8 kB / 0.6392 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002174/1.905, allocations: 0.704 MB / 0.6399 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.908e-05/1.905, allocations: 11.97 kB / 0.6399 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.601e-05/1.905, allocations: 15.44 kB / 0.6399 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of SimCode: time 3.11e-07/1.905, allocations: 3.938 kB / 0.6399 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of Templates: time 0.04617/1.951, allocations: 35.67 MB / 0.6747 GB, free: 7.75 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 -s gbode -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_h.pipe 2>&1)