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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo): time 0.8533/0.8533, allocations: 120.4 MB / 139.5 MB, free: 492 kB / 126.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_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_h") translateModel(ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_h") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 217.2 MB, free: 13.74 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.033e-05/2.17e-05, allocations: 3.625 kB / 217.2 MB, free: 13.73 MB / 206.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_h): time 1.499/1.499, allocations: 253.6 MB / 470.8 MB, free: 11.23 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.2329/1.732, allocations: 26.59 MB / 497.4 MB, free: 11.75 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.579e-05/1.732, allocations: 0.8125 kB / 497.4 MB, free: 11.75 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003945/1.732, allocations: 137.5 kB / 497.5 MB, free: 11.7 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001041/1.733, allocations: 52.38 kB / 497.5 MB, free: 11.67 MB / 446.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.02228/1.755, allocations: 8.131 MB / 0.4938 GB, free: 6.27 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001928/1.755, allocations: 128.1 kB / 0.4939 GB, free: 6.191 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.623e-05/1.755, allocations: 15.78 kB / 0.494 GB, free: 6.184 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001572/1.755, allocations: 95.12 kB / 0.4941 GB, free: 6.117 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.35e-05/1.755, allocations: 26.17 kB / 0.4941 GB, free: 6.109 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.319e-05/1.755, allocations: 2.219 kB / 0.4941 GB, free: 6.109 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0254/1.781, allocations: 13.85 MB / 0.5076 GB, free: 9.754 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 2.667e-05/1.781, allocations: 11.92 kB / 0.5076 GB, free: 9.742 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 7.927e-05/1.781, allocations: 23.94 kB / 0.5076 GB, free: 9.719 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01812/1.799, allocations: 9.234 MB / 0.5167 GB, free: 472 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/1.799, allocations: 0 / 0.5167 GB, free: 472 kB / 462.1 MB Notification: Performance of FrontEnd: time 1.262e-06/1.799, allocations: 0.7812 kB / 0.5167 GB, free: 472 kB / 462.1 MB Notification: Performance of Transformations before backend: time 6.122e-06/1.799, allocations: 0 / 0.5167 GB, free: 472 kB / 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.003257/1.802, allocations: 1.102 MB / 0.5177 GB, free: 15.32 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/1.802, allocations: 8.656 kB / 0.5177 GB, free: 15.31 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.434e-05/1.802, allocations: 12.88 kB / 0.5178 GB, free: 15.3 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/1.802, allocations: 122.8 kB / 0.5179 GB, free: 15.16 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/1.803, allocations: 4 kB / 0.5179 GB, free: 15.15 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.756e-05/1.803, allocations: 4 kB / 0.5179 GB, free: 15.15 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002371/1.803, allocations: 136 kB / 0.518 GB, free: 14.99 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/1.803, allocations: 0 / 0.518 GB, free: 14.99 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/1.803, allocations: 5.25 kB / 0.518 GB, free: 14.99 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.293e-05/1.803, allocations: 7.984 kB / 0.518 GB, free: 14.98 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001075/1.803, allocations: 51.92 kB / 0.5181 GB, free: 14.93 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04052/1.843, allocations: 11.2 MB / 0.529 GB, free: 3.793 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000214/1.844, allocations: 73.19 kB / 0.5291 GB, free: 3.715 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.044e-05/1.844, allocations: 45.56 kB / 0.5291 GB, free: 3.668 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07875/1.922, allocations: 22.07 MB / 0.5507 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/1.922, allocations: 34.5 kB / 0.5507 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=23): time 1.954e-06/1.922, allocations: 0 / 0.5507 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23): time 0.0003695/1.923, allocations: 193.5 kB / 0.5509 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/1.923, allocations: 55.41 kB / 0.5509 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/1.923, allocations: 119.3 kB / 0.5511 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/1.923, allocations: 25.7 kB / 0.5511 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.265e-05/1.923, allocations: 100.5 kB / 0.5512 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.417e-05/1.923, allocations: 79.31 kB / 0.5512 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.302e-05/1.923, allocations: 33.7 kB / 0.5513 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001346/1.923, allocations: 326.8 kB / 0.5516 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.749e-05/1.923, allocations: 48.16 kB / 0.5516 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001041/1.924, allocations: 87.56 kB / 0.5517 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001861/1.924, allocations: 154.1 kB / 0.5519 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/1.924, allocations: 0 / 0.5519 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002639/1.924, allocations: 176.9 kB / 0.552 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/1.924, allocations: 8.5 kB / 0.552 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/1.924, allocations: 4.688 kB / 0.5521 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/1.924, allocations: 0 / 0.5521 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.852e-05/1.924, allocations: 15.94 kB / 0.5521 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/1.924, allocations: 4.625 kB / 0.5521 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.385e-05/1.924, allocations: 16.05 kB / 0.5521 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/1.924, allocations: 13.58 kB / 0.5521 GB, free: 12.03 MB / 0.4981 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 9.16e-05/1.924, allocations: 117.8 kB / 0.5522 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.153e-05/1.924, allocations: 7.953 kB / 0.5522 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002454/1.925, allocations: 167.2 kB / 0.5524 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.305e-05/1.925, allocations: 11.98 kB / 0.5524 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/1.925, allocations: 0 / 0.5524 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/1.925, allocations: 0 / 0.5524 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001468/1.925, allocations: 149.2 kB / 0.5525 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/1.925, allocations: 0 / 0.5525 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.201e-05/1.925, allocations: 4.625 kB / 0.5525 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/1.925, allocations: 4 kB / 0.5525 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/1.925, allocations: 4 kB / 0.5525 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/1.925, allocations: 3.938 kB / 0.5525 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/1.925, allocations: 1.047 kB / 0.5525 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002095/1.925, allocations: 168.9 kB / 0.5527 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.569e-05/1.925, allocations: 15.83 kB / 0.5527 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.415e-05/1.925, allocations: 0 / 0.5527 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.495e-05/1.925, allocations: 9.125 kB / 0.5527 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.611e-05/1.925, allocations: 3.984 kB / 0.5527 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/1.925, allocations: 4 kB / 0.5527 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.7e-05/1.925, allocations: 91.27 kB / 0.5528 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.925, allocations: 4.75 kB / 0.5528 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00223/1.927, allocations: 1.002 MB / 0.5538 GB, free: 10.22 MB / 0.4981 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.00463/1.932, allocations: 1.653 MB / 0.5554 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002203/1.932, allocations: 113.1 kB / 0.5555 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/1.932, allocations: 0 / 0.5555 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.257e-05/1.932, allocations: 43.98 kB / 0.5556 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000405/1.933, allocations: 47.7 kB / 0.5556 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005439/1.933, allocations: 277.7 kB / 0.5559 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.271e-05/1.933, allocations: 85.44 kB / 0.556 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.642e-05/1.933, allocations: 15.98 kB / 0.556 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.621e-05/1.933, allocations: 12.5 kB / 0.556 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of SimCode: time 4.91e-07/1.933, allocations: 0 / 0.556 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of Templates: time 0.05107/1.984, allocations: 36.03 MB / 0.5912 GB, free: 4.117 MB / 0.5294 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_h.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.592443112283945] Failed to read output from testmodel.py, exit status != 0: 2.136336125433445 2.150582165 0.348410885 Calling exit ...