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.6084/0.6084, allocations: 120.4 MB / 139.5 MB, free: 13 MB / 138.7 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 3.507e-06/3.507e-06, allocations: 0 / 216.7 MB, free: 8.633 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.32e-05/2.671e-05, allocations: 2.281 kB / 216.7 MB, free: 8.629 MB / 202.7 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.071/1.072, allocations: 253.6 MB / 470.3 MB, free: 9.488 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.3086/1.38, allocations: 26.92 MB / 497.2 MB, free: 1.031 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/1.38, allocations: 0.5625 kB / 497.2 MB, free: 1.031 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004509/1.381, allocations: 144.2 kB / 497.4 MB, free: 1.031 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001388/1.381, allocations: 53.3 kB / 497.4 MB, free: 1.031 MB / 442.7 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.02054/1.401, allocations: 8.205 MB / 0.4938 GB, free: 484 kB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002172/1.402, allocations: 133.3 kB / 0.4939 GB, free: 444 kB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.384e-05/1.402, allocations: 18.44 kB / 0.4939 GB, free: 444 kB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001599/1.402, allocations: 101.4 kB / 0.494 GB, free: 428 kB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.99e-05/1.402, allocations: 27.45 kB / 0.494 GB, free: 424 kB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.626e-05/1.402, allocations: 3.844 kB / 0.494 GB, free: 424 kB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02612/1.428, allocations: 14.01 MB / 0.5077 GB, free: 10.21 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 3.81e-05/1.428, allocations: 11.25 kB / 0.5077 GB, free: 10.2 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001055/1.428, allocations: 30.59 kB / 0.5078 GB, free: 10.18 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01956/1.448, allocations: 9.306 MB / 0.5168 GB, free: 1.316 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.246e-06/1.448, allocations: 4 kB / 0.5168 GB, free: 1.312 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.635e-06/1.448, allocations: 0 / 0.5168 GB, free: 1.312 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.454e-06/1.448, allocations: 0 / 0.5168 GB, free: 1.312 MB / 458.7 MB 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.003676/1.451, allocations: 1.114 MB / 0.5179 GB, free: 172 kB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.343e-05/1.451, allocations: 8.781 kB / 0.5179 GB, free: 164 kB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.416e-05/1.452, allocations: 46.55 kB / 0.518 GB, free: 108 kB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.46e-05/1.452, allocations: 7.953 kB / 0.518 GB, free: 100 kB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/1.452, allocations: 121.6 kB / 0.5181 GB, free: 15.96 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/1.452, allocations: 0 / 0.5181 GB, free: 15.96 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.535e-05/1.452, allocations: 12.75 kB / 0.5181 GB, free: 15.95 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/1.452, allocations: 92.84 kB / 0.5182 GB, free: 15.85 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/1.452, allocations: 0 / 0.5182 GB, free: 15.85 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/1.452, allocations: 5.812 kB / 0.5182 GB, free: 15.85 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.477e-06/1.452, allocations: 4 kB / 0.5182 GB, free: 15.84 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000115/1.452, allocations: 111.8 kB / 0.5183 GB, free: 15.73 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001986/1.452, allocations: 186.9 kB / 0.5185 GB, free: 15.52 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/1.452, allocations: 97.3 kB / 0.5186 GB, free: 15.42 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.018e-05/1.452, allocations: 53.78 kB / 0.5186 GB, free: 15.36 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05567/1.508, allocations: 32.77 MB / 0.5506 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.739e-05/1.508, allocations: 34.56 kB / 0.5507 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=30): time 3.316e-06/1.508, allocations: 0 / 0.5507 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of matching and sorting (n=30): time 0.0004258/1.509, allocations: 238.3 kB / 0.5509 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.848e-05/1.509, allocations: 59.34 kB / 0.551 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.022e-05/1.509, allocations: 102.8 kB / 0.5511 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/1.509, allocations: 25.7 kB / 0.5511 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.047e-05/1.509, allocations: 80.64 kB / 0.5512 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.993e-05/1.509, allocations: 101.8 kB / 0.5513 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.299e-05/1.509, allocations: 38.45 kB / 0.5513 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.478e-05/1.509, allocations: 322.8 kB / 0.5516 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.858e-05/1.509, allocations: 47.98 kB / 0.5517 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.246e-05/1.509, allocations: 52.47 kB / 0.5517 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001224/1.509, allocations: 129.8 kB / 0.5518 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/1.509, allocations: 0 / 0.5518 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000175/1.509, allocations: 179.4 kB / 0.552 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/1.509, allocations: 4 kB / 0.552 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.467e-06/1.509, allocations: 1.125 kB / 0.552 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/1.509, allocations: 4 kB / 0.552 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.91e-05/1.509, allocations: 22.14 kB / 0.552 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/1.509, allocations: 3.938 kB / 0.552 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.34e-05/1.51, allocations: 11.89 kB / 0.552 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/1.51, allocations: 5.109 kB / 0.552 GB, free: 13.29 MB / 0.4948 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 7.889e-05/1.51, allocations: 117.2 kB / 0.5522 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.384e-05/1.51, allocations: 12.8 kB / 0.5522 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002536/1.51, allocations: 210.6 kB / 0.5524 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/1.51, allocations: 4.75 kB / 0.5524 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/1.51, allocations: 3.938 kB / 0.5524 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/1.51, allocations: 3.984 kB / 0.5524 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000141/1.51, allocations: 187.9 kB / 0.5526 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/1.51, allocations: 4 kB / 0.5526 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.476e-05/1.51, allocations: 15.09 kB / 0.5526 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/1.51, allocations: 0 / 0.5526 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/1.51, allocations: 4.672 kB / 0.5526 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/1.51, allocations: 6.344 kB / 0.5526 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/1.51, allocations: 3.938 kB / 0.5526 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000185/1.51, allocations: 201.8 kB / 0.5528 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.3e-05/1.51, allocations: 22.92 kB / 0.5528 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.342e-05/1.51, allocations: 0.5625 kB / 0.5528 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.704e-05/1.51, allocations: 7.938 kB / 0.5528 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.211e-05/1.51, allocations: 11.98 kB / 0.5528 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.92e-06/1.51, allocations: 4 kB / 0.5528 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.058e-05/1.51, allocations: 80.44 kB / 0.5529 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/1.51, allocations: 0 / 0.5529 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002549/1.513, allocations: 1.025 MB / 0.5539 GB, free: 11.32 MB / 0.4948 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.004004/1.517, allocations: 2.34 MB / 0.5562 GB, free: 9.172 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002509/1.517, allocations: 128.7 kB / 0.5563 GB, free: 9.047 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/1.517, allocations: 2.812 kB / 0.5563 GB, free: 9.047 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.686e-05/1.517, allocations: 63.97 kB / 0.5564 GB, free: 8.984 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003012/1.518, allocations: 53.55 kB / 0.5564 GB, free: 8.938 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002064/1.52, allocations: 2.006 MB / 0.5584 GB, free: 6.848 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.878e-05/1.52, allocations: 90.39 kB / 0.5585 GB, free: 6.742 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.498e-05/1.52, allocations: 16.7 kB / 0.5585 GB, free: 6.727 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.264e-05/1.52, allocations: 24.5 kB / 0.5585 GB, free: 6.703 MB / 0.4948 GB Notification: Performance of SimCode: time 1.523e-06/1.52, allocations: 4 kB / 0.5585 GB, free: 6.699 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06371/1.584, allocations: 41.01 MB / 0.5986 GB, free: 14 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.566/11.15, allocations: 6.125 kB / 0.5986 GB, free: 14 MB / 0.5417 GB " [Timeout remaining time 648] (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: 12.797877779230475] Failed to read output from testmodel.py, exit status != 0: 11.568630614317954 11.469038659 10.018641704 Calling exit ...