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.5922/0.5922, allocations: 120.4 MB / 139.5 MB, free: 12.98 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_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 3.356e-06/3.356e-06, allocations: 0 / 216.7 MB, free: 8.648 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.53e-05/2.865e-05, allocations: 5.922 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_h): time 1.078/1.078, allocations: 253.6 MB / 470.3 MB, free: 9.5 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.3006/1.378, allocations: 26.58 MB / 496.8 MB, free: 1 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001038/1.378, allocations: 0 / 496.8 MB, free: 1 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004455/1.379, allocations: 142.6 kB / 497 MB, free: 1 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001109/1.379, allocations: 56.06 kB / 497 MB, free: 1 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.02093/1.4, allocations: 8.116 MB / 0.4933 GB, free: 464 kB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002584/1.4, allocations: 123.4 kB / 0.4934 GB, free: 424 kB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.043e-05/1.4, allocations: 25.44 kB / 0.4934 GB, free: 420 kB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001779/1.4, allocations: 92.7 kB / 0.4935 GB, free: 408 kB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.278e-05/1.4, allocations: 25.14 kB / 0.4936 GB, free: 404 kB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.639e-05/1.4, allocations: 2.156 kB / 0.4936 GB, free: 404 kB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02713/1.428, allocations: 13.92 MB / 0.5072 GB, free: 10.55 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 4.151e-05/1.428, allocations: 10.8 kB / 0.5072 GB, free: 10.54 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001075/1.428, allocations: 21.34 kB / 0.5072 GB, free: 10.52 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02043/1.448, allocations: 9.234 MB / 0.5162 GB, free: 1.723 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.217e-06/1.448, allocations: 0.5 kB / 0.5162 GB, free: 1.723 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.234e-06/1.448, allocations: 0 / 0.5162 GB, free: 1.723 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.725e-06/1.448, allocations: 0.8125 kB / 0.5162 GB, free: 1.723 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.003724/1.452, allocations: 1.107 MB / 0.5173 GB, free: 0.5859 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.456e-05/1.452, allocations: 8.781 kB / 0.5173 GB, free: 0.5781 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.764e-05/1.452, allocations: 38.56 kB / 0.5173 GB, free: 0.5312 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.452e-05/1.452, allocations: 8.609 kB / 0.5173 GB, free: 0.5234 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/1.452, allocations: 125.8 kB / 0.5175 GB, free: 392 kB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/1.452, allocations: 5.094 kB / 0.5175 GB, free: 388 kB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.61e-05/1.452, allocations: 7.938 kB / 0.5175 GB, free: 380 kB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002016/1.452, allocations: 131.3 kB / 0.5176 GB, free: 228 kB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/1.452, allocations: 0.625 kB / 0.5176 GB, free: 228 kB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/1.452, allocations: 0.75 kB / 0.5176 GB, free: 228 kB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/1.452, allocations: 8 kB / 0.5176 GB, free: 220 kB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.698e-05/1.453, allocations: 59.66 kB / 0.5177 GB, free: 168 kB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01979/1.472, allocations: 11.24 MB / 0.5286 GB, free: 5.074 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000224/1.473, allocations: 81.61 kB / 0.5287 GB, free: 4.988 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.155e-05/1.473, allocations: 44.84 kB / 0.5288 GB, free: 4.941 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03708/1.51, allocations: 22.07 MB / 0.5503 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.018e-05/1.51, allocations: 35.12 kB / 0.5503 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=23): time 2.695e-06/1.51, allocations: 0 / 0.5503 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of matching and sorting (n=23): time 0.0003963/1.51, allocations: 190.3 kB / 0.5505 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.072e-05/1.51, allocations: 51.41 kB / 0.5506 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/1.51, allocations: 122.5 kB / 0.5507 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/1.51, allocations: 32.89 kB / 0.5507 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.007e-05/1.51, allocations: 96.5 kB / 0.5508 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.113e-05/1.51, allocations: 77.94 kB / 0.5509 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.695e-05/1.51, allocations: 38.73 kB / 0.5509 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.941e-05/1.511, allocations: 327.3 kB / 0.5512 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.157e-05/1.511, allocations: 48.2 kB / 0.5513 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.054e-05/1.511, allocations: 85.59 kB / 0.5514 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001251/1.511, allocations: 156 kB / 0.5515 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/1.511, allocations: 0.75 kB / 0.5515 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000185/1.511, allocations: 171.7 kB / 0.5517 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/1.511, allocations: 4 kB / 0.5517 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/1.511, allocations: 4 kB / 0.5517 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/1.511, allocations: 3.094 kB / 0.5517 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.712e-05/1.511, allocations: 15.98 kB / 0.5517 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/1.511, allocations: 0 / 0.5517 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.816e-05/1.511, allocations: 24.47 kB / 0.5517 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/1.511, allocations: 5.953 kB / 0.5517 GB, free: 13.35 MB / 0.4948 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 7.87e-05/1.511, allocations: 121.2 kB / 0.5518 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.296e-05/1.511, allocations: 7.891 kB / 0.5519 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001959/1.511, allocations: 169.3 kB / 0.552 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/1.511, allocations: 0 / 0.552 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.453e-06/1.511, allocations: 0.5625 kB / 0.552 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.83e-06/1.511, allocations: 7.984 kB / 0.552 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001326/1.512, allocations: 173.2 kB / 0.5522 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/1.512, allocations: 3.938 kB / 0.5522 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.915e-05/1.512, allocations: 7.844 kB / 0.5522 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/1.512, allocations: 0 / 0.5522 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/1.512, allocations: 0 / 0.5522 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/1.512, allocations: 4 kB / 0.5522 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/1.512, allocations: 0 / 0.5522 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001435/1.512, allocations: 178.9 kB / 0.5524 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.397e-05/1.512, allocations: 15.83 kB / 0.5524 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.735e-05/1.512, allocations: 10.08 kB / 0.5524 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.387e-05/1.512, allocations: 0 / 0.5524 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.806e-05/1.512, allocations: 2.812 kB / 0.5524 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.828e-06/1.512, allocations: 2.375 kB / 0.5524 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.086e-05/1.512, allocations: 95.73 kB / 0.5525 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/1.512, allocations: 0 / 0.5525 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002896/1.515, allocations: 0.9977 MB / 0.5535 GB, free: 11.52 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 (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.004048/1.519, allocations: 2.277 MB / 0.5557 GB, free: 9.422 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002147/1.519, allocations: 103 kB / 0.5558 GB, free: 9.324 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/1.519, allocations: 0 / 0.5558 GB, free: 9.324 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.692e-05/1.519, allocations: 47.3 kB / 0.5558 GB, free: 9.281 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002929/1.519, allocations: 45.94 kB / 0.5559 GB, free: 9.238 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002233/1.522, allocations: 2.01 MB / 0.5578 GB, free: 7.121 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.903e-05/1.522, allocations: 84.92 kB / 0.5579 GB, free: 7.02 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.616e-05/1.522, allocations: 7.984 kB / 0.5579 GB, free: 7.012 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.767e-05/1.522, allocations: 36.48 kB / 0.558 GB, free: 6.977 MB / 0.4948 GB Notification: Performance of SimCode: time 1.252e-06/1.522, allocations: 96 / 0.558 GB, free: 6.977 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06408/1.586, allocations: 40.19 MB / 0.5972 GB, free: 15.08 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.775/11.36, allocations: 2.922 kB / 0.5972 GB, free: 15.08 MB / 0.5417 GB " [Timeout remaining time 648] (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: 12.914268173277378] Failed to read output from testmodel.py, exit status != 0: 11.760083135217428 11.65911101 10.208362673 Calling exit ...