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.7977/0.7977, allocations: 152.6 MB / 169.6 MB, free: 14.92 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.0004701/0.0004701, allocations: 15.12 kB / 245.6 MB, free: 15.74 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05273/0.0532, allocations: 33.05 MB / 278.7 MB, free: 0.7461 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_p): time 1.564/1.617, allocations: 300.4 MB / 0.5654 GB, free: 3.316 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0367/1.654, allocations: 30.54 MB / 0.5953 GB, free: 4.66 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.695e-05/1.654, allocations: 4 kB / 0.5953 GB, free: 4.656 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004164/1.654, allocations: 203.3 kB / 0.5955 GB, free: 4.457 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001001/1.654, allocations: 47.75 kB / 0.5955 GB, free: 4.41 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.01888/1.673, allocations: 8.132 MB / 0.6034 GB, free: 12.27 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001839/1.673, allocations: 127.3 kB / 0.6036 GB, free: 12.14 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.262e-05/1.673, allocations: 21.05 kB / 0.6036 GB, free: 12.12 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000127/1.673, allocations: 79.52 kB / 0.6037 GB, free: 12.05 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.458e-05/1.674, allocations: 35.8 kB / 0.6037 GB, free: 12.01 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.208e-05/1.674, allocations: 4 kB / 0.6037 GB, free: 12.01 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02512/1.699, allocations: 14.7 MB / 0.6181 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.764e-05/1.699, allocations: 15.86 kB / 0.6181 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.367e-05/1.699, allocations: 43.75 kB / 0.6181 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0146/1.713, allocations: 7.27 MB / 0.6252 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/1.713, allocations: 3.938 kB / 0.6252 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.353e-06/1.713, allocations: 0 / 0.6252 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.264e-06/1.713, allocations: 0 / 0.6252 GB, free: 5.934 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.003381/1.717, allocations: 1.195 MB / 0.6264 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/1.717, allocations: 8.031 kB / 0.6264 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.982e-05/1.717, allocations: 15.84 kB / 0.6264 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001646/1.717, allocations: 174.9 kB / 0.6266 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.328e-06/1.717, allocations: 0 / 0.6266 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.721e-05/1.717, allocations: 8 kB / 0.6266 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000192/1.717, allocations: 93.59 kB / 0.6267 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/1.717, allocations: 0 / 0.6267 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/1.717, allocations: 4 kB / 0.6267 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/1.717, allocations: 4 kB / 0.6267 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001752/1.717, allocations: 123.8 kB / 0.6268 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002676/1.718, allocations: 217.5 kB / 0.627 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001422/1.718, allocations: 86.55 kB / 0.6271 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.307e-05/1.718, allocations: 48.84 kB / 0.6271 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1202/1.838, allocations: 56.41 MB / 0.6822 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.475e-05/1.838, allocations: 38.5 kB / 0.6823 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=30): time 1.763e-06/1.838, allocations: 0 / 0.6823 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30): time 0.0004305/1.839, allocations: 222.3 kB / 0.6825 GB, free: 5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.836e-05/1.839, allocations: 55.41 kB / 0.6825 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.887e-05/1.839, allocations: 101.8 kB / 0.6826 GB, free: 4.824 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/1.839, allocations: 29.7 kB / 0.6827 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.848e-05/1.839, allocations: 80.7 kB / 0.6827 GB, free: 4.707 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.194e-05/1.839, allocations: 107 kB / 0.6828 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.348e-05/1.839, allocations: 33.7 kB / 0.6829 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000144/1.839, allocations: 318.8 kB / 0.6832 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.686e-05/1.839, allocations: 47.98 kB / 0.6832 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.865e-05/1.839, allocations: 55.91 kB / 0.6833 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001652/1.839, allocations: 128.7 kB / 0.6834 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/1.839, allocations: 7.938 kB / 0.6834 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002282/1.84, allocations: 169.8 kB / 0.6836 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/1.84, allocations: 11.98 kB / 0.6836 GB, free: 3.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/1.84, allocations: 3.984 kB / 0.6836 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/1.84, allocations: 0 / 0.6836 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.749e-05/1.84, allocations: 12 kB / 0.6836 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.485e-06/1.84, allocations: 3.938 kB / 0.6836 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.036e-05/1.84, allocations: 11.89 kB / 0.6836 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/1.84, allocations: 11.98 kB / 0.6836 GB, free: 3.777 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.614e-05/1.84, allocations: 121.8 kB / 0.6837 GB, free: 3.648 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.942e-05/1.84, allocations: 7.906 kB / 0.6837 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003165/1.84, allocations: 203.1 kB / 0.6839 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/1.84, allocations: 7.984 kB / 0.6839 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/1.84, allocations: 0 / 0.6839 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/1.84, allocations: 0 / 0.6839 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001998/1.84, allocations: 221.5 kB / 0.6842 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/1.84, allocations: 3.938 kB / 0.6842 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.735e-05/1.841, allocations: 20 kB / 0.6842 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/1.841, allocations: 3.984 kB / 0.6842 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/1.841, allocations: 192 / 0.6842 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/1.841, allocations: 3.938 kB / 0.6842 GB, free: 3.125 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/1.841, allocations: 3.984 kB / 0.6842 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002585/1.841, allocations: 208.9 kB / 0.6844 GB, free: 2.898 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.992e-05/1.841, allocations: 89 kB / 0.6845 GB, free: 2.793 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.172e-05/1.841, allocations: 0 / 0.6845 GB, free: 2.793 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.52e-05/1.841, allocations: 8 kB / 0.6845 GB, free: 2.785 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.593e-05/1.841, allocations: 15.92 kB / 0.6845 GB, free: 2.77 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/1.841, allocations: 4 kB / 0.6845 GB, free: 2.766 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.112e-05/1.841, allocations: 79.28 kB / 0.6846 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/1.841, allocations: 0 / 0.6846 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002276/1.843, allocations: 1.013 MB / 0.6856 GB, free: 1.672 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.004439/1.848, allocations: 1.567 MB / 0.6871 GB, free: 100 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002348/1.848, allocations: 127.8 kB / 0.6872 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/1.848, allocations: 4 kB / 0.6872 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.893e-05/1.848, allocations: 59.92 kB / 0.6873 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003614/1.848, allocations: 47.89 kB / 0.6873 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006038/1.849, allocations: 340.8 kB / 0.6876 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000312/1.849, allocations: 0.7079 MB / 0.6883 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.478e-05/1.849, allocations: 19.42 kB / 0.6884 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of SimCode: time 3.01e-07/1.849, allocations: 0 / 0.6884 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of Templates: time 0.02803/1.877, allocations: 19.37 MB / 0.7073 GB, free: 11.34 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: 8.622790589928627] Failed to read output from testmodel.py, exit status != 0: 2.1347042091656476 2.142997831 0.42766517800000003 Calling exit ...