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.8058/0.8058, allocations: 150.9 MB / 167.1 MB, free: 14.43 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003617/0.0003619, allocations: 15.97 kB / 206 MB, free: 9.008 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1331, allocations: 31.32 MB / 237.3 MB, free: 5.746 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.559/1.692, allocations: 293.7 MB / 0.5185 GB, free: 13.95 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03247/1.725, allocations: 30.03 MB / 0.5479 GB, free: 40 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.335e-05/1.725, allocations: 0 / 0.5479 GB, free: 40 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003724/1.725, allocations: 149 kB / 0.548 GB, free: 15.89 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.796e-05/1.726, allocations: 43.62 kB / 0.548 GB, free: 15.85 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.01868/1.744, allocations: 7.972 MB / 0.5558 GB, free: 7.895 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001817/1.744, allocations: 127.4 kB / 0.556 GB, free: 7.77 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.221e-05/1.744, allocations: 19.98 kB / 0.556 GB, free: 7.75 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001141/1.745, allocations: 67.55 kB / 0.556 GB, free: 7.684 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.691e-05/1.745, allocations: 31.8 kB / 0.5561 GB, free: 7.652 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.039e-05/1.745, allocations: 0 / 0.5561 GB, free: 7.652 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02334/1.768, allocations: 14.66 MB / 0.5704 GB, free: 8.977 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 2.277e-05/1.768, allocations: 7.938 kB / 0.5704 GB, free: 8.969 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 7.798e-05/1.768, allocations: 39.73 kB / 0.5704 GB, free: 8.93 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01334/1.781, allocations: 7.19 MB / 0.5774 GB, free: 1.723 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/1.782, allocations: 0 / 0.5774 GB, free: 1.723 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.593e-06/1.782, allocations: 0 / 0.5774 GB, free: 1.723 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.63e-06/1.782, allocations: 0 / 0.5774 GB, free: 1.723 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.002554/1.784, allocations: 1.139 MB / 0.5786 GB, free: 0.5352 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/1.784, allocations: 12.03 kB / 0.5786 GB, free: 0.5234 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.766e-05/1.784, allocations: 13.53 kB / 0.5786 GB, free: 0.5117 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/1.784, allocations: 182.8 kB / 0.5788 GB, free: 300 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/1.784, allocations: 4 kB / 0.5788 GB, free: 296 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.055e-05/1.784, allocations: 4 kB / 0.5788 GB, free: 292 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/1.785, allocations: 127.5 kB / 0.5789 GB, free: 140 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/1.785, allocations: 4 kB / 0.5789 GB, free: 136 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/1.785, allocations: 0 / 0.5789 GB, free: 136 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/1.785, allocations: 11.98 kB / 0.5789 GB, free: 124 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.43e-05/1.785, allocations: 55.86 kB / 0.579 GB, free: 68 kB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03601/1.821, allocations: 15.57 MB / 0.5942 GB, free: 15.26 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001929/1.821, allocations: 83.92 kB / 0.5942 GB, free: 15.17 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.149e-05/1.821, allocations: 60.91 kB / 0.5943 GB, free: 15.11 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07416/1.895, allocations: 40.66 MB / 0.634 GB, free: 1.68 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/1.895, allocations: 38.55 kB / 0.634 GB, free: 1.633 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=23): time 2.285e-06/1.895, allocations: 0 / 0.634 GB, free: 1.633 MB / 0.5137 GB Notification: Performance of matching and sorting (n=23): time 0.000362/1.896, allocations: 186.1 kB / 0.6342 GB, free: 1.445 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.718e-05/1.896, allocations: 59.34 kB / 0.6343 GB, free: 1.375 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.676e-05/1.896, allocations: 113.8 kB / 0.6344 GB, free: 1.254 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/1.896, allocations: 25.7 kB / 0.6344 GB, free: 1.223 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.608e-05/1.896, allocations: 100.4 kB / 0.6345 GB, free: 1.121 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.683e-05/1.896, allocations: 74.84 kB / 0.6346 GB, free: 1.047 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.086e-05/1.896, allocations: 37.64 kB / 0.6346 GB, free: 1.004 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001081/1.896, allocations: 318.8 kB / 0.6349 GB, free: 0.6836 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.35e-05/1.896, allocations: 44.22 kB / 0.635 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.701e-05/1.896, allocations: 86.3 kB / 0.635 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001515/1.896, allocations: 154.1 kB / 0.6352 GB, free: 384 kB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/1.896, allocations: 0 / 0.6352 GB, free: 384 kB / 0.5137 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002172/1.897, allocations: 169.2 kB / 0.6354 GB, free: 208 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/1.897, allocations: 8 kB / 0.6354 GB, free: 200 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/1.897, allocations: 0 / 0.6354 GB, free: 200 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/1.897, allocations: 4 kB / 0.6354 GB, free: 196 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.37e-05/1.897, allocations: 19.92 kB / 0.6354 GB, free: 176 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/1.897, allocations: 4.094 kB / 0.6354 GB, free: 172 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.884e-05/1.897, allocations: 19.84 kB / 0.6354 GB, free: 152 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/1.897, allocations: 4 kB / 0.6354 GB, free: 148 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.298e-05/1.897, allocations: 113.8 kB / 0.6355 GB, free: 24 kB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.925e-05/1.897, allocations: 7.906 kB / 0.6355 GB, free: 16 kB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002338/1.897, allocations: 162.6 kB / 0.6357 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/1.897, allocations: 9.391 kB / 0.6357 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/1.897, allocations: 3.938 kB / 0.6357 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.277e-06/1.897, allocations: 0 / 0.6357 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001583/1.897, allocations: 209.5 kB / 0.6359 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/1.897, allocations: 3.938 kB / 0.6359 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.004e-05/1.897, allocations: 7.984 kB / 0.6359 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/1.897, allocations: 0 / 0.6359 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/1.897, allocations: 192 / 0.6359 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/1.897, allocations: 4 kB / 0.6359 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.185e-06/1.897, allocations: 11.92 kB / 0.6359 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001819/1.898, allocations: 172.2 kB / 0.6361 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.922e-05/1.898, allocations: 88.95 kB / 0.6362 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/1.898, allocations: 4 kB / 0.6362 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.972e-05/1.898, allocations: 0 / 0.6362 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.636e-05/1.898, allocations: 11.92 kB / 0.6362 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/1.898, allocations: 0 / 0.6362 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.002e-05/1.898, allocations: 87.28 kB / 0.6363 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/1.898, allocations: 0 / 0.6363 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002235/1.9, allocations: 0.9916 MB / 0.6372 GB, free: 14.18 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.003685/1.904, allocations: 1.499 MB / 0.6387 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002005/1.904, allocations: 115.9 kB / 0.6388 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/1.904, allocations: 4 kB / 0.6388 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 6.073e-05/1.904, allocations: 59.92 kB / 0.6389 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003617/1.904, allocations: 44.2 kB / 0.6389 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004945/1.905, allocations: 292 kB / 0.6392 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002369/1.905, allocations: 0.7079 MB / 0.6399 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.16e-05/1.905, allocations: 11.92 kB / 0.6399 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.941e-05/1.905, allocations: 11.44 kB / 0.6399 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of SimCode: time 2.8e-07/1.905, allocations: 0 / 0.6399 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of Templates: time 0.04391/1.949, allocations: 35.68 MB / 0.6747 GB, free: 7.707 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 cvode -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_h.pipe 2>&1)