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.8746/0.8746, allocations: 120.4 MB / 140.1 MB, free: 64 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 0.0005797/0.0005797, allocations: 18.16 kB / 217.7 MB, free: 13.55 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05507/0.05565, allocations: 33.38 MB / 251.1 MB, free: 13.33 MB / 238.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.794/1.85, allocations: 253.3 MB / 0.4926 GB, free: 15.38 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.03789/1.888, allocations: 26.57 MB / 0.5185 GB, free: 10.9 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.556e-05/1.888, allocations: 5.625 kB / 0.5185 GB, free: 10.9 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004245/1.888, allocations: 131.5 kB / 0.5187 GB, free: 10.77 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001156/1.888, allocations: 47.69 kB / 0.5187 GB, free: 10.72 MB / 478.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.02273/1.911, allocations: 8.061 MB / 0.5266 GB, free: 2.695 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002064/1.911, allocations: 123.4 kB / 0.5267 GB, free: 2.574 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.339e-05/1.911, allocations: 15.97 kB / 0.5267 GB, free: 2.559 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001352/1.912, allocations: 64.36 kB / 0.5268 GB, free: 2.496 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.788e-05/1.912, allocations: 35.8 kB / 0.5268 GB, free: 2.461 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/1.912, allocations: 4.719 kB / 0.5268 GB, free: 2.457 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02732/1.939, allocations: 13.82 MB / 0.5403 GB, free: 4.633 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.243e-05/1.939, allocations: 11.92 kB / 0.5403 GB, free: 4.621 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.418e-05/1.939, allocations: 36.59 kB / 0.5404 GB, free: 4.586 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01648/1.956, allocations: 7.219 MB / 0.5474 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/1.956, allocations: 0.9375 kB / 0.5474 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.684e-06/1.956, allocations: 0 / 0.5474 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.033e-06/1.956, allocations: 7.938 kB / 0.5474 GB, free: 13.34 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.002956/1.959, allocations: 1.101 MB / 0.5485 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/1.959, allocations: 9.281 kB / 0.5485 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.14e-05/1.959, allocations: 11.94 kB / 0.5485 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/1.959, allocations: 113.1 kB / 0.5486 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/1.959, allocations: 3.938 kB / 0.5486 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.793e-05/1.959, allocations: 14.72 kB / 0.5486 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000205/1.959, allocations: 127.5 kB / 0.5488 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/1.959, allocations: 3.938 kB / 0.5488 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.318e-06/1.959, allocations: 0 / 0.5488 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/1.959, allocations: 9.859 kB / 0.5488 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001016/1.959, allocations: 55.92 kB / 0.5488 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04178/2.001, allocations: 11.22 MB / 0.5598 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002181/2.001, allocations: 70.5 kB / 0.5598 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.422e-05/2.001, allocations: 48.91 kB / 0.5599 GB, free: 472 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08155/2.083, allocations: 22.05 MB / 0.5814 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.855e-05/2.083, allocations: 38.56 kB / 0.5815 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=23): time 2.234e-06/2.083, allocations: 4 kB / 0.5815 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of matching and sorting (n=23): time 0.000384/2.083, allocations: 189.4 kB / 0.5816 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/2.083, allocations: 55.41 kB / 0.5817 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/2.083, allocations: 113.8 kB / 0.5818 GB, free: 9.965 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/2.083, allocations: 25.7 kB / 0.5818 GB, free: 9.934 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.697e-05/2.083, allocations: 108.4 kB / 0.5819 GB, free: 9.824 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.425e-05/2.083, allocations: 79.31 kB / 0.582 GB, free: 9.746 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.677e-05/2.084, allocations: 33.7 kB / 0.582 GB, free: 9.707 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001574/2.084, allocations: 315.2 kB / 0.5823 GB, free: 9.391 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.739e-05/2.084, allocations: 48.2 kB / 0.5824 GB, free: 9.344 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001149/2.084, allocations: 94.94 kB / 0.5825 GB, free: 9.234 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001985/2.084, allocations: 161.5 kB / 0.5826 GB, free: 9.062 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/2.084, allocations: 4.062 kB / 0.5826 GB, free: 9.059 MB / 0.5294 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002608/2.084, allocations: 169.4 kB / 0.5828 GB, free: 8.887 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/2.084, allocations: 8 kB / 0.5828 GB, free: 8.879 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/2.084, allocations: 4.156 kB / 0.5828 GB, free: 8.875 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/2.084, allocations: 4 kB / 0.5828 GB, free: 8.871 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.265e-05/2.084, allocations: 15.98 kB / 0.5828 GB, free: 8.855 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/2.084, allocations: 0 / 0.5828 GB, free: 8.855 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.056e-05/2.085, allocations: 19.78 kB / 0.5828 GB, free: 8.836 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/2.085, allocations: 8 kB / 0.5829 GB, free: 8.828 MB / 0.5294 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.647e-05/2.085, allocations: 121.7 kB / 0.583 GB, free: 8.699 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.416e-05/2.085, allocations: 12.5 kB / 0.583 GB, free: 8.688 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002596/2.085, allocations: 170.3 kB / 0.5831 GB, free: 8.512 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/2.085, allocations: 0 / 0.5831 GB, free: 8.512 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/2.085, allocations: 7.984 kB / 0.5832 GB, free: 8.504 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/2.085, allocations: 0 / 0.5832 GB, free: 8.504 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000154/2.085, allocations: 141.3 kB / 0.5833 GB, free: 8.336 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/2.085, allocations: 5.109 kB / 0.5833 GB, free: 8.332 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.492e-05/2.085, allocations: 11.92 kB / 0.5833 GB, free: 8.32 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/2.085, allocations: 0 / 0.5833 GB, free: 8.32 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/2.085, allocations: 0 / 0.5833 GB, free: 8.32 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/2.085, allocations: 0 / 0.5833 GB, free: 8.32 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/2.085, allocations: 0 / 0.5833 GB, free: 8.32 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002447/2.085, allocations: 180.3 kB / 0.5835 GB, free: 8.129 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.997e-05/2.085, allocations: 15.83 kB / 0.5835 GB, free: 8.113 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.371e-05/2.085, allocations: 4 kB / 0.5835 GB, free: 8.109 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.359e-05/2.085, allocations: 4 kB / 0.5835 GB, free: 8.105 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.202e-05/2.085, allocations: 7.984 kB / 0.5835 GB, free: 8.098 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/2.085, allocations: 0 / 0.5835 GB, free: 8.098 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.23e-05/2.086, allocations: 91.31 kB / 0.5836 GB, free: 8.008 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/2.086, allocations: 4 kB / 0.5836 GB, free: 8.004 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0025/2.088, allocations: 0.9977 MB / 0.5846 GB, free: 7.004 MB / 0.5294 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.004163/2.092, allocations: 1.528 MB / 0.5861 GB, free: 5.484 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002676/2.092, allocations: 108.1 kB / 0.5862 GB, free: 5.379 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/2.092, allocations: 4 kB / 0.5862 GB, free: 5.375 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 6.287e-05/2.093, allocations: 43.98 kB / 0.5862 GB, free: 5.332 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004292/2.093, allocations: 50.55 kB / 0.5863 GB, free: 5.285 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000671/2.094, allocations: 299.8 kB / 0.5865 GB, free: 4.965 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.765e-05/2.094, allocations: 85.45 kB / 0.5866 GB, free: 4.863 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 5.23e-05/2.094, allocations: 17.38 kB / 0.5866 GB, free: 4.848 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.496e-05/2.094, allocations: 12.5 kB / 0.5867 GB, free: 4.836 MB / 0.5294 GB Notification: Performance of SimCode: time 9.21e-07/2.094, allocations: 0 / 0.5867 GB, free: 4.836 MB / 0.5294 GB Notification: Performance of Templates: time 0.05419/2.148, allocations: 35.84 MB / 0.6217 GB, free: 1.16 MB / 0.5606 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 -s ida -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_h.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.918729704921134] Failed to read output from testmodel.py, exit status != 0: 2.3061915379948914 2.321814948 0.362877722 Calling exit ...