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.8532/0.8532, allocations: 153.9 MB / 172.7 MB, free: 4.941 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.0005719/0.0005719, allocations: 15.92 kB / 249.8 MB, free: 4.477 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1689/0.1695, allocations: 33.37 MB / 283.2 MB, free: 1.992 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.826/1.995, allocations: 306.7 MB / 0.5761 GB, free: 16.07 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02949/2.025, allocations: 30.67 MB / 0.606 GB, free: 1.605 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000114/2.025, allocations: 1.062 kB / 0.606 GB, free: 1.605 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004335/2.025, allocations: 194.9 kB / 0.6062 GB, free: 1.516 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001405/2.026, allocations: 55.03 kB / 0.6062 GB, free: 1.48 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.02341/2.049, allocations: 8.209 MB / 0.6143 GB, free: 13.61 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002831/2.049, allocations: 138.4 kB / 0.6144 GB, free: 13.53 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.273e-05/2.049, allocations: 28.11 kB / 0.6144 GB, free: 13.51 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001883/2.05, allocations: 71.89 kB / 0.6145 GB, free: 13.46 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001031/2.05, allocations: 32.48 kB / 0.6145 GB, free: 13.45 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.361e-05/2.05, allocations: 2.906 kB / 0.6145 GB, free: 13.45 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03447/2.084, allocations: 14.73 MB / 0.6289 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.183e-05/2.084, allocations: 3.938 kB / 0.6289 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001091/2.084, allocations: 51.62 kB / 0.629 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01676/2.101, allocations: 7.278 MB / 0.6361 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/2.101, allocations: 0 / 0.6361 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.583e-06/2.101, allocations: 0.6875 kB / 0.6361 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.317e-06/2.101, allocations: 0 / 0.6361 GB, free: 8.633 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.003273/2.104, allocations: 1.123 MB / 0.6372 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/2.104, allocations: 12.03 kB / 0.6372 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.663e-05/2.104, allocations: 43.12 kB / 0.6372 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.634e-05/2.105, allocations: 4.484 kB / 0.6372 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/2.105, allocations: 125 kB / 0.6373 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/2.105, allocations: 5.75 kB / 0.6373 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.417e-05/2.105, allocations: 8 kB / 0.6374 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001772/2.105, allocations: 94.34 kB / 0.6374 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/2.105, allocations: 0 / 0.6374 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/2.105, allocations: 5.5 kB / 0.6374 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.434e-05/2.105, allocations: 8.75 kB / 0.6375 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001605/2.105, allocations: 107.9 kB / 0.6376 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002275/2.105, allocations: 189.1 kB / 0.6377 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001368/2.105, allocations: 92.94 kB / 0.6378 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.562e-05/2.105, allocations: 57.53 kB / 0.6379 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1164/2.222, allocations: 32.63 MB / 0.6698 GB, free: 6.004 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.955e-05/2.222, allocations: 34.5 kB / 0.6698 GB, free: 5.961 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=30): time 1.864e-06/2.222, allocations: 4 kB / 0.6698 GB, free: 5.957 MB / 0.5294 GB Notification: Performance of matching and sorting (n=30): time 0.0004565/2.222, allocations: 238.2 kB / 0.67 GB, free: 5.719 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.589e-05/2.222, allocations: 55.41 kB / 0.6701 GB, free: 5.652 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.509e-05/2.222, allocations: 102.5 kB / 0.6702 GB, free: 5.543 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/2.222, allocations: 25.7 kB / 0.6702 GB, free: 5.512 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.102e-05/2.223, allocations: 80.64 kB / 0.6703 GB, free: 5.43 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001104/2.223, allocations: 107 kB / 0.6704 GB, free: 5.324 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.317e-05/2.223, allocations: 33.7 kB / 0.6704 GB, free: 5.285 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001449/2.223, allocations: 322.8 kB / 0.6707 GB, free: 4.961 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.962e-05/2.223, allocations: 51.98 kB / 0.6708 GB, free: 4.91 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.25e-05/2.223, allocations: 52.97 kB / 0.6708 GB, free: 4.859 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001767/2.223, allocations: 137.8 kB / 0.6709 GB, free: 4.723 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/2.223, allocations: 0 / 0.6709 GB, free: 4.723 MB / 0.5294 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002385/2.223, allocations: 174.5 kB / 0.6711 GB, free: 4.547 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/2.223, allocations: 7.984 kB / 0.6711 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/2.223, allocations: 0 / 0.6711 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/2.223, allocations: 3.938 kB / 0.6711 GB, free: 4.535 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.8e-05/2.224, allocations: 21.3 kB / 0.6711 GB, free: 4.516 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/2.224, allocations: 5.484 kB / 0.6711 GB, free: 4.512 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.717e-05/2.224, allocations: 12.95 kB / 0.6712 GB, free: 4.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/2.224, allocations: 4 kB / 0.6712 GB, free: 4.496 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.508e-05/2.224, allocations: 117.8 kB / 0.6713 GB, free: 4.371 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.113e-05/2.224, allocations: 7.953 kB / 0.6713 GB, free: 4.363 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003425/2.224, allocations: 215.4 kB / 0.6715 GB, free: 4.148 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.388e-06/2.224, allocations: 4 kB / 0.6715 GB, free: 4.145 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/2.224, allocations: 3.984 kB / 0.6715 GB, free: 4.141 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/2.224, allocations: 7.938 kB / 0.6715 GB, free: 4.133 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001852/2.224, allocations: 184.6 kB / 0.6717 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/2.224, allocations: 0.9375 kB / 0.6717 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.047e-05/2.224, allocations: 16.75 kB / 0.6717 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/2.224, allocations: 0 / 0.6717 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/2.224, allocations: 7.922 kB / 0.6717 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/2.224, allocations: 0 / 0.6717 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/2.224, allocations: 5.797 kB / 0.6717 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000261/2.225, allocations: 201 kB / 0.6719 GB, free: 3.668 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.09e-05/2.225, allocations: 24.41 kB / 0.6719 GB, free: 3.645 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/2.225, allocations: 8.891 kB / 0.6719 GB, free: 3.637 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.023e-05/2.225, allocations: 0 / 0.6719 GB, free: 3.637 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.892e-05/2.225, allocations: 12.86 kB / 0.6719 GB, free: 3.625 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.102e-06/2.225, allocations: 1.25 kB / 0.6719 GB, free: 3.625 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.883e-05/2.225, allocations: 87.27 kB / 0.672 GB, free: 3.539 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/2.225, allocations: 0 / 0.672 GB, free: 3.539 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002454/2.227, allocations: 1.017 MB / 0.673 GB, free: 2.52 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.004782/2.232, allocations: 2.205 MB / 0.6752 GB, free: 324 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002756/2.232, allocations: 133.3 kB / 0.6753 GB, free: 192 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/2.232, allocations: 0 / 0.6753 GB, free: 192 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 9.895e-05/2.232, allocations: 67.91 kB / 0.6754 GB, free: 124 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004179/2.233, allocations: 51.45 kB / 0.6754 GB, free: 80 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002886/2.236, allocations: 2.033 MB / 0.6774 GB, free: 13.96 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003261/2.236, allocations: 0.704 MB / 0.6781 GB, free: 13.23 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.282e-05/2.236, allocations: 17.73 kB / 0.6781 GB, free: 13.22 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.449e-05/2.236, allocations: 27.44 kB / 0.6781 GB, free: 13.19 MB / 0.545 GB Notification: Performance of SimCode: time 4.81e-07/2.236, allocations: 0 / 0.6781 GB, free: 13.19 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08415/2.32, allocations: 40.25 MB / 0.7174 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.66/14.98, allocations: 8.203 kB / 0.7175 GB, free: 5.488 MB / 0.5762 GB " [Timeout remaining time 645] (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: 16.922242505999975] Failed to read output from testmodel.py, exit status != 0: 15.303590489000044 15.320110791 13.215467882 Calling exit ...