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.8702/0.8702, allocations: 153.8 MB / 170.9 MB, free: 13.74 MB / 142.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: "" <> buildModelFMU(ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_h,fileNamePrefix="ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_calculette_h",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_h,fileNamePrefix="ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_calculette_h",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0004799/0.0004799, allocations: 18.23 kB / 247 MB, free: 14.94 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05806/0.05854, allocations: 33.33 MB / 280.3 MB, free: 15.18 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.7/1.759, allocations: 306.5 MB / 0.5731 GB, free: 11.25 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.03736/1.796, allocations: 30.22 MB / 0.6026 GB, free: 12.91 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.507e-05/1.796, allocations: 0 / 0.6026 GB, free: 12.91 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004392/1.797, allocations: 191.3 kB / 0.6028 GB, free: 12.72 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000105/1.797, allocations: 51.69 kB / 0.6028 GB, free: 12.67 MB / 494.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.02027/1.817, allocations: 8.063 MB / 0.6107 GB, free: 4.594 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001956/1.817, allocations: 123.4 kB / 0.6108 GB, free: 4.473 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.868e-05/1.817, allocations: 15.98 kB / 0.6108 GB, free: 4.457 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001323/1.817, allocations: 71.55 kB / 0.6109 GB, free: 4.387 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.622e-05/1.818, allocations: 35.78 kB / 0.6109 GB, free: 4.352 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.171e-05/1.818, allocations: 4 kB / 0.6109 GB, free: 4.348 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02707/1.845, allocations: 14.66 MB / 0.6253 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.452e-05/1.845, allocations: 7.922 kB / 0.6253 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001205/1.845, allocations: 51.69 kB / 0.6253 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01744/1.862, allocations: 7.208 MB / 0.6324 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/1.862, allocations: 0 / 0.6324 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.713e-06/1.862, allocations: 4 kB / 0.6324 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.053e-06/1.862, allocations: 0 / 0.6324 GB, free: 14.38 MB / 0.5137 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.003512/1.866, allocations: 1.184 MB / 0.6335 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/1.866, allocations: 8.031 kB / 0.6335 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.861e-05/1.866, allocations: 4 kB / 0.6335 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.768e-05/1.866, allocations: 42.55 kB / 0.6336 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.194e-05/1.866, allocations: 15.84 kB / 0.6336 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/1.866, allocations: 171 kB / 0.6337 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/1.866, allocations: 0 / 0.6337 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/1.866, allocations: 11.98 kB / 0.6338 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000204/1.866, allocations: 131.4 kB / 0.6339 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/1.866, allocations: 8 kB / 0.6339 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/1.866, allocations: 0 / 0.6339 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.393e-05/1.866, allocations: 11.94 kB / 0.6339 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001048/1.866, allocations: 55.91 kB / 0.634 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0425/1.909, allocations: 17.42 MB / 0.651 GB, free: 9.586 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002099/1.909, allocations: 70.75 kB / 0.651 GB, free: 9.508 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.119e-05/1.909, allocations: 44.77 kB / 0.6511 GB, free: 9.461 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08906/1.998, allocations: 43.22 MB / 0.6933 GB, free: 8.953 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/1.998, allocations: 38.5 kB / 0.6933 GB, free: 8.906 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=23): time 2.104e-06/1.998, allocations: 0 / 0.6933 GB, free: 8.906 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23): time 0.0003856/1.999, allocations: 185.4 kB / 0.6935 GB, free: 8.719 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.712e-05/1.999, allocations: 51.41 kB / 0.6936 GB, free: 8.656 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/1.999, allocations: 125.7 kB / 0.6937 GB, free: 8.523 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/1.999, allocations: 29.7 kB / 0.6937 GB, free: 8.488 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.016e-05/1.999, allocations: 88.48 kB / 0.6938 GB, free: 8.398 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.028e-05/1.999, allocations: 87.25 kB / 0.6939 GB, free: 8.312 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.075e-05/1.999, allocations: 33.7 kB / 0.6939 GB, free: 8.273 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001535/1.999, allocations: 322.8 kB / 0.6942 GB, free: 7.949 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.243e-05/1.999, allocations: 40.22 kB / 0.6942 GB, free: 7.91 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001014/1.999, allocations: 93.53 kB / 0.6943 GB, free: 7.801 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001759/2, allocations: 140.5 kB / 0.6945 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/2, allocations: 0 / 0.6945 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002579/2, allocations: 181.3 kB / 0.6946 GB, free: 7.465 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/2, allocations: 4.156 kB / 0.6946 GB, free: 7.461 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/2, allocations: 8 kB / 0.6947 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/2, allocations: 3.938 kB / 0.6947 GB, free: 7.449 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.455e-05/2, allocations: 15.94 kB / 0.6947 GB, free: 7.434 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/2, allocations: 4.469 kB / 0.6947 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.981e-05/2, allocations: 11.89 kB / 0.6947 GB, free: 7.418 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/2, allocations: 11.92 kB / 0.6947 GB, free: 7.406 MB / 0.5762 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.506e-05/2, allocations: 116.2 kB / 0.6948 GB, free: 7.285 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.266e-05/2, allocations: 11.91 kB / 0.6948 GB, free: 7.273 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002323/2, allocations: 158.2 kB / 0.695 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.426e-05/2, allocations: 15.92 kB / 0.695 GB, free: 7.094 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/2, allocations: 0 / 0.695 GB, free: 7.094 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/2, allocations: 7.938 kB / 0.695 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00019/2.001, allocations: 201.5 kB / 0.6952 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/2.001, allocations: 0 / 0.6952 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.76e-05/2.001, allocations: 4 kB / 0.6952 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/2.001, allocations: 4 kB / 0.6952 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/2.001, allocations: 0 / 0.6952 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/2.001, allocations: 3.938 kB / 0.6952 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/2.001, allocations: 0 / 0.6952 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002031/2.001, allocations: 166.8 kB / 0.6954 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.511e-05/2.001, allocations: 85 kB / 0.6954 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.394e-05/2.001, allocations: 16.05 kB / 0.6955 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.048e-05/2.001, allocations: 7.875 kB / 0.6955 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.214e-05/2.001, allocations: 0 / 0.6955 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/2.001, allocations: 4 kB / 0.6955 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.717e-05/2.001, allocations: 91.27 kB / 0.6956 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/2.001, allocations: 0 / 0.6956 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00253/2.003, allocations: 1.002 MB / 0.6965 GB, free: 5.43 MB / 0.5762 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.004632/2.008, allocations: 2.132 MB / 0.6986 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002427/2.008, allocations: 111.8 kB / 0.6987 GB, free: 3.16 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/2.008, allocations: 7.875 kB / 0.6987 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 6.003e-05/2.008, allocations: 43.98 kB / 0.6988 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000399/2.009, allocations: 48.14 kB / 0.6988 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002773/2.012, allocations: 2.014 MB / 0.7008 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003444/2.012, allocations: 0.6963 MB / 0.7015 GB, free: 224 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.85e-05/2.012, allocations: 11.98 kB / 0.7015 GB, free: 212 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.156e-05/2.012, allocations: 31.42 kB / 0.7015 GB, free: 180 kB / 0.5762 GB Notification: Performance of SimCode: time 4.41e-07/2.012, allocations: 0 / 0.7015 GB, free: 180 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2419/2.254, allocations: 39.25 MB / 0.7398 GB, free: 200.6 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.4/12.65, allocations: 12.7 kB / 0.7398 GB, free: 200.6 MB / 0.5919 GB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_calculette_h_fmu --startTime=0 --stopTime=10000 --stepSize=4 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_calculette_h.fmu > ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_h.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.781931926030666] Failed to read output from testmodel.py, exit status != 0: 13.014045653981157 13.024350131 11.159793298 Calling exit ...