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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.797/0.797, allocations: 152.6 MB / 169.6 MB, free: 14.89 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_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 0.0004709/0.0004709, allocations: 16.03 kB / 245.6 MB, free: 15.74 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05349/0.05396, allocations: 33.06 MB / 278.7 MB, free: 0.7383 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.553/1.607, allocations: 300.3 MB / 0.5654 GB, free: 3.332 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.03487/1.641, allocations: 30.17 MB / 0.5949 GB, free: 5.047 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.955e-05/1.642, allocations: 0 / 0.5949 GB, free: 5.047 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004319/1.642, allocations: 195.9 kB / 0.5951 GB, free: 4.855 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001016/1.642, allocations: 51.69 kB / 0.5951 GB, free: 4.805 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.01843/1.66, allocations: 8.052 MB / 0.603 GB, free: 12.74 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001754/1.661, allocations: 123.4 kB / 0.6031 GB, free: 12.62 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.364e-05/1.661, allocations: 11.98 kB / 0.6031 GB, free: 12.61 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001278/1.661, allocations: 71.53 kB / 0.6032 GB, free: 12.54 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.022e-05/1.661, allocations: 31.86 kB / 0.6032 GB, free: 12.5 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.287e-06/1.661, allocations: 0 / 0.6032 GB, free: 12.5 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02448/1.685, allocations: 14.65 MB / 0.6175 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.543e-05/1.685, allocations: 11.94 kB / 0.6175 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.67e-05/1.685, allocations: 43.72 kB / 0.6176 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01336/1.699, allocations: 7.196 MB / 0.6246 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/1.699, allocations: 0 / 0.6246 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.162e-06/1.699, allocations: 4 kB / 0.6246 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.378e-06/1.699, allocations: 0 / 0.6246 GB, free: 6.559 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.002784/1.702, allocations: 1.191 MB / 0.6258 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.917e-05/1.702, allocations: 12.03 kB / 0.6258 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.899e-05/1.702, allocations: 7.891 kB / 0.6258 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/1.702, allocations: 174.9 kB / 0.6259 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/1.702, allocations: 4 kB / 0.626 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.748e-06/1.702, allocations: 4 kB / 0.626 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001777/1.702, allocations: 131.5 kB / 0.6261 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/1.702, allocations: 0 / 0.6261 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.188e-06/1.702, allocations: 3.984 kB / 0.6261 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/1.702, allocations: 8 kB / 0.6261 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.55e-05/1.702, allocations: 59.84 kB / 0.6261 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03724/1.739, allocations: 15.59 MB / 0.6414 GB, free: 4.02 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000178/1.74, allocations: 66.56 kB / 0.6414 GB, free: 3.945 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.627e-05/1.74, allocations: 44.16 kB / 0.6415 GB, free: 3.902 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07917/1.819, allocations: 40.66 MB / 0.6812 GB, free: 6.473 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/1.819, allocations: 38.56 kB / 0.6812 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=23): time 1.863e-06/1.819, allocations: 0 / 0.6812 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of matching and sorting (n=23): time 0.0003393/1.819, allocations: 177.5 kB / 0.6814 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.332e-05/1.819, allocations: 59.28 kB / 0.6815 GB, free: 6.176 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/1.819, allocations: 117.8 kB / 0.6816 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/1.819, allocations: 29.69 kB / 0.6816 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.377e-05/1.819, allocations: 100.4 kB / 0.6817 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.951e-05/1.819, allocations: 75.33 kB / 0.6818 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.782e-05/1.82, allocations: 33.7 kB / 0.6818 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001422/1.82, allocations: 330.8 kB / 0.6821 GB, free: 5.469 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.621e-05/1.82, allocations: 40.22 kB / 0.6822 GB, free: 5.43 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.531e-05/1.82, allocations: 81.59 kB / 0.6822 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001576/1.82, allocations: 143.9 kB / 0.6824 GB, free: 5.176 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/1.82, allocations: 0 / 0.6824 GB, free: 5.176 MB / 0.5606 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002342/1.82, allocations: 173.3 kB / 0.6825 GB, free: 5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/1.82, allocations: 12.14 kB / 0.6825 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/1.82, allocations: 4 kB / 0.6825 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/1.82, allocations: 3.938 kB / 0.6825 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.082e-05/1.82, allocations: 15.94 kB / 0.6826 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/1.82, allocations: 7.938 kB / 0.6826 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.239e-05/1.82, allocations: 19.91 kB / 0.6826 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/1.82, allocations: 8 kB / 0.6826 GB, free: 4.93 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 8.491e-05/1.82, allocations: 117.8 kB / 0.6827 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.845e-05/1.82, allocations: 7.953 kB / 0.6827 GB, free: 4.797 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002271/1.821, allocations: 166.2 kB / 0.6829 GB, free: 4.629 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/1.821, allocations: 3.984 kB / 0.6829 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.381e-06/1.821, allocations: 3.938 kB / 0.6829 GB, free: 4.621 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/1.821, allocations: 0 / 0.6829 GB, free: 4.621 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001772/1.821, allocations: 206 kB / 0.6831 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/1.821, allocations: 0 / 0.6831 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.826e-05/1.821, allocations: 4 kB / 0.6831 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/1.821, allocations: 0 / 0.6831 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.47e-06/1.821, allocations: 4 kB / 0.6831 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/1.821, allocations: 3.938 kB / 0.6831 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/1.821, allocations: 7.938 kB / 0.6831 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002024/1.821, allocations: 176.2 kB / 0.6833 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.797e-05/1.821, allocations: 85 kB / 0.6833 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.225e-05/1.821, allocations: 0 / 0.6833 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.71e-05/1.821, allocations: 4 kB / 0.6834 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.641e-05/1.821, allocations: 7.922 kB / 0.6834 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/1.821, allocations: 0 / 0.6834 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.97e-05/1.821, allocations: 95.27 kB / 0.6835 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.821, allocations: 4 kB / 0.6835 GB, free: 3.953 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002108/1.823, allocations: 0.9977 MB / 0.6844 GB, free: 2.953 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.003578/1.827, allocations: 1.516 MB / 0.6859 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001835/1.827, allocations: 108 kB / 0.686 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/1.827, allocations: 0 / 0.686 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.398e-05/1.827, allocations: 47.92 kB / 0.6861 GB, free: 1.27 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003476/1.828, allocations: 48.39 kB / 0.6861 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005098/1.828, allocations: 320.8 kB / 0.6864 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003041/1.828, allocations: 0.7 MB / 0.6871 GB, free: 152 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.464e-05/1.828, allocations: 15.44 kB / 0.6871 GB, free: 136 kB / 0.5606 GB Notification: Performance of SimCode: time 3.3e-07/1.828, allocations: 4 kB / 0.6871 GB, free: 132 kB / 0.5606 GB Notification: Performance of Templates: time 0.025/1.853, allocations: 18.92 MB / 0.7056 GB, free: 13.18 MB / 0.5919 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: 8.523561690934002] Failed to read output from testmodel.py, exit status != 0: 2.1129043749533594 2.120627475 0.41989555 Calling exit ...