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.7386/0.7386, allocations: 150.9 MB / 167.2 MB, free: 14.66 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003011/0.0003011, allocations: 14.92 kB / 237.7 MB, free: 1.715 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04544/0.04575, allocations: 31.36 MB / 269.1 MB, free: 7.082 MB / 222.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.433/1.479, allocations: 293.9 MB / 0.5498 GB, free: 13.83 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02924/1.508, allocations: 30.04 MB / 0.5791 GB, free: 15.66 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.419e-05/1.508, allocations: 0 / 0.5791 GB, free: 15.66 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003466/1.509, allocations: 140.4 kB / 0.5793 GB, free: 15.53 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 7.907e-05/1.509, allocations: 39.69 kB / 0.5793 GB, free: 15.49 MB / 478.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.01764/1.526, allocations: 7.968 MB / 0.5871 GB, free: 7.504 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001549/1.527, allocations: 123.4 kB / 0.5872 GB, free: 7.383 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.077e-05/1.527, allocations: 15.98 kB / 0.5872 GB, free: 7.367 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001104/1.527, allocations: 71.53 kB / 0.5873 GB, free: 7.297 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.39e-05/1.527, allocations: 31.86 kB / 0.5873 GB, free: 7.266 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.042e-05/1.527, allocations: 7.938 kB / 0.5873 GB, free: 7.258 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02566/1.553, allocations: 14.65 MB / 0.6016 GB, free: 8.59 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.442e-05/1.553, allocations: 11.92 kB / 0.6016 GB, free: 8.578 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.285e-05/1.553, allocations: 39.75 kB / 0.6017 GB, free: 8.539 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01332/1.566, allocations: 7.19 MB / 0.6087 GB, free: 1.332 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/1.566, allocations: 4 kB / 0.6087 GB, free: 1.328 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.613e-06/1.566, allocations: 0 / 0.6087 GB, free: 1.328 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.041e-06/1.566, allocations: 0 / 0.6087 GB, free: 1.328 MB / 494.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.002815/1.569, allocations: 1.14 MB / 0.6098 GB, free: 144 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/1.569, allocations: 8.031 kB / 0.6098 GB, free: 136 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.841e-05/1.569, allocations: 15.75 kB / 0.6098 GB, free: 120 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/1.569, allocations: 174.9 kB / 0.61 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/1.569, allocations: 8 kB / 0.61 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.423e-05/1.569, allocations: 8 kB / 0.61 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001821/1.569, allocations: 123.5 kB / 0.6101 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/1.569, allocations: 4 kB / 0.6101 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.517e-06/1.569, allocations: 0 / 0.6101 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.527e-05/1.569, allocations: 4 kB / 0.6101 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.05e-05/1.57, allocations: 67.78 kB / 0.6102 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.034/1.604, allocations: 15.57 MB / 0.6254 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001746/1.604, allocations: 90.48 kB / 0.6255 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.131e-05/1.604, allocations: 60.91 kB / 0.6256 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07066/1.674, allocations: 40.66 MB / 0.6653 GB, free: 1.277 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/1.675, allocations: 30.56 kB / 0.6653 GB, free: 1.238 MB / 0.545 GB Notification: Performance of pre-optimization done (n=23): time 1.873e-06/1.675, allocations: 0 / 0.6653 GB, free: 1.238 MB / 0.545 GB Notification: Performance of matching and sorting (n=23): time 0.0003124/1.675, allocations: 180.9 kB / 0.6655 GB, free: 1.059 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.814e-05/1.675, allocations: 63.28 kB / 0.6655 GB, free: 0.9844 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.711e-05/1.675, allocations: 125.7 kB / 0.6656 GB, free: 0.8516 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/1.675, allocations: 25.7 kB / 0.6657 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.356e-05/1.675, allocations: 104.3 kB / 0.6658 GB, free: 0.7148 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.964e-05/1.675, allocations: 78.83 kB / 0.6658 GB, free: 0.6367 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.331e-05/1.675, allocations: 29.7 kB / 0.6659 GB, free: 0.6016 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.776e-05/1.675, allocations: 322.8 kB / 0.6662 GB, free: 284 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.888e-05/1.675, allocations: 40.22 kB / 0.6662 GB, free: 244 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.66e-05/1.675, allocations: 89.59 kB / 0.6663 GB, free: 136 kB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001443/1.676, allocations: 137 kB / 0.6664 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/1.676, allocations: 4 kB / 0.6664 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002198/1.676, allocations: 180.5 kB / 0.6666 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/1.676, allocations: 9.25 kB / 0.6666 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/1.676, allocations: 3.938 kB / 0.6666 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/1.676, allocations: 0 / 0.6666 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.87e-05/1.676, allocations: 12 kB / 0.6666 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.517e-06/1.676, allocations: 11.92 kB / 0.6666 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.44e-05/1.676, allocations: 11.84 kB / 0.6667 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/1.676, allocations: 8 kB / 0.6667 GB, free: 15.74 MB / 0.5606 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.271e-05/1.676, allocations: 121.9 kB / 0.6668 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.677e-05/1.676, allocations: 11.81 kB / 0.6668 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001916/1.676, allocations: 154.2 kB / 0.6669 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/1.676, allocations: 3.984 kB / 0.6669 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/1.676, allocations: 7.938 kB / 0.667 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/1.676, allocations: 0 / 0.667 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001386/1.676, allocations: 197.6 kB / 0.6671 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/1.677, allocations: 4 kB / 0.6671 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.765e-05/1.677, allocations: 4 kB / 0.6671 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/1.677, allocations: 0 / 0.6671 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/1.677, allocations: 4 kB / 0.6672 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/1.677, allocations: 192 / 0.6672 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/1.677, allocations: 11.88 kB / 0.6672 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001684/1.677, allocations: 172.1 kB / 0.6673 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.17e-05/1.677, allocations: 89 kB / 0.6674 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.277e-05/1.677, allocations: 0 / 0.6674 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.642e-05/1.677, allocations: 0 / 0.6674 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.516e-05/1.677, allocations: 3.938 kB / 0.6674 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/1.677, allocations: 11.94 kB / 0.6674 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.068e-05/1.677, allocations: 91.27 kB / 0.6675 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/1.677, allocations: 0 / 0.6675 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002033/1.679, allocations: 0.9838 MB / 0.6685 GB, free: 13.79 MB / 0.5606 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.003965/1.683, allocations: 1.512 MB / 0.67 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001822/1.683, allocations: 119.8 kB / 0.6701 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/1.683, allocations: 0 / 0.6701 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.458e-05/1.683, allocations: 59.98 kB / 0.6701 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003331/1.684, allocations: 48.19 kB / 0.6702 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004952/1.684, allocations: 311.4 kB / 0.6705 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002357/1.684, allocations: 0.7117 MB / 0.6712 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.684e-05/1.684, allocations: 15.42 kB / 0.6712 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of SimCode: time 3.2e-07/1.684, allocations: 0 / 0.6712 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of Templates: time 0.02397/1.708, allocations: 18.93 MB / 0.6897 GB, free: 7.988 MB / 0.5762 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)