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.5981/0.5981, 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.587e-06/3.587e-06, allocations: 0 / 216.7 MB, free: 8.648 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.499e-05/2.857e-05, allocations: 3.625 kB / 216.7 MB, free: 8.645 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.068/1.068, allocations: 253.6 MB / 470.3 MB, free: 9.52 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.3118/1.38, allocations: 26.92 MB / 497.2 MB, free: 1.043 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001211/1.38, allocations: 0 / 497.2 MB, free: 1.043 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004511/1.38, allocations: 146.7 kB / 497.3 MB, free: 1.043 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001149/1.38, allocations: 54.77 kB / 497.4 MB, free: 1.043 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.02139/1.402, allocations: 8.204 MB / 0.4937 GB, free: 496 kB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002208/1.402, allocations: 129.6 kB / 0.4939 GB, free: 456 kB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.878e-05/1.402, allocations: 22 kB / 0.4939 GB, free: 456 kB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001661/1.402, allocations: 101.8 kB / 0.494 GB, free: 440 kB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.768e-05/1.402, allocations: 28.34 kB / 0.494 GB, free: 436 kB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.661e-05/1.402, allocations: 2.312 kB / 0.494 GB, free: 436 kB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02514/1.428, allocations: 13.95 MB / 0.5076 GB, free: 10.32 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 4.344e-05/1.428, allocations: 19.22 kB / 0.5077 GB, free: 10.31 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001201/1.428, allocations: 27.14 kB / 0.5077 GB, free: 10.29 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02094/1.449, allocations: 9.303 MB / 0.5168 GB, free: 1.422 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.105e-05/1.449, allocations: 4 kB / 0.5168 GB, free: 1.418 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.094e-06/1.449, allocations: 0.5625 kB / 0.5168 GB, free: 1.418 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.283e-06/1.449, allocations: 0 / 0.5168 GB, free: 1.418 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.00398/1.453, allocations: 1.116 MB / 0.5179 GB, free: 280 kB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.137e-05/1.453, allocations: 8.781 kB / 0.5179 GB, free: 272 kB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.578e-05/1.453, allocations: 43.11 kB / 0.5179 GB, free: 220 kB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.126e-05/1.453, allocations: 7.953 kB / 0.5179 GB, free: 212 kB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/1.453, allocations: 116.1 kB / 0.518 GB, free: 72 kB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/1.453, allocations: 6.375 kB / 0.518 GB, free: 68 kB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.631e-05/1.453, allocations: 8.438 kB / 0.5181 GB, free: 60 kB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001875/1.453, allocations: 97.34 kB / 0.5181 GB, free: 15.96 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/1.453, allocations: 0 / 0.5181 GB, free: 15.96 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/1.453, allocations: 1.125 kB / 0.5181 GB, free: 15.96 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/1.453, allocations: 4 kB / 0.5181 GB, free: 15.95 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001133/1.453, allocations: 108.5 kB / 0.5183 GB, free: 15.85 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000194/1.454, allocations: 189.5 kB / 0.5184 GB, free: 15.63 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001274/1.454, allocations: 97.02 kB / 0.5185 GB, free: 15.53 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.261e-05/1.454, allocations: 58.56 kB / 0.5186 GB, free: 15.47 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05581/1.51, allocations: 32.77 MB / 0.5506 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.234e-05/1.51, allocations: 39.31 kB / 0.5506 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=30): time 2.855e-06/1.51, allocations: 0 / 0.5506 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of matching and sorting (n=30): time 0.0004083/1.51, allocations: 233.2 kB / 0.5508 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.759e-05/1.51, allocations: 55.41 kB / 0.5509 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.198e-05/1.51, allocations: 106.6 kB / 0.551 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/1.51, allocations: 29.7 kB / 0.551 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.606e-05/1.51, allocations: 84.64 kB / 0.5511 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.874e-05/1.51, allocations: 101.7 kB / 0.5512 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.063e-05/1.51, allocations: 38.27 kB / 0.5512 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.8e-05/1.51, allocations: 318.8 kB / 0.5515 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.443e-05/1.51, allocations: 47.98 kB / 0.5516 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.855e-05/1.51, allocations: 52.53 kB / 0.5516 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001204/1.511, allocations: 132.1 kB / 0.5518 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/1.511, allocations: 0.625 kB / 0.5518 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001615/1.511, allocations: 178.2 kB / 0.5519 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/1.511, allocations: 4 kB / 0.5519 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/1.511, allocations: 4 kB / 0.5519 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/1.511, allocations: 7.094 kB / 0.5519 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.438e-05/1.511, allocations: 19.98 kB / 0.552 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/1.511, allocations: 4.562 kB / 0.552 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.198e-05/1.511, allocations: 12.52 kB / 0.552 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/1.511, allocations: 0 / 0.552 GB, free: 13.41 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 6.972e-05/1.511, allocations: 114.6 kB / 0.5521 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.282e-05/1.511, allocations: 11.91 kB / 0.5521 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002428/1.511, allocations: 214.4 kB / 0.5523 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/1.511, allocations: 10.34 kB / 0.5523 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/1.511, allocations: 8.5 kB / 0.5523 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/1.511, allocations: 0 / 0.5523 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001321/1.511, allocations: 183.3 kB / 0.5525 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/1.511, allocations: 4 kB / 0.5525 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.132e-05/1.511, allocations: 15.84 kB / 0.5525 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.185e-06/1.511, allocations: 0 / 0.5525 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/1.511, allocations: 7.984 kB / 0.5525 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/1.511, allocations: 4 kB / 0.5525 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/1.511, allocations: 7.922 kB / 0.5525 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001769/1.512, allocations: 200.4 kB / 0.5527 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000121/1.512, allocations: 19.89 kB / 0.5527 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.451e-05/1.512, allocations: 8.438 kB / 0.5528 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.544e-05/1.512, allocations: 3.938 kB / 0.5528 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.819e-05/1.512, allocations: 7.984 kB / 0.5528 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/1.512, allocations: 8 kB / 0.5528 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.65e-05/1.512, allocations: 75.28 kB / 0.5528 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/1.512, allocations: 0 / 0.5528 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002403/1.514, allocations: 1.025 MB / 0.5538 GB, free: 11.44 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.003792/1.518, allocations: 2.331 MB / 0.5561 GB, free: 9.297 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002583/1.518, allocations: 127.9 kB / 0.5562 GB, free: 9.172 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/1.518, allocations: 0 / 0.5562 GB, free: 9.172 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.646e-05/1.518, allocations: 68.08 kB / 0.5563 GB, free: 9.109 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003077/1.519, allocations: 55.98 kB / 0.5564 GB, free: 9.059 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00209/1.521, allocations: 2.014 MB / 0.5583 GB, free: 6.965 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.132e-05/1.521, allocations: 89.45 kB / 0.5584 GB, free: 6.859 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.339e-05/1.521, allocations: 16.7 kB / 0.5584 GB, free: 6.844 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.936e-05/1.521, allocations: 28.5 kB / 0.5585 GB, free: 6.816 MB / 0.4948 GB Notification: Performance of SimCode: time 1.362e-06/1.521, allocations: 0 / 0.5585 GB, free: 6.816 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0624/1.583, allocations: 41.01 MB / 0.5985 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.21/11.79, allocations: 3.266 kB / 0.5985 GB, free: 14.11 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_calculette_p_fmu --startTime=0 --stopTime=10000 --stepSize=4 --timeout=50 --tolerance=1e-06 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: 13.332306931726635] Failed to read output from testmodel.py, exit status != 0: 12.196640515699983 12.086594346 10.63565947 Calling exit ...