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.5959/0.5959, allocations: 120.4 MB / 139.5 MB, free: 13.01 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_h,fileNamePrefix="ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_calculette_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_h,fileNamePrefix="ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_calculette_h",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.705e-06/2.705e-06, allocations: 0 / 216.7 MB, free: 8.609 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.31e-05/2.581e-05, allocations: 2.281 kB / 216.7 MB, free: 8.605 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_h): time 1.057/1.057, allocations: 253.6 MB / 470.3 MB, free: 9.52 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.3066/1.364, allocations: 26.59 MB / 496.8 MB, free: 1.02 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001175/1.364, allocations: 0 / 496.8 MB, free: 1.02 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004459/1.365, allocations: 140.5 kB / 497 MB, free: 1.02 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001148/1.365, allocations: 55.62 kB / 497 MB, free: 1.02 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.02006/1.385, allocations: 8.106 MB / 0.4933 GB, free: 496 kB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002162/1.385, allocations: 130.7 kB / 0.4934 GB, free: 456 kB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.63e-05/1.385, allocations: 25.39 kB / 0.4935 GB, free: 448 kB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001461/1.385, allocations: 99.41 kB / 0.4935 GB, free: 432 kB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.616e-05/1.385, allocations: 22.92 kB / 0.4936 GB, free: 428 kB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.235e-05/1.385, allocations: 2.156 kB / 0.4936 GB, free: 428 kB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02495/1.41, allocations: 13.92 MB / 0.5072 GB, free: 10.57 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 3.304e-05/1.41, allocations: 15.02 kB / 0.5072 GB, free: 10.55 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001012/1.41, allocations: 24.59 kB / 0.5072 GB, free: 10.53 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02127/1.432, allocations: 9.23 MB / 0.5162 GB, free: 1.734 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/1.432, allocations: 0.625 kB / 0.5162 GB, free: 1.734 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.986e-06/1.432, allocations: 0 / 0.5162 GB, free: 1.734 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.386e-06/1.432, allocations: 0.7812 kB / 0.5162 GB, free: 1.734 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.003532/1.435, allocations: 1.104 MB / 0.5173 GB, free: 0.6016 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/1.435, allocations: 8.781 kB / 0.5173 GB, free: 0.5938 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.027e-05/1.435, allocations: 45.64 kB / 0.5173 GB, free: 0.543 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.275e-05/1.435, allocations: 10.14 kB / 0.5174 GB, free: 0.5352 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/1.435, allocations: 117.2 kB / 0.5175 GB, free: 408 kB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/1.435, allocations: 8 kB / 0.5175 GB, free: 400 kB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/1.435, allocations: 3.938 kB / 0.5175 GB, free: 396 kB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001975/1.436, allocations: 135.1 kB / 0.5176 GB, free: 240 kB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/1.436, allocations: 0 / 0.5176 GB, free: 240 kB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/1.436, allocations: 0.6562 kB / 0.5176 GB, free: 240 kB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/1.436, allocations: 8 kB / 0.5176 GB, free: 232 kB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.951e-05/1.436, allocations: 57.84 kB / 0.5177 GB, free: 180 kB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01895/1.455, allocations: 11.24 MB / 0.5286 GB, free: 5.086 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002076/1.455, allocations: 70.66 kB / 0.5287 GB, free: 5.012 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.93e-05/1.455, allocations: 52.84 kB / 0.5288 GB, free: 4.957 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03649/1.491, allocations: 22.07 MB / 0.5503 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.278e-05/1.491, allocations: 39.11 kB / 0.5504 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=23): time 3.086e-06/1.491, allocations: 0.9844 kB / 0.5504 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of matching and sorting (n=23): time 0.0003605/1.492, allocations: 194.8 kB / 0.5505 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.744e-05/1.492, allocations: 51.41 kB / 0.5506 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.219e-05/1.492, allocations: 114.5 kB / 0.5507 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/1.492, allocations: 29.7 kB / 0.5507 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.914e-05/1.492, allocations: 100.5 kB / 0.5508 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.082e-05/1.492, allocations: 76.69 kB / 0.5509 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.365e-05/1.492, allocations: 33.7 kB / 0.5509 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.481e-05/1.492, allocations: 328.3 kB / 0.5512 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.496e-05/1.492, allocations: 40.22 kB / 0.5513 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.66e-05/1.492, allocations: 89.59 kB / 0.5514 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001279/1.492, allocations: 156.5 kB / 0.5515 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/1.492, allocations: 0.75 kB / 0.5515 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0001678/1.493, allocations: 180.3 kB / 0.5517 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/1.493, allocations: 4 kB / 0.5517 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/1.493, allocations: 0 / 0.5517 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/1.493, allocations: 4 kB / 0.5517 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.441e-05/1.493, allocations: 22.7 kB / 0.5517 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/1.493, allocations: 0 / 0.5517 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.529e-05/1.493, allocations: 16.47 kB / 0.5517 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.208e-06/1.493, allocations: 9.297 kB / 0.5517 GB, free: 13.37 MB / 0.4948 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 0.000188/1.493, allocations: 117.1 kB / 0.5519 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.19e-05/1.493, allocations: 12.05 kB / 0.5519 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000181/1.493, allocations: 169.3 kB / 0.552 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.769e-06/1.493, allocations: 4 kB / 0.552 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/1.493, allocations: 0.9375 kB / 0.552 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/1.493, allocations: 4.844 kB / 0.552 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001299/1.493, allocations: 170.7 kB / 0.5522 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/1.493, allocations: 3.938 kB / 0.5522 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.863e-05/1.493, allocations: 11.08 kB / 0.5522 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/1.493, allocations: 0 / 0.5522 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.108e-06/1.493, allocations: 4 kB / 0.5522 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/1.493, allocations: 0.5 kB / 0.5522 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/1.493, allocations: 4 kB / 0.5522 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001387/1.493, allocations: 175.1 kB / 0.5524 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.306e-05/1.493, allocations: 11.89 kB / 0.5524 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.577e-05/1.493, allocations: 0.5625 kB / 0.5524 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.398e-05/1.493, allocations: 4 kB / 0.5524 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.049e-05/1.493, allocations: 12.39 kB / 0.5524 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/1.493, allocations: 2.375 kB / 0.5524 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.749e-05/1.494, allocations: 95.73 kB / 0.5525 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.1e-08/1.494, allocations: 0 / 0.5525 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002249/1.496, allocations: 0.9938 MB / 0.5535 GB, free: 11.54 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 (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.003478/1.499, allocations: 2.275 MB / 0.5557 GB, free: 9.441 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002073/1.499, allocations: 108.6 kB / 0.5558 GB, free: 9.34 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/1.499, allocations: 0 / 0.5558 GB, free: 9.34 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.753e-05/1.499, allocations: 47.08 kB / 0.5559 GB, free: 9.297 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002883/1.5, allocations: 50.58 kB / 0.5559 GB, free: 9.25 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001954/1.502, allocations: 2.001 MB / 0.5579 GB, free: 7.141 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.099e-05/1.502, allocations: 88.91 kB / 0.5579 GB, free: 7.035 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.496e-05/1.502, allocations: 7.984 kB / 0.5579 GB, free: 7.027 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.845e-05/1.502, allocations: 37.7 kB / 0.558 GB, free: 6.992 MB / 0.4948 GB Notification: Performance of SimCode: time 1.523e-06/1.502, allocations: 96 / 0.558 GB, free: 6.992 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07202/1.574, allocations: 40.19 MB / 0.5972 GB, free: 15.1 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.284/10.86, allocations: 4.672 kB / 0.5972 GB, free: 15.1 MB / 0.5417 GB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_h_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_h.fmu > ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_h.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.480047680437565] Failed to read output from testmodel.py, exit status != 0: 11.255483292974532 11.152127665 9.718380201 Calling exit ...