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.8189/0.8189, allocations: 150.9 MB / 166.5 MB, free: 14.35 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002984/0.0002984, allocations: 18.97 kB / 237.1 MB, free: 1.844 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04862/0.04893, allocations: 31.35 MB / 268.4 MB, free: 7.066 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.562/1.611, allocations: 293.9 MB / 0.5491 GB, free: 13.81 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.03131/1.642, allocations: 30.03 MB / 0.5785 GB, free: 15.66 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.958e-05/1.642, allocations: 0 / 0.5785 GB, free: 15.66 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003628/1.643, allocations: 144.3 kB / 0.5786 GB, free: 15.52 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 8.433e-05/1.643, allocations: 43.69 kB / 0.5786 GB, free: 15.48 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.01865/1.662, allocations: 7.97 MB / 0.5864 GB, free: 7.492 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001732/1.662, allocations: 123.4 kB / 0.5865 GB, free: 7.371 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.205e-05/1.662, allocations: 19.98 kB / 0.5866 GB, free: 7.352 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001176/1.662, allocations: 67.55 kB / 0.5866 GB, free: 7.285 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.166e-05/1.662, allocations: 35.78 kB / 0.5867 GB, free: 7.25 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.192e-05/1.662, allocations: 4 kB / 0.5867 GB, free: 7.246 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02517/1.687, allocations: 14.65 MB / 0.601 GB, free: 8.582 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.496e-05/1.687, allocations: 15.88 kB / 0.601 GB, free: 8.566 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.845e-05/1.687, allocations: 35.75 kB / 0.601 GB, free: 8.531 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01735/1.705, allocations: 7.194 MB / 0.608 GB, free: 1.32 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/1.705, allocations: 0 / 0.608 GB, free: 1.32 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.833e-06/1.705, allocations: 0 / 0.608 GB, free: 1.32 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.251e-05/1.705, allocations: 4 kB / 0.608 GB, free: 1.316 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.003265/1.708, allocations: 1.131 MB / 0.6091 GB, free: 140 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/1.708, allocations: 12.03 kB / 0.6092 GB, free: 128 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.034e-05/1.708, allocations: 19.75 kB / 0.6092 GB, free: 108 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/1.708, allocations: 170.9 kB / 0.6093 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/1.708, allocations: 4 kB / 0.6093 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.436e-05/1.708, allocations: 4 kB / 0.6093 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002062/1.709, allocations: 127.5 kB / 0.6095 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/1.709, allocations: 3.984 kB / 0.6095 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/1.709, allocations: 8 kB / 0.6095 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.269e-05/1.709, allocations: 3.984 kB / 0.6095 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.276e-05/1.709, allocations: 59.86 kB / 0.6095 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03816/1.747, allocations: 15.58 MB / 0.6248 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002126/1.747, allocations: 78.56 kB / 0.6248 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.22e-05/1.747, allocations: 52.91 kB / 0.6249 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07941/1.827, allocations: 40.66 MB / 0.6646 GB, free: 1.281 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/1.827, allocations: 34.5 kB / 0.6646 GB, free: 1.238 MB / 0.545 GB Notification: Performance of pre-optimization done (n=23): time 1.974e-06/1.827, allocations: 0 / 0.6646 GB, free: 1.238 MB / 0.545 GB Notification: Performance of matching and sorting (n=23): time 0.0003386/1.827, allocations: 188.9 kB / 0.6648 GB, free: 1.051 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/1.827, allocations: 55.34 kB / 0.6649 GB, free: 0.9844 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.772e-05/1.827, allocations: 125.8 kB / 0.665 GB, free: 0.8516 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/1.827, allocations: 25.7 kB / 0.665 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.607e-05/1.827, allocations: 100.3 kB / 0.6651 GB, free: 0.7188 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.084e-05/1.827, allocations: 70.86 kB / 0.6652 GB, free: 0.6484 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.654e-05/1.827, allocations: 34.08 kB / 0.6652 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001015/1.827, allocations: 322.8 kB / 0.6655 GB, free: 292 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.348e-05/1.828, allocations: 40.28 kB / 0.6655 GB, free: 252 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.945e-05/1.828, allocations: 105.5 kB / 0.6656 GB, free: 128 kB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001631/1.828, allocations: 144.6 kB / 0.6658 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/1.828, allocations: 0 / 0.6658 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002436/1.828, allocations: 173.3 kB / 0.6659 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/1.828, allocations: 5.406 kB / 0.6659 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/1.828, allocations: 4 kB / 0.666 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/1.828, allocations: 0 / 0.666 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.451e-05/1.828, allocations: 19.92 kB / 0.666 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/1.828, allocations: 7.938 kB / 0.666 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.741e-05/1.828, allocations: 12 kB / 0.666 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/1.828, allocations: 11.94 kB / 0.666 GB, free: 15.73 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.399e-05/1.828, allocations: 113.8 kB / 0.6661 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.952e-05/1.828, allocations: 7.812 kB / 0.6661 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002037/1.829, allocations: 166.1 kB / 0.6663 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.757e-06/1.829, allocations: 4 kB / 0.6663 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/1.829, allocations: 3.938 kB / 0.6663 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/1.829, allocations: 0 / 0.6663 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001466/1.829, allocations: 201.6 kB / 0.6665 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/1.829, allocations: 4 kB / 0.6665 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.935e-05/1.829, allocations: 4 kB / 0.6665 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/1.829, allocations: 4 kB / 0.6665 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/1.829, allocations: 3.984 kB / 0.6665 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/1.829, allocations: 0 / 0.6665 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/1.829, allocations: 3.938 kB / 0.6665 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001746/1.829, allocations: 168 kB / 0.6667 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.392e-05/1.829, allocations: 85.02 kB / 0.6667 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/1.829, allocations: 7.938 kB / 0.6667 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.894e-05/1.829, allocations: 4 kB / 0.6667 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.583e-05/1.829, allocations: 3.938 kB / 0.6668 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/1.829, allocations: 4 kB / 0.6668 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.492e-05/1.829, allocations: 95.3 kB / 0.6668 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/1.829, allocations: 0 / 0.6668 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00218/1.831, allocations: 0.9799 MB / 0.6678 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.004414/1.836, allocations: 1.522 MB / 0.6693 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002288/1.836, allocations: 119.9 kB / 0.6694 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/1.836, allocations: 0 / 0.6694 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.496e-05/1.836, allocations: 59.98 kB / 0.6695 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003828/1.837, allocations: 49.52 kB / 0.6695 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005063/1.837, allocations: 275.2 kB / 0.6698 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002483/1.837, allocations: 0.7156 MB / 0.6705 GB, free: 11 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.89e-05/1.837, allocations: 7.984 kB / 0.6705 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.427e-05/1.837, allocations: 11.44 kB / 0.6705 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of SimCode: time 2.61e-07/1.837, allocations: 3.938 kB / 0.6705 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of Templates: time 0.044/1.881, allocations: 35.7 MB / 0.7054 GB, free: 7.238 MB / 0.5919 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)