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 4.2.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/package.mo): time 0.46/0.46, allocations: 111.7 MB / 121.5 MB, free: 4.789 MB / 122.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.082/0.542, allocations: 33.98 MB / 155.5 MB, free: 3.711 MB / 154.7 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-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 1.593e-06/1.593e-06, allocations: 0 / 156.8 MB, free: 2.5 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.242e-05/2.402e-05, allocations: 2.312 kB / 156.8 MB, free: 2.496 MB / 154.7 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.001/1.002, allocations: 232.5 MB / 389.3 MB, free: 3.41 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02324/1.025, allocations: 29.25 MB / 418.5 MB, free: 6.059 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.625e-05/1.025, allocations: 4 kB / 418.5 MB, free: 6.055 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002777/1.025, allocations: 139.4 kB / 418.6 MB, free: 5.918 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.922e-05/1.025, allocations: 59.67 kB / 418.7 MB, free: 5.859 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0133/1.038, allocations: 7.28 MB / 426 MB, free: 14.54 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001415/1.039, allocations: 131.3 kB / 426.1 MB, free: 14.41 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.381e-05/1.039, allocations: 37.81 kB / 426.1 MB, free: 14.38 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001325/1.039, allocations: 99.56 kB / 426.2 MB, free: 14.28 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.778e-05/1.039, allocations: 27.91 kB / 426.3 MB, free: 14.25 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.052e-05/1.039, allocations: 0 / 426.3 MB, free: 14.25 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/Properties/WaterSteam/IF97_packages.mo:470:9-470:27:writable] Warning: 'cv' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/Properties/WaterSteam/IF97_packages.mo:525:9-525:27:writable] Warning: 'cv' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/Properties/WaterSteam/IF97_packages.mo:708:9-708:27:writable] Warning: 'cv' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/Properties/WaterSteamSimple/prop4_Ph.mo:51:3-51:60:writable] Warning: 'dh1satp' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/Properties/WaterSteamSimple/prop4_Ph.mo:51:3-51:60:writable] Warning: 'dh2satp' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/Properties/WaterSteamSimple/prop4_Ph_der.mo:118:3-118:151:writable] Warning: 'du1satp_der' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/Properties/WaterSteamSimple/prop4_Ph_der.mo:118:3-118:151:writable] Warning: 'du2satp_der' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. Notification: Performance of NFFlatten.collectFunctions: time 0.01786/1.057, allocations: 14.98 MB / 441.3 MB, free: 15.25 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.846e-05/1.057, allocations: 7.938 kB / 441.3 MB, free: 15.24 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 5.928e-05/1.057, allocations: 27.94 kB / 441.3 MB, free: 15.21 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009354/1.066, allocations: 7.151 MB / 448.4 MB, free: 8.043 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.281e-05/1.066, allocations: 0 / 448.4 MB, free: 8.043 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.493e-06/1.066, allocations: 0 / 448.4 MB, free: 8.043 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.366e-05/1.066, allocations: 0 / 448.4 MB, free: 8.043 MB / 442.7 MB 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.00165/1.068, allocations: 1.604 MB / 450 MB, free: 6.391 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/1.068, allocations: 12.61 kB / 450.1 MB, free: 6.379 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.973e-05/1.068, allocations: 8 kB / 450.1 MB, free: 6.371 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.843e-05/1.068, allocations: 121.1 kB / 450.2 MB, free: 6.227 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.959e-06/1.068, allocations: 8 kB / 450.2 MB, free: 6.219 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.604e-06/1.068, allocations: 4 kB / 450.2 MB, free: 6.215 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.997e-05/1.068, allocations: 68.38 kB / 450.3 MB, free: 6.141 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/1.068, allocations: 4 kB / 450.3 MB, free: 6.137 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.053e-06/1.068, allocations: 4 kB / 450.3 MB, free: 6.133 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/1.068, allocations: 3.984 kB / 450.3 MB, free: 6.129 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.478e-05/1.068, allocations: 59.91 kB / 450.3 MB, free: 6.07 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001166/1.068, allocations: 110.5 kB / 450.4 MB, free: 5.945 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.497e-05/1.068, allocations: 54.55 kB / 450.5 MB, free: 5.883 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.632e-05/1.068, allocations: 20.86 kB / 450.5 MB, free: 5.859 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04434/1.113, allocations: 29.41 MB / 479.9 MB, free: 8.422 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/1.113, allocations: 34.56 kB / 480 MB, free: 8.379 MB / 474.7 MB Notification: Performance of pre-optimization done (n=30): time 1.733e-06/1.113, allocations: 4 kB / 480 MB, free: 8.375 MB / 474.7 MB Notification: Performance of matching and sorting (n=30): time 0.0001925/1.113, allocations: 121.7 kB / 480.1 MB, free: 8.25 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.322e-05/1.113, allocations: 51.41 kB / 480.1 MB, free: 8.188 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.779e-05/1.113, allocations: 106.7 kB / 480.2 MB, free: 8.07 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 9.628e-06/1.113, allocations: 33.64 kB / 480.3 MB, free: 8.031 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.824e-05/1.113, allocations: 84.64 kB / 480.3 MB, free: 7.945 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.481e-05/1.113, allocations: 107 kB / 480.5 MB, free: 7.84 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.173e-05/1.113, allocations: 33.69 kB / 480.5 MB, free: 7.801 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.047e-05/1.113, allocations: 326.8 kB / 480.8 MB, free: 7.473 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.073e-05/1.113, allocations: 22.83 kB / 480.8 MB, free: 7.449 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.902e-05/1.113, allocations: 24.73 kB / 480.8 MB, free: 7.426 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.548e-05/1.113, allocations: 75.88 kB / 480.9 MB, free: 7.348 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/1.113, allocations: 0 / 480.9 MB, free: 7.348 MB / 474.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 7.706e-05/1.113, allocations: 97.67 kB / 481 MB, free: 7.246 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/1.113, allocations: 10.34 kB / 481 MB, free: 7.238 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/1.113, allocations: 0 / 481 MB, free: 7.238 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.355e-06/1.113, allocations: 4.031 kB / 481 MB, free: 7.238 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.965e-05/1.113, allocations: 23.92 kB / 481.1 MB, free: 7.215 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.595e-06/1.113, allocations: 0 / 481.1 MB, free: 7.215 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.53e-05/1.114, allocations: 19.84 kB / 481.1 MB, free: 7.195 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/1.114, allocations: 4 kB / 481.1 MB, free: 7.191 MB / 474.7 MB 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 4.85e-05/1.114, allocations: 113.8 kB / 481.2 MB, free: 7.07 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.648e-06/1.114, allocations: 11.98 kB / 481.2 MB, free: 7.059 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001369/1.114, allocations: 146.8 kB / 481.3 MB, free: 6.91 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/1.114, allocations: 0 / 481.3 MB, free: 6.91 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.494e-06/1.114, allocations: 0 / 481.3 MB, free: 6.91 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/1.114, allocations: 3.984 kB / 481.3 MB, free: 6.906 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.607e-05/1.114, allocations: 105.7 kB / 481.5 MB, free: 6.785 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/1.114, allocations: 0 / 481.5 MB, free: 6.785 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.249e-05/1.114, allocations: 23.92 kB / 481.5 MB, free: 6.762 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.033e-05/1.114, allocations: 19.84 kB / 481.5 MB, free: 6.742 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.42e-07/1.114, allocations: 0 / 481.5 MB, free: 6.742 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-06/1.114, allocations: 7.984 kB / 481.5 MB, free: 6.734 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.12e-07/1.114, allocations: 0 / 481.5 MB, free: 6.734 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/1.114, allocations: 0 / 481.5 MB, free: 6.734 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.24e-05/1.114, allocations: 146.6 kB / 481.6 MB, free: 6.57 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.055e-06/1.114, allocations: 0 / 481.6 MB, free: 6.57 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.307e-05/1.114, allocations: 0 / 481.6 MB, free: 6.57 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.418e-05/1.114, allocations: 11.98 kB / 481.7 MB, free: 6.559 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/1.114, allocations: 0 / 481.7 MB, free: 6.559 MB / 474.7 MB Notification: Performance of sorting global known variables: time 7.675e-06/1.114, allocations: 12.86 kB / 481.7 MB, free: 6.543 MB / 474.7 MB Notification: Performance of sort global known variables: time 5e-08/1.114, allocations: 0 / 481.7 MB, free: 6.543 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001653/1.116, allocations: 1.021 MB / 482.7 MB, free: 5.52 MB / 474.7 MB 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.002583/1.118, allocations: 1.829 MB / 484.5 MB, free: 3.68 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 9.884e-05/1.118, allocations: 76.64 kB / 484.6 MB, free: 3.602 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/1.118, allocations: 4 kB / 484.6 MB, free: 3.598 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 2.742e-05/1.118, allocations: 44.77 kB / 484.6 MB, free: 3.551 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001841/1.119, allocations: 66.22 kB / 484.7 MB, free: 3.488 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001769/1.12, allocations: 308 kB / 485 MB, free: 3.16 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.147e-05/1.12, allocations: 71.34 kB / 485.1 MB, free: 3.07 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 3.452e-05/1.12, allocations: 16.7 kB / 485.1 MB, free: 3.055 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.261e-05/1.12, allocations: 83.34 kB / 485.2 MB, free: 2.973 MB / 474.7 MB Notification: Performance of SimCode: time 7.62e-07/1.12, allocations: 0 / 485.2 MB, free: 2.973 MB / 474.7 MB Notification: Performance of Templates: time 0.1867/1.307, allocations: 42.98 MB / 0.5158 GB, free: 85.57 MB / 0.4948 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07672/1.384, allocations: 53.74 MB / 0.5683 GB, free: 59.97 MB / 0.4948 GB " [Timeout remaining time 659] 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=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.439554353244603]