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.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8502/0.8502, allocations: 152.6 MB / 170.1 MB, free: 14.44 MB / 142.1 MB " [Timeout remaining time 179] 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_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.0005/0.0005, allocations: 19.09 kB / 246.7 MB, free: 15.32 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05676/0.05726, allocations: 33.05 MB / 279.8 MB, free: 15.86 MB / 238.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_p): time 1.675/1.732, allocations: 300.2 MB / 0.5664 GB, free: 3.016 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.03903/1.772, allocations: 30.59 MB / 0.5963 GB, free: 4.312 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.895e-05/1.772, allocations: 0 / 0.5963 GB, free: 4.312 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004392/1.772, allocations: 195.3 kB / 0.5965 GB, free: 4.121 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001324/1.772, allocations: 51.69 kB / 0.5965 GB, free: 4.07 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.02147/1.794, allocations: 8.209 MB / 0.6045 GB, free: 11.85 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002126/1.794, allocations: 119.5 kB / 0.6047 GB, free: 11.73 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.44e-05/1.794, allocations: 28.97 kB / 0.6047 GB, free: 11.7 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001409/1.794, allocations: 67.61 kB / 0.6048 GB, free: 11.64 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.036e-05/1.794, allocations: 39.78 kB / 0.6048 GB, free: 11.6 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.205e-05/1.794, allocations: 4 kB / 0.6048 GB, free: 11.59 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02793/1.822, allocations: 14.71 MB / 0.6192 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.637e-05/1.822, allocations: 7.938 kB / 0.6192 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.79e-05/1.822, allocations: 47.72 kB / 0.6192 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0156/1.838, allocations: 7.274 MB / 0.6263 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.341e-06/1.838, allocations: 0 / 0.6263 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.613e-06/1.838, allocations: 0 / 0.6263 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.326e-06/1.838, allocations: 4 kB / 0.6263 GB, free: 5.516 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.003435/1.841, allocations: 1.187 MB / 0.6275 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/1.841, allocations: 8.031 kB / 0.6275 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.275e-05/1.841, allocations: 15.84 kB / 0.6275 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001517/1.841, allocations: 175 kB / 0.6277 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/1.842, allocations: 11.92 kB / 0.6277 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.096e-05/1.842, allocations: 0 / 0.6277 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002027/1.842, allocations: 97.61 kB / 0.6278 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/1.842, allocations: 4 kB / 0.6278 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/1.842, allocations: 0 / 0.6278 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.459e-05/1.842, allocations: 11.97 kB / 0.6278 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001744/1.842, allocations: 111.9 kB / 0.6279 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002713/1.842, allocations: 213.5 kB / 0.6281 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001489/1.842, allocations: 86.55 kB / 0.6282 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.803e-05/1.842, allocations: 56.83 kB / 0.6282 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1251/1.967, allocations: 56.41 MB / 0.6833 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.588e-05/1.968, allocations: 34.56 kB / 0.6834 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=30): time 2.114e-06/1.968, allocations: 4 kB / 0.6834 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30): time 0.0004507/1.968, allocations: 234.2 kB / 0.6836 GB, free: 4.578 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.771e-05/1.968, allocations: 55.41 kB / 0.6836 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.914e-05/1.968, allocations: 97.86 kB / 0.6837 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/1.968, allocations: 25.7 kB / 0.6838 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.213e-05/1.968, allocations: 84.7 kB / 0.6838 GB, free: 4.289 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.546e-05/1.968, allocations: 103 kB / 0.6839 GB, free: 4.188 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.81e-05/1.968, allocations: 33.7 kB / 0.684 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001467/1.968, allocations: 326.8 kB / 0.6843 GB, free: 3.82 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.181e-05/1.969, allocations: 47.92 kB / 0.6843 GB, free: 3.773 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.886e-05/1.969, allocations: 47.98 kB / 0.6844 GB, free: 3.727 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001687/1.969, allocations: 128.8 kB / 0.6845 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/1.969, allocations: 0 / 0.6845 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000239/1.969, allocations: 165.8 kB / 0.6846 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/1.969, allocations: 8 kB / 0.6847 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/1.969, allocations: 0 / 0.6847 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/1.969, allocations: 3.938 kB / 0.6847 GB, free: 3.418 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.895e-05/1.969, allocations: 19.92 kB / 0.6847 GB, free: 3.398 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.912e-06/1.969, allocations: 7.984 kB / 0.6847 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.44e-05/1.969, allocations: 15.89 kB / 0.6847 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/1.969, allocations: 4 kB / 0.6847 GB, free: 3.371 MB / 0.5606 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 8.767e-05/1.969, allocations: 113.8 kB / 0.6848 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.47e-05/1.969, allocations: 11.91 kB / 0.6848 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003442/1.97, allocations: 210.6 kB / 0.685 GB, free: 3.02 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-05/1.97, allocations: 7.984 kB / 0.685 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/1.97, allocations: 3.938 kB / 0.685 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/1.97, allocations: 4 kB / 0.685 GB, free: 3.004 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002036/1.97, allocations: 217.5 kB / 0.6852 GB, free: 2.742 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/1.97, allocations: 0 / 0.6852 GB, free: 2.742 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.3e-05/1.97, allocations: 19.98 kB / 0.6853 GB, free: 2.723 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/1.97, allocations: 0 / 0.6853 GB, free: 2.723 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/1.97, allocations: 7.938 kB / 0.6853 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/1.97, allocations: 0 / 0.6853 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/1.97, allocations: 4 kB / 0.6853 GB, free: 2.711 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002633/1.97, allocations: 200.9 kB / 0.6855 GB, free: 2.496 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.698e-05/1.97, allocations: 89 kB / 0.6856 GB, free: 2.391 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.987e-05/1.97, allocations: 11.92 kB / 0.6856 GB, free: 2.379 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.294e-05/1.97, allocations: 4 kB / 0.6856 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.915e-05/1.97, allocations: 7.938 kB / 0.6856 GB, free: 2.367 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/1.97, allocations: 8 kB / 0.6856 GB, free: 2.359 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.38e-05/1.97, allocations: 83.45 kB / 0.6857 GB, free: 2.277 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/1.97, allocations: 0 / 0.6857 GB, free: 2.277 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002391/1.973, allocations: 1.013 MB / 0.6867 GB, free: 1.262 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 (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.004532/1.977, allocations: 1.568 MB / 0.6882 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002416/1.978, allocations: 119.8 kB / 0.6883 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/1.978, allocations: 0 / 0.6883 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.528e-05/1.978, allocations: 67.97 kB / 0.6884 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003744/1.978, allocations: 39.89 kB / 0.6884 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006498/1.979, allocations: 327.1 kB / 0.6887 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003152/1.979, allocations: 0.7118 MB / 0.6894 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 5.04e-05/1.979, allocations: 12.66 kB / 0.6894 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.712e-05/1.979, allocations: 19.44 kB / 0.6894 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of SimCode: time 3.41e-07/1.979, allocations: 4 kB / 0.6894 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of Templates: time 0.2205/2.2, allocations: 36.41 MB / 0.725 GB, free: 219.5 MB / 0.5919 GB " [Timeout remaining time 658] 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: 7.755175523459911]