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.852/0.852, allocations: 153.8 MB / 170.2 MB, free: 13.77 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.0005205/0.0005205, allocations: 18.94 kB / 246.3 MB, free: 14.92 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06027/0.06079, allocations: 33.34 MB / 279.6 MB, free: 15.14 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_p): time 1.749/1.81, allocations: 306.5 MB / 0.5724 GB, free: 11.23 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.04294/1.853, allocations: 30.61 MB / 0.6023 GB, free: 12.5 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001048/1.853, allocations: 4 kB / 0.6023 GB, free: 12.5 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00049/1.853, allocations: 199.3 kB / 0.6025 GB, free: 12.3 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001306/1.853, allocations: 51.69 kB / 0.6025 GB, free: 12.25 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.02242/1.876, allocations: 8.139 MB / 0.6105 GB, free: 4.105 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002433/1.876, allocations: 127.4 kB / 0.6106 GB, free: 3.98 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.976e-05/1.876, allocations: 25.03 kB / 0.6106 GB, free: 3.957 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001559/1.876, allocations: 75.53 kB / 0.6107 GB, free: 3.883 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.669e-05/1.876, allocations: 35.8 kB / 0.6107 GB, free: 3.848 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.101e-05/1.876, allocations: 0 / 0.6107 GB, free: 3.848 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02829/1.905, allocations: 14.72 MB / 0.6251 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.589e-05/1.905, allocations: 7.938 kB / 0.6251 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000123/1.905, allocations: 39.75 kB / 0.6252 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01937/1.924, allocations: 7.278 MB / 0.6323 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/1.924, allocations: 0 / 0.6323 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.733e-06/1.924, allocations: 4 kB / 0.6323 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.484e-06/1.924, allocations: 0 / 0.6323 GB, free: 13.76 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.004046/1.928, allocations: 1.202 MB / 0.6334 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.548e-05/1.928, allocations: 8.031 kB / 0.6335 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.063e-05/1.928, allocations: 54.48 kB / 0.6335 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.818e-05/1.928, allocations: 15.84 kB / 0.6335 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001582/1.928, allocations: 167 kB / 0.6337 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.796e-06/1.928, allocations: 4 kB / 0.6337 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.554e-05/1.929, allocations: 4 kB / 0.6337 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001975/1.929, allocations: 101.5 kB / 0.6338 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/1.929, allocations: 3.938 kB / 0.6338 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/1.929, allocations: 3.984 kB / 0.6338 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.596e-05/1.929, allocations: 15.92 kB / 0.6338 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001672/1.929, allocations: 107.9 kB / 0.6339 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002618/1.929, allocations: 217.5 kB / 0.6341 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001699/1.929, allocations: 90.48 kB / 0.6342 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.804e-05/1.929, allocations: 52.84 kB / 0.6343 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1391/2.069, allocations: 60.82 MB / 0.6937 GB, free: 7.723 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.326e-05/2.069, allocations: 30.56 kB / 0.6937 GB, free: 7.684 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=30): time 3.426e-06/2.069, allocations: 4 kB / 0.6937 GB, free: 7.68 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30): time 0.0005783/2.069, allocations: 222.3 kB / 0.6939 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.485e-05/2.069, allocations: 51.41 kB / 0.6939 GB, free: 7.395 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/2.069, allocations: 113.8 kB / 0.6941 GB, free: 7.273 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/2.069, allocations: 25.7 kB / 0.6941 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.414e-05/2.069, allocations: 80.7 kB / 0.6942 GB, free: 7.16 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001481/2.07, allocations: 111 kB / 0.6943 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.504e-05/2.07, allocations: 29.7 kB / 0.6943 GB, free: 7.016 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001746/2.07, allocations: 322.8 kB / 0.6946 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.971e-05/2.07, allocations: 51.97 kB / 0.6946 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.394e-05/2.07, allocations: 47.98 kB / 0.6947 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000196/2.07, allocations: 132.7 kB / 0.6948 GB, free: 6.461 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/2.07, allocations: 0 / 0.6948 GB, free: 6.461 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002713/2.07, allocations: 169.8 kB / 0.695 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/2.07, allocations: 4 kB / 0.695 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/2.07, allocations: 4 kB / 0.695 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/2.07, allocations: 0 / 0.695 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.494e-05/2.071, allocations: 15.94 kB / 0.695 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/2.071, allocations: 0 / 0.695 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.63e-05/2.071, allocations: 15.89 kB / 0.695 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.546e-05/2.071, allocations: 7.984 kB / 0.695 GB, free: 6.242 MB / 0.5762 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 0.0001287/2.071, allocations: 120.2 kB / 0.6951 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.335e-05/2.071, allocations: 11.91 kB / 0.6952 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003801/2.071, allocations: 210.7 kB / 0.6954 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-05/2.071, allocations: 7.984 kB / 0.6954 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/2.071, allocations: 0 / 0.6954 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/2.071, allocations: 0 / 0.6954 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002508/2.071, allocations: 217.5 kB / 0.6956 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/2.071, allocations: 0 / 0.6956 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.03e-05/2.072, allocations: 15.98 kB / 0.6956 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.115e-06/2.072, allocations: 4 kB / 0.6956 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/2.072, allocations: 4 kB / 0.6956 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/2.072, allocations: 4 kB / 0.6956 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/2.072, allocations: 0 / 0.6956 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003078/2.072, allocations: 212.8 kB / 0.6958 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.578e-05/2.072, allocations: 92.94 kB / 0.6959 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.821e-05/2.072, allocations: 4 kB / 0.6959 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.916e-05/2.072, allocations: 0 / 0.6959 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.077e-05/2.072, allocations: 11.98 kB / 0.6959 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.478e-06/2.072, allocations: 4 kB / 0.6959 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.082e-05/2.072, allocations: 87.31 kB / 0.696 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/2.072, allocations: 0 / 0.696 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003347/2.075, allocations: 1.017 MB / 0.697 GB, free: 4.137 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 (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.006782/2.082, allocations: 2.212 MB / 0.6991 GB, free: 1.887 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004131/2.083, allocations: 119.9 kB / 0.6993 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/2.083, allocations: 0 / 0.6993 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001326/2.083, allocations: 67.91 kB / 0.6993 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004919/2.083, allocations: 47.88 kB / 0.6994 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004183/2.087, allocations: 2.013 MB / 0.7013 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004171/2.088, allocations: 0.7041 MB / 0.702 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001003/2.088, allocations: 16.64 kB / 0.702 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.848e-05/2.088, allocations: 27.44 kB / 0.7021 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of SimCode: time 1.012e-06/2.088, allocations: 0 / 0.7021 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2845/2.372, allocations: 40.02 MB / 0.7411 GB, free: 200.6 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.13/12.5, allocations: 1.562 kB / 0.7411 GB, free: 200.6 MB / 0.5919 GB " [Timeout remaining time 647] (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: 14.358066278000479] Failed to read output from testmodel.py, exit status != 0: 12.748774120991584 12.757921858 10.83169419 Calling exit ...