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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo): time 0.8608/0.8608, allocations: 153.8 MB / 173.4 MB, free: 4.945 MB / 142.1 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo) Running command: translateModel(ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p") translateModel(ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005527/0.0005527, allocations: 11.98 kB / 251.1 MB, free: 3.992 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2065/0.207, allocations: 33.35 MB / 284.4 MB, free: 2.125 MB / 222.1 MB Notification: Automatically loaded package Complex 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.1.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p): time 1.906/2.113, allocations: 306.7 MB / 0.5773 GB, free: 16.05 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02788/2.141, allocations: 30.67 MB / 0.6072 GB, free: 1.676 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001766/2.142, allocations: 0 / 0.6072 GB, free: 1.676 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006364/2.142, allocations: 197.4 kB / 0.6074 GB, free: 1.586 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001641/2.142, allocations: 57.47 kB / 0.6075 GB, free: 1.547 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 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 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 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 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 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 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 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.02244/2.165, allocations: 8.203 MB / 0.6155 GB, free: 13.76 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002441/2.165, allocations: 130.9 kB / 0.6156 GB, free: 13.68 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.829e-05/2.165, allocations: 25.3 kB / 0.6156 GB, free: 13.66 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001504/2.165, allocations: 76.92 kB / 0.6157 GB, free: 13.61 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.946e-05/2.165, allocations: 35.28 kB / 0.6157 GB, free: 13.59 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.15e-05/2.165, allocations: 3.281 kB / 0.6157 GB, free: 13.59 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0303/2.196, allocations: 14.73 MB / 0.6301 GB, free: 120 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.628e-05/2.196, allocations: 7.938 kB / 0.6301 GB, free: 112 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001163/2.196, allocations: 45.27 kB / 0.6302 GB, free: 68 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01692/2.213, allocations: 7.278 MB / 0.6373 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/2.213, allocations: 0.7188 kB / 0.6373 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.322e-06/2.213, allocations: 0 / 0.6373 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.823e-06/2.213, allocations: 0.5312 kB / 0.6373 GB, free: 8.766 MB / 0.4981 GB 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.003091/2.216, allocations: 1.13 MB / 0.6384 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/2.216, allocations: 12.03 kB / 0.6384 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.509e-05/2.216, allocations: 11.42 kB / 0.6384 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/2.216, allocations: 113.9 kB / 0.6385 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/2.216, allocations: 8.969 kB / 0.6385 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.725e-05/2.216, allocations: 4 kB / 0.6385 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002584/2.216, allocations: 97.59 kB / 0.6386 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/2.216, allocations: 4.719 kB / 0.6386 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/2.216, allocations: 0 / 0.6386 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.368e-05/2.216, allocations: 4 kB / 0.6386 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000166/2.216, allocations: 120.7 kB / 0.6388 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003008/2.217, allocations: 186.1 kB / 0.6389 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001627/2.217, allocations: 92.92 kB / 0.639 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.789e-05/2.217, allocations: 58.53 kB / 0.6391 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1164/2.333, allocations: 32.63 MB / 0.6709 GB, free: 6.188 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.265e-05/2.333, allocations: 33.62 kB / 0.671 GB, free: 6.148 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=30): time 2.574e-06/2.334, allocations: 0 / 0.671 GB, free: 6.148 MB / 0.5294 GB Notification: Performance of matching and sorting (n=30): time 0.0004774/2.334, allocations: 238 kB / 0.6712 GB, free: 5.91 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.11e-05/2.334, allocations: 59.41 kB / 0.6713 GB, free: 5.84 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.671e-05/2.334, allocations: 101.8 kB / 0.6714 GB, free: 5.73 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/2.334, allocations: 29.7 kB / 0.6714 GB, free: 5.695 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.606e-05/2.334, allocations: 80.64 kB / 0.6715 GB, free: 5.613 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/2.334, allocations: 103.1 kB / 0.6716 GB, free: 5.512 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.305e-05/2.334, allocations: 33.7 kB / 0.6716 GB, free: 5.473 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001529/2.334, allocations: 322.8 kB / 0.6719 GB, free: 5.148 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.986e-05/2.335, allocations: 51.97 kB / 0.6719 GB, free: 5.098 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.592e-05/2.335, allocations: 53.62 kB / 0.672 GB, free: 5.047 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001749/2.335, allocations: 129.8 kB / 0.6721 GB, free: 4.918 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/2.335, allocations: 0 / 0.6721 GB, free: 4.918 MB / 0.5294 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002633/2.335, allocations: 181.5 kB / 0.6723 GB, free: 4.734 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/2.335, allocations: 4.938 kB / 0.6723 GB, free: 4.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/2.335, allocations: 0 / 0.6723 GB, free: 4.73 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/2.335, allocations: 7.938 kB / 0.6723 GB, free: 4.723 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.032e-05/2.335, allocations: 16.78 kB / 0.6723 GB, free: 4.707 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/2.335, allocations: 0 / 0.6723 GB, free: 4.707 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.042e-05/2.335, allocations: 26.25 kB / 0.6723 GB, free: 4.684 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/2.335, allocations: 0 / 0.6723 GB, free: 4.684 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 0.0001022/2.335, allocations: 117.8 kB / 0.6725 GB, free: 4.559 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.397e-05/2.335, allocations: 7.953 kB / 0.6725 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003617/2.336, allocations: 219.4 kB / 0.6727 GB, free: 4.332 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.255e-05/2.336, allocations: 7.984 kB / 0.6727 GB, free: 4.324 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/2.336, allocations: 0 / 0.6727 GB, free: 4.324 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/2.336, allocations: 0 / 0.6727 GB, free: 4.324 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002052/2.336, allocations: 192.6 kB / 0.6729 GB, free: 4.094 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/2.336, allocations: 4 kB / 0.6729 GB, free: 4.09 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.398e-05/2.336, allocations: 17.05 kB / 0.6729 GB, free: 4.074 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/2.336, allocations: 0 / 0.6729 GB, free: 4.074 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/2.336, allocations: 7.938 kB / 0.6729 GB, free: 4.066 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/2.336, allocations: 0.9375 kB / 0.6729 GB, free: 4.066 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/2.336, allocations: 0 / 0.6729 GB, free: 4.066 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002829/2.336, allocations: 204.9 kB / 0.6731 GB, free: 3.848 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.715e-05/2.336, allocations: 19.84 kB / 0.6731 GB, free: 3.828 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.58e-05/2.336, allocations: 9.859 kB / 0.6731 GB, free: 3.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.381e-05/2.336, allocations: 5 kB / 0.6731 GB, free: 3.816 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.434e-05/2.336, allocations: 7.984 kB / 0.6731 GB, free: 3.809 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/2.336, allocations: 0 / 0.6731 GB, free: 3.809 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.3e-05/2.337, allocations: 83.27 kB / 0.6732 GB, free: 3.727 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/2.337, allocations: 0 / 0.6732 GB, free: 3.727 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002623/2.339, allocations: 1.018 MB / 0.6742 GB, free: 2.707 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.004987/2.344, allocations: 1.565 MB / 0.6757 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002787/2.344, allocations: 128.9 kB / 0.6759 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/2.344, allocations: 0 / 0.6759 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000107/2.345, allocations: 67.91 kB / 0.6759 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004004/2.345, allocations: 50.56 kB / 0.676 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007037/2.346, allocations: 351.8 kB / 0.6763 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003563/2.346, allocations: 0.7095 MB / 0.677 GB, free: 15.82 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.707e-05/2.346, allocations: 19.44 kB / 0.677 GB, free: 15.8 MB / 0.545 GB Notification: Performance of SimCode: time 3.31e-07/2.346, allocations: 0 / 0.677 GB, free: 15.8 MB / 0.545 GB Notification: Performance of Templates: time 0.0313/2.377, allocations: 19.47 MB / 0.696 GB, free: 12.65 MB / 0.5606 GB " [Timeout remaining time 657] make -j1 -f ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.95338628697209] Failed to read output from testmodel.py, exit status != 0: 2.543690127087757 2.5580718399999998 0.342246973 Calling exit ...