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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo): time 0.8312/0.8312, allocations: 153.8 MB / 172.7 MB, free: 4.887 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_p,fileNamePrefix="ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_calculette_p",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p,fileNamePrefix="ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_calculette_p",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005267/0.0005267, allocations: 11.97 kB / 249.8 MB, free: 4.402 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.16, allocations: 33.36 MB / 283.1 MB, free: 1.723 MB / 222.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_p): time 1.852/2.012, allocations: 306.9 MB / 0.5762 GB, free: 17.35 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02694/2.039, allocations: 26.94 MB / 0.6025 GB, free: 5.52 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001097/2.039, allocations: 2 kB / 0.6025 GB, free: 5.52 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004187/2.039, allocations: 145.8 kB / 0.6026 GB, free: 5.465 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001036/2.039, allocations: 45.95 kB / 0.6027 GB, free: 5.438 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.0218/2.061, allocations: 8.134 MB / 0.6106 GB, free: 1.629 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002073/2.061, allocations: 132.3 kB / 0.6107 GB, free: 1.551 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.342e-05/2.061, allocations: 20.59 kB / 0.6107 GB, free: 1.539 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001346/2.061, allocations: 76.91 kB / 0.6108 GB, free: 1.488 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.983e-05/2.062, allocations: 35.64 kB / 0.6109 GB, free: 1.469 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.354e-05/2.062, allocations: 3.562 kB / 0.6109 GB, free: 1.469 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02755/2.089, allocations: 13.88 MB / 0.6244 GB, free: 4.668 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.791e-05/2.089, allocations: 14.41 kB / 0.6244 GB, free: 4.656 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000122/2.089, allocations: 35.8 kB / 0.6245 GB, free: 4.621 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01869/2.108, allocations: 7.281 MB / 0.6316 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/2.108, allocations: 0 / 0.6316 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.984e-06/2.108, allocations: 4.812 kB / 0.6316 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.732e-06/2.108, allocations: 0 / 0.6316 GB, free: 13.31 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.003093/2.111, allocations: 1.109 MB / 0.6327 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/2.111, allocations: 8.688 kB / 0.6327 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.122e-05/2.111, allocations: 43.64 kB / 0.6327 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.691e-05/2.111, allocations: 7.953 kB / 0.6327 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/2.111, allocations: 121 kB / 0.6328 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/2.111, allocations: 9.938 kB / 0.6328 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.364e-05/2.111, allocations: 4 kB / 0.6328 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001864/2.112, allocations: 98.81 kB / 0.6329 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/2.112, allocations: 2.156 kB / 0.6329 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/2.112, allocations: 0 / 0.6329 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/2.112, allocations: 3.984 kB / 0.6329 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001612/2.112, allocations: 111.6 kB / 0.633 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002478/2.112, allocations: 189.9 kB / 0.6332 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001531/2.112, allocations: 90.48 kB / 0.6333 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.976e-05/2.112, allocations: 60.83 kB / 0.6334 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1149/2.227, allocations: 32.76 MB / 0.6654 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.178e-05/2.227, allocations: 30.56 kB / 0.6654 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=30): time 2.064e-06/2.227, allocations: 0 / 0.6654 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of matching and sorting (n=30): time 0.0004904/2.228, allocations: 246.2 kB / 0.6656 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.877e-05/2.228, allocations: 55.41 kB / 0.6657 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.83e-05/2.228, allocations: 98.73 kB / 0.6658 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/2.228, allocations: 29.7 kB / 0.6658 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.128e-05/2.228, allocations: 84.64 kB / 0.6659 GB, free: 10 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 9.659e-05/2.228, allocations: 103 kB / 0.666 GB, free: 9.898 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.264e-05/2.228, allocations: 33.7 kB / 0.666 GB, free: 9.859 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001608/2.228, allocations: 326.8 kB / 0.6663 GB, free: 9.531 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.941e-05/2.228, allocations: 49.05 kB / 0.6664 GB, free: 9.484 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.287e-05/2.228, allocations: 55.97 kB / 0.6664 GB, free: 9.43 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001729/2.228, allocations: 125.8 kB / 0.6665 GB, free: 9.305 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/2.228, allocations: 0 / 0.6665 GB, free: 9.305 MB / 0.5294 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002454/2.229, allocations: 181.5 kB / 0.6667 GB, free: 9.121 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/2.229, allocations: 4 kB / 0.6667 GB, free: 9.117 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/2.229, allocations: 4 kB / 0.6667 GB, free: 9.113 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/2.229, allocations: 3.938 kB / 0.6667 GB, free: 9.109 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.577e-05/2.229, allocations: 15.98 kB / 0.6667 GB, free: 9.094 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/2.229, allocations: 4.75 kB / 0.6668 GB, free: 9.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.254e-05/2.229, allocations: 11.89 kB / 0.6668 GB, free: 9.078 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/2.229, allocations: 4 kB / 0.6668 GB, free: 9.074 MB / 0.5294 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 9.523e-05/2.229, allocations: 122.5 kB / 0.6669 GB, free: 8.945 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.369e-05/2.229, allocations: 12.47 kB / 0.6669 GB, free: 8.934 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003412/2.229, allocations: 215 kB / 0.6671 GB, free: 8.715 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/2.229, allocations: 0.9375 kB / 0.6671 GB, free: 8.715 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/2.229, allocations: 0 / 0.6671 GB, free: 8.715 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/2.229, allocations: 4.484 kB / 0.6671 GB, free: 8.711 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001909/2.23, allocations: 185.8 kB / 0.6673 GB, free: 8.488 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/2.23, allocations: 4 kB / 0.6673 GB, free: 8.484 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.756e-05/2.23, allocations: 12.94 kB / 0.6673 GB, free: 8.473 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/2.23, allocations: 7.875 kB / 0.6673 GB, free: 8.465 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/2.23, allocations: 11.92 kB / 0.6673 GB, free: 8.453 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/2.23, allocations: 0 / 0.6673 GB, free: 8.453 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/2.23, allocations: 0 / 0.6673 GB, free: 8.453 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002794/2.23, allocations: 206 kB / 0.6675 GB, free: 8.234 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.806e-05/2.23, allocations: 15.83 kB / 0.6675 GB, free: 8.219 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/2.23, allocations: 1.062 kB / 0.6675 GB, free: 8.219 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.475e-05/2.23, allocations: 4 kB / 0.6675 GB, free: 8.215 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.789e-05/2.23, allocations: 7.984 kB / 0.6675 GB, free: 8.207 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/2.23, allocations: 8 kB / 0.6675 GB, free: 8.199 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.595e-05/2.23, allocations: 84.06 kB / 0.6676 GB, free: 8.117 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/2.23, allocations: 0 / 0.6676 GB, free: 8.117 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002504/2.233, allocations: 1.021 MB / 0.6686 GB, free: 7.094 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 (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.004483/2.237, allocations: 2.213 MB / 0.6708 GB, free: 4.883 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002423/2.237, allocations: 128.4 kB / 0.6709 GB, free: 4.758 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/2.237, allocations: 0 / 0.6709 GB, free: 4.758 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 9.234e-05/2.237, allocations: 59.97 kB / 0.671 GB, free: 4.699 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003806/2.238, allocations: 60.11 kB / 0.671 GB, free: 4.652 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002542/2.24, allocations: 2.022 MB / 0.673 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.592e-05/2.24, allocations: 89.33 kB / 0.6731 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 5.554e-05/2.24, allocations: 16.25 kB / 0.6731 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.976e-05/2.241, allocations: 31.44 kB / 0.6731 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of SimCode: time 3e-07/2.241, allocations: 0 / 0.6731 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08214/2.323, allocations: 40.7 MB / 0.7129 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.93/15.25, allocations: 6.25 kB / 0.7129 GB, free: 10.29 MB / 0.5762 GB " [Timeout remaining time 644] (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 & python3 -m fmpy simulate --output-file ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p_res.csv --start-time 0 --stop-time 10000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4 ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_calculette_p.fmu > ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.111757733859122] Failed to read output from testmodel.py, exit status != 0: 15.543241787701845 15.558963106 13.447812915 Calling exit ...