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.8327/0.8327, allocations: 153.8 MB / 170.2 MB, free: 13.79 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="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 0.0005058/0.0005058, allocations: 14.62 kB / 246.3 MB, free: 15.07 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05816/0.05866, allocations: 33.34 MB / 279.6 MB, free: 15.29 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.674/1.733, allocations: 306.5 MB / 0.5724 GB, free: 11.15 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0392/1.772, allocations: 30.22 MB / 0.6019 GB, free: 12.81 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001109/1.772, allocations: 0 / 0.6019 GB, free: 12.81 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004935/1.773, allocations: 187.4 kB / 0.6021 GB, free: 12.63 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001196/1.773, allocations: 55.69 kB / 0.6021 GB, free: 12.57 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.02155/1.794, allocations: 8.052 MB / 0.61 GB, free: 4.504 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002191/1.795, allocations: 123.4 kB / 0.6101 GB, free: 4.383 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.998e-05/1.795, allocations: 15.97 kB / 0.6101 GB, free: 4.367 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00014/1.795, allocations: 75.53 kB / 0.6102 GB, free: 4.293 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.977e-05/1.795, allocations: 31.8 kB / 0.6102 GB, free: 4.262 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.008e-05/1.795, allocations: 4 kB / 0.6102 GB, free: 4.258 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02667/1.822, allocations: 14.67 MB / 0.6246 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.982e-05/1.822, allocations: 11.88 kB / 0.6246 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.688e-05/1.822, allocations: 43.73 kB / 0.6246 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01763/1.839, allocations: 7.211 MB / 0.6317 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/1.839, allocations: 0 / 0.6317 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.514e-06/1.839, allocations: 0 / 0.6317 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.724e-06/1.839, allocations: 0 / 0.6317 GB, free: 14.29 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.003741/1.843, allocations: 1.184 MB / 0.6328 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/1.843, allocations: 12.03 kB / 0.6328 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.883e-05/1.843, allocations: 46.55 kB / 0.6329 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.165e-05/1.843, allocations: 15.84 kB / 0.6329 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/1.843, allocations: 171 kB / 0.6331 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.217e-06/1.843, allocations: 0 / 0.6331 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.739e-05/1.843, allocations: 7.984 kB / 0.6331 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002141/1.844, allocations: 135.5 kB / 0.6332 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/1.844, allocations: 0 / 0.6332 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/1.844, allocations: 0 / 0.6332 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.354e-05/1.844, allocations: 11.92 kB / 0.6332 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/1.844, allocations: 55.86 kB / 0.6333 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04139/1.885, allocations: 17.43 MB / 0.6503 GB, free: 9.492 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002206/1.885, allocations: 62.83 kB / 0.6503 GB, free: 9.422 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.187e-05/1.885, allocations: 52.64 kB / 0.6504 GB, free: 9.367 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08617/1.972, allocations: 43.23 MB / 0.6926 GB, free: 8.855 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.872e-05/1.972, allocations: 34.56 kB / 0.6926 GB, free: 8.812 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=23): time 2.234e-06/1.972, allocations: 0 / 0.6926 GB, free: 8.812 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23): time 0.0003965/1.972, allocations: 177.5 kB / 0.6928 GB, free: 8.633 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/1.972, allocations: 55.34 kB / 0.6929 GB, free: 8.566 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/1.972, allocations: 121.7 kB / 0.693 GB, free: 8.438 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/1.972, allocations: 29.7 kB / 0.693 GB, free: 8.402 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.397e-05/1.972, allocations: 100.5 kB / 0.6931 GB, free: 8.301 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/1.972, allocations: 79.64 kB / 0.6932 GB, free: 8.223 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.104e-05/1.972, allocations: 37.69 kB / 0.6932 GB, free: 8.18 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001394/1.973, allocations: 318.8 kB / 0.6935 GB, free: 7.859 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.965e-05/1.973, allocations: 44.2 kB / 0.6936 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001232/1.973, allocations: 85.53 kB / 0.6936 GB, free: 7.715 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001767/1.973, allocations: 148.5 kB / 0.6938 GB, free: 7.555 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/1.973, allocations: 0 / 0.6938 GB, free: 7.555 MB / 0.5762 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002658/1.973, allocations: 177.4 kB / 0.6939 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/1.973, allocations: 4 kB / 0.694 GB, free: 7.371 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/1.973, allocations: 0 / 0.694 GB, free: 7.371 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/1.973, allocations: 4 kB / 0.694 GB, free: 7.367 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.094e-05/1.973, allocations: 23.86 kB / 0.694 GB, free: 7.344 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/1.973, allocations: 128 / 0.694 GB, free: 7.344 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.523e-05/1.973, allocations: 19.89 kB / 0.694 GB, free: 7.324 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/1.973, allocations: 4 kB / 0.694 GB, free: 7.32 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.775e-05/1.974, allocations: 120.2 kB / 0.6941 GB, free: 7.195 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.58e-05/1.974, allocations: 19.95 kB / 0.6941 GB, free: 7.176 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002394/1.974, allocations: 158.2 kB / 0.6943 GB, free: 7.012 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/1.974, allocations: 3.938 kB / 0.6943 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/1.974, allocations: 3.984 kB / 0.6943 GB, free: 7.004 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/1.974, allocations: 0 / 0.6943 GB, free: 7.004 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001928/1.974, allocations: 201.5 kB / 0.6945 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/1.974, allocations: 0 / 0.6945 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.405e-05/1.974, allocations: 7.984 kB / 0.6945 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/1.974, allocations: 0 / 0.6945 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/1.974, allocations: 4 kB / 0.6945 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/1.974, allocations: 7.938 kB / 0.6945 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/1.974, allocations: 0 / 0.6945 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002128/1.974, allocations: 166.6 kB / 0.6947 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.251e-05/1.974, allocations: 89 kB / 0.6947 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/1.974, allocations: 0 / 0.6947 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.065e-05/1.974, allocations: 3.938 kB / 0.6948 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.18e-05/1.974, allocations: 11.98 kB / 0.6948 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/1.974, allocations: 0 / 0.6948 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.841e-05/1.974, allocations: 95.31 kB / 0.6949 GB, free: 6.344 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/1.974, allocations: 0 / 0.6949 GB, free: 6.344 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002721/1.977, allocations: 1.002 MB / 0.6958 GB, free: 5.34 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.005864/1.983, allocations: 2.135 MB / 0.6979 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002316/1.983, allocations: 99.77 kB / 0.698 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/1.983, allocations: 4 kB / 0.698 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.921e-05/1.983, allocations: 47.92 kB / 0.6981 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003943/1.984, allocations: 63.95 kB / 0.6981 GB, free: 2.973 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00325/1.987, allocations: 2.017 MB / 0.7001 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000341/1.987, allocations: 0.7041 MB / 0.7008 GB, free: 120 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 5.506e-05/1.987, allocations: 11.98 kB / 0.7008 GB, free: 108 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.725e-05/1.987, allocations: 27.42 kB / 0.7008 GB, free: 80 kB / 0.5762 GB Notification: Performance of SimCode: time 5.61e-07/1.987, allocations: 0 / 0.7008 GB, free: 80 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2581/2.246, allocations: 39.19 MB / 0.7391 GB, free: 200 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.23/12.48, allocations: 8.172 kB / 0.7391 GB, free: 200 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 & 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: 14.342649614001857] Failed to read output from testmodel.py, exit status != 0: 12.729484900002717 12.738760229 10.897243778 Calling exit ...