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.8452/0.8452, allocations: 153.8 MB / 172.7 MB, free: 4.961 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.0005127/0.0005127, allocations: 11.97 kB / 249.8 MB, free: 4.496 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1604/0.1609, allocations: 33.37 MB / 283.2 MB, free: 1.844 MB / 222.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.848/2.009, allocations: 306.7 MB / 0.576 GB, free: 16.02 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02783/2.037, allocations: 30.28 MB / 0.6056 GB, free: 1.891 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001128/2.037, allocations: 2.375 kB / 0.6056 GB, free: 1.891 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004199/2.037, allocations: 196 kB / 0.6058 GB, free: 1.801 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 9.571e-05/2.037, allocations: 46.64 kB / 0.6058 GB, free: 1.77 MB / 478.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.02206/2.06, allocations: 8.127 MB / 0.6138 GB, free: 14.07 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002424/2.06, allocations: 123.7 kB / 0.6139 GB, free: 14 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.049e-05/2.06, allocations: 18.88 kB / 0.6139 GB, free: 13.98 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001736/2.06, allocations: 74.98 kB / 0.614 GB, free: 13.93 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.63e-05/2.06, allocations: 39.91 kB / 0.614 GB, free: 13.91 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.16e-05/2.06, allocations: 1.188 kB / 0.614 GB, free: 13.91 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03075/2.091, allocations: 14.67 MB / 0.6283 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.909e-05/2.091, allocations: 7.938 kB / 0.6284 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001047/2.091, allocations: 35.81 kB / 0.6284 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01744/2.108, allocations: 7.21 MB / 0.6354 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/2.108, allocations: 3.984 kB / 0.6354 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.032e-06/2.108, allocations: 4 kB / 0.6354 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.841e-06/2.108, allocations: 0 / 0.6354 GB, free: 9.441 MB / 0.4981 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.003303/2.112, allocations: 1.114 MB / 0.6365 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/2.112, allocations: 9.031 kB / 0.6365 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.81e-05/2.112, allocations: 42.55 kB / 0.6366 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.429e-05/2.112, allocations: 7.953 kB / 0.6366 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/2.112, allocations: 117.6 kB / 0.6367 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/2.112, allocations: 9.656 kB / 0.6367 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.128e-05/2.112, allocations: 4 kB / 0.6367 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002216/2.112, allocations: 127.5 kB / 0.6368 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/2.112, allocations: 3.938 kB / 0.6368 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/2.112, allocations: 8 kB / 0.6368 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.281e-05/2.112, allocations: 4.672 kB / 0.6368 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/2.112, allocations: 64.91 kB / 0.6369 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03835/2.151, allocations: 11.21 MB / 0.6479 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002293/2.151, allocations: 74.56 kB / 0.6479 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.484e-05/2.151, allocations: 44.84 kB / 0.648 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07561/2.227, allocations: 21.97 MB / 0.6694 GB, free: 6.469 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.503e-05/2.227, allocations: 34.56 kB / 0.6695 GB, free: 6.426 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=23): time 2.355e-06/2.227, allocations: 0 / 0.6695 GB, free: 6.426 MB / 0.5294 GB Notification: Performance of matching and sorting (n=23): time 0.0004237/2.227, allocations: 197.4 kB / 0.6696 GB, free: 6.227 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/2.227, allocations: 51.41 kB / 0.6697 GB, free: 6.164 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/2.227, allocations: 115.2 kB / 0.6698 GB, free: 6.043 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/2.227, allocations: 29.7 kB / 0.6698 GB, free: 6.008 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.959e-05/2.227, allocations: 104.4 kB / 0.6699 GB, free: 5.902 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.918e-05/2.228, allocations: 79.27 kB / 0.67 GB, free: 5.824 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.653e-05/2.228, allocations: 37.7 kB / 0.67 GB, free: 5.781 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001458/2.228, allocations: 326.8 kB / 0.6704 GB, free: 5.453 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.409e-05/2.228, allocations: 41.25 kB / 0.6704 GB, free: 5.414 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/2.228, allocations: 87 kB / 0.6705 GB, free: 5.312 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002088/2.228, allocations: 158.2 kB / 0.6706 GB, free: 5.141 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/2.228, allocations: 0 / 0.6706 GB, free: 5.141 MB / 0.5294 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002717/2.228, allocations: 171.4 kB / 0.6708 GB, free: 4.969 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/2.228, allocations: 4.156 kB / 0.6708 GB, free: 4.965 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/2.228, allocations: 8 kB / 0.6708 GB, free: 4.957 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/2.228, allocations: 0 / 0.6708 GB, free: 4.957 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.892e-05/2.228, allocations: 15.98 kB / 0.6708 GB, free: 4.941 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/2.228, allocations: 4.75 kB / 0.6708 GB, free: 4.938 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.34e-05/2.229, allocations: 19.84 kB / 0.6708 GB, free: 4.918 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/2.229, allocations: 4 kB / 0.6708 GB, free: 4.914 MB / 0.5294 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.999e-05/2.229, allocations: 121.7 kB / 0.671 GB, free: 4.785 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.152e-05/2.229, allocations: 7.953 kB / 0.671 GB, free: 4.777 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002538/2.229, allocations: 171.7 kB / 0.6711 GB, free: 4.609 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.207e-05/2.229, allocations: 4.688 kB / 0.6711 GB, free: 4.605 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/2.229, allocations: 0 / 0.6711 GB, free: 4.605 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/2.229, allocations: 0 / 0.6711 GB, free: 4.605 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001786/2.229, allocations: 184.5 kB / 0.6713 GB, free: 4.383 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/2.229, allocations: 0 / 0.6713 GB, free: 4.383 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.228e-05/2.229, allocations: 8.438 kB / 0.6713 GB, free: 4.375 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/2.229, allocations: 0 / 0.6713 GB, free: 4.375 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/2.229, allocations: 11.98 kB / 0.6713 GB, free: 4.363 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/2.229, allocations: 1.469 kB / 0.6713 GB, free: 4.363 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/2.229, allocations: 1.781 kB / 0.6713 GB, free: 4.363 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002047/2.229, allocations: 176.8 kB / 0.6715 GB, free: 4.172 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.806e-05/2.229, allocations: 7.953 kB / 0.6715 GB, free: 4.164 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/2.229, allocations: 0 / 0.6715 GB, free: 4.164 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.223e-05/2.229, allocations: 4 kB / 0.6715 GB, free: 4.16 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.928e-05/2.229, allocations: 1.438 kB / 0.6715 GB, free: 4.16 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.69e-06/2.229, allocations: 4.75 kB / 0.6715 GB, free: 4.156 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.458e-05/2.23, allocations: 92.02 kB / 0.6716 GB, free: 4.066 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/2.23, allocations: 4 kB / 0.6716 GB, free: 4.062 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002494/2.232, allocations: 1.002 MB / 0.6726 GB, free: 3.059 MB / 0.5294 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.005214/2.237, allocations: 2.141 MB / 0.6747 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002383/2.237, allocations: 99.91 kB / 0.6748 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/2.237, allocations: 4 kB / 0.6748 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 6.3e-05/2.238, allocations: 47.92 kB / 0.6748 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004296/2.238, allocations: 56.19 kB / 0.6749 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003248/2.241, allocations: 2.03 MB / 0.6769 GB, free: 14.59 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003235/2.242, allocations: 0.708 MB / 0.6776 GB, free: 13.86 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.975e-05/2.242, allocations: 5.562 kB / 0.6776 GB, free: 13.86 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.87e-05/2.242, allocations: 27.42 kB / 0.6776 GB, free: 13.83 MB / 0.545 GB Notification: Performance of SimCode: time 5.41e-07/2.242, allocations: 0 / 0.6776 GB, free: 13.83 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07986/2.322, allocations: 39.45 MB / 0.7161 GB, free: 6.918 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.03/15.35, allocations: 6.609 kB / 0.7161 GB, free: 6.918 MB / 0.5762 GB " [Timeout remaining time 644] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_calculette_h_fmu --startTime=0 --stopTime=10000 --stepSize=4 --timeout=50 --tolerance=1e-06 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: 17.18595193582587] Failed to read output from testmodel.py, exit status != 0: 15.669182585785165 15.685554028 13.573802185 Calling exit ...