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.7942/0.7942, allocations: 153.8 MB / 173.5 MB, free: 4.98 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p,fileNamePrefix="ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_calculette_p",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0004761/0.0004761, allocations: 19.91 kB / 250.6 MB, free: 4.488 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1457, allocations: 33.35 MB / 284 MB, free: 1.832 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_p): time 1.662/1.807, allocations: 306.5 MB / 0.5767 GB, free: 16.16 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0253/1.833, allocations: 30.67 MB / 0.6066 GB, free: 1.766 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/1.833, allocations: 3.469 kB / 0.6066 GB, free: 1.766 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004299/1.833, allocations: 195.6 kB / 0.6068 GB, free: 1.676 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 9.852e-05/1.833, allocations: 48.94 kB / 0.6068 GB, free: 1.645 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.01996/1.853, allocations: 8.217 MB / 0.6149 GB, free: 13.77 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002203/1.853, allocations: 127.2 kB / 0.615 GB, free: 13.7 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.503e-05/1.854, allocations: 24.42 kB / 0.615 GB, free: 13.68 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001445/1.854, allocations: 77.09 kB / 0.6151 GB, free: 13.63 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.021e-05/1.854, allocations: 35.17 kB / 0.6151 GB, free: 13.61 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.059e-05/1.854, allocations: 2.625 kB / 0.6151 GB, free: 13.61 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02674/1.881, allocations: 14.73 MB / 0.6295 GB, free: 204 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.573e-05/1.881, allocations: 17.02 kB / 0.6295 GB, free: 188 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.305e-05/1.881, allocations: 43.75 kB / 0.6296 GB, free: 144 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01514/1.896, allocations: 7.278 MB / 0.6367 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/1.896, allocations: 1.094 kB / 0.6367 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.543e-06/1.896, allocations: 0 / 0.6367 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.132e-05/1.896, allocations: 0 / 0.6367 GB, free: 8.84 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.003013/1.899, allocations: 1.126 MB / 0.6378 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/1.899, allocations: 8.031 kB / 0.6378 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.302e-05/1.899, allocations: 6.969 kB / 0.6378 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.527e-05/1.899, allocations: 46.48 kB / 0.6378 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.307e-05/1.899, allocations: 11.95 kB / 0.6378 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/1.899, allocations: 117.1 kB / 0.6379 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.947e-06/1.899, allocations: 0.7812 kB / 0.6379 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/1.899, allocations: 4 kB / 0.6379 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/1.899, allocations: 102.1 kB / 0.638 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/1.899, allocations: 0.6875 kB / 0.638 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.056e-06/1.899, allocations: 0 / 0.638 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.367e-05/1.899, allocations: 16.17 kB / 0.6381 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001474/1.899, allocations: 111.9 kB / 0.6382 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002139/1.9, allocations: 188.5 kB / 0.6383 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001307/1.9, allocations: 86.48 kB / 0.6384 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.984e-05/1.9, allocations: 59.59 kB / 0.6385 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1078/2.008, allocations: 32.63 MB / 0.6704 GB, free: 6.207 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.086e-05/2.008, allocations: 34.56 kB / 0.6704 GB, free: 6.164 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=30): time 2.996e-06/2.008, allocations: 1.219 kB / 0.6704 GB, free: 6.164 MB / 0.5294 GB Notification: Performance of matching and sorting (n=30): time 0.0004348/2.008, allocations: 242.2 kB / 0.6706 GB, free: 5.922 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/2.008, allocations: 55.41 kB / 0.6707 GB, free: 5.855 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.782e-05/2.008, allocations: 101.8 kB / 0.6708 GB, free: 5.746 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/2.008, allocations: 26.36 kB / 0.6708 GB, free: 5.715 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.019e-05/2.008, allocations: 80.64 kB / 0.6709 GB, free: 5.633 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 8.559e-05/2.008, allocations: 107.1 kB / 0.671 GB, free: 5.527 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.292e-05/2.008, allocations: 37.7 kB / 0.671 GB, free: 5.484 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001247/2.009, allocations: 318.8 kB / 0.6713 GB, free: 5.164 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.895e-05/2.009, allocations: 55.91 kB / 0.6714 GB, free: 5.109 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.62e-05/2.009, allocations: 47.98 kB / 0.6714 GB, free: 5.062 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000158/2.009, allocations: 135.6 kB / 0.6715 GB, free: 4.93 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/2.009, allocations: 0 / 0.6715 GB, free: 4.93 MB / 0.5294 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002274/2.009, allocations: 173.6 kB / 0.6717 GB, free: 4.754 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/2.009, allocations: 4 kB / 0.6717 GB, free: 4.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/2.009, allocations: 5.062 kB / 0.6717 GB, free: 4.746 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/2.009, allocations: 8 kB / 0.6717 GB, free: 4.738 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.568e-05/2.009, allocations: 19.92 kB / 0.6717 GB, free: 4.719 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/2.009, allocations: 0.5469 kB / 0.6717 GB, free: 4.719 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.39e-05/2.009, allocations: 15.83 kB / 0.6718 GB, free: 4.703 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/2.009, allocations: 4 kB / 0.6718 GB, free: 4.699 MB / 0.5294 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 8.426e-05/2.009, allocations: 113.8 kB / 0.6719 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.411e-05/2.009, allocations: 7.953 kB / 0.6719 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003279/2.01, allocations: 220.4 kB / 0.6721 GB, free: 4.352 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/2.01, allocations: 11.98 kB / 0.6721 GB, free: 4.34 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/2.01, allocations: 0.9375 kB / 0.6721 GB, free: 4.34 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/2.01, allocations: 0 / 0.6721 GB, free: 4.34 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001751/2.01, allocations: 189.5 kB / 0.6723 GB, free: 4.113 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/2.01, allocations: 0 / 0.6723 GB, free: 4.113 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.04e-05/2.01, allocations: 15.98 kB / 0.6723 GB, free: 4.098 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/2.01, allocations: 7.875 kB / 0.6723 GB, free: 4.09 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/2.01, allocations: 4 kB / 0.6723 GB, free: 4.086 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/2.01, allocations: 0.75 kB / 0.6723 GB, free: 4.086 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/2.01, allocations: 0 / 0.6723 GB, free: 4.086 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002491/2.01, allocations: 205 kB / 0.6725 GB, free: 3.867 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.385e-05/2.01, allocations: 24.62 kB / 0.6725 GB, free: 3.844 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/2.01, allocations: 4 kB / 0.6725 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.932e-05/2.01, allocations: 0 / 0.6725 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.511e-05/2.01, allocations: 8.734 kB / 0.6725 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.917e-06/2.01, allocations: 7.984 kB / 0.6726 GB, free: 3.824 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.297e-05/2.01, allocations: 80.69 kB / 0.6726 GB, free: 3.746 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7.1e-08/2.01, allocations: 0 / 0.6726 GB, free: 3.746 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002405/2.013, allocations: 1.017 MB / 0.6736 GB, free: 2.727 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 (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.005163/2.018, allocations: 2.219 MB / 0.6758 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002786/2.018, allocations: 123.9 kB / 0.6759 GB, free: 400 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/2.018, allocations: 0 / 0.6759 GB, free: 400 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 9.839e-05/2.018, allocations: 66.8 kB / 0.676 GB, free: 336 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004141/2.019, allocations: 51.09 kB / 0.676 GB, free: 292 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002989/2.022, allocations: 2.025 MB / 0.678 GB, free: 14.18 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002899/2.022, allocations: 0.7079 MB / 0.6787 GB, free: 13.44 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.938e-05/2.022, allocations: 18.53 kB / 0.6787 GB, free: 13.43 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.397e-05/2.022, allocations: 35.42 kB / 0.6787 GB, free: 13.39 MB / 0.545 GB Notification: Performance of SimCode: time 6.92e-07/2.022, allocations: 0 / 0.6787 GB, free: 13.39 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07117/2.093, allocations: 40.29 MB / 0.7181 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.72/14.81, allocations: 4.062 kB / 0.7181 GB, free: 5.68 MB / 0.5762 GB " [Timeout remaining time 645] (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: 16.73068504303228] Failed to read output from testmodel.py, exit status != 0: 15.151467429939657 15.166695408 13.26779546 Calling exit ...