Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr TILMedia_TILMedia.Testers.TestGas_moistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo): time 0.006065/0.006065, allocations: 1.442 MB / 20.54 MB, free: 4.012 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo): time 0.5807/0.5807, allocations: 102.5 MB / 126.5 MB, free: 13.03 MB / 122.8 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009631/0.0009631, allocations: 83.58 kB / 158.3 MB, free: 13.4 MB / 154.8 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 158.6 kB / 190.1 MB, free: 31.16 MB / 170.8 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9588/0.9588, allocations: 177.1 MB / 399 MB, free: 7.527 MB / 314.8 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/package.mo): time 0.06901/0.06901, allocations: 18.24 MB / 0.4905 GB, free: 0.6133 MB / 410.8 MB " [Timeout remaining time 180] Using package TILMedia with version 1.9.0 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo) Using package SMArtInt with version 0.5.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: "" <> buildModelFMU(TILMedia.Testers.TestGas_moistAir,fileNamePrefix="TILMedia_TILMedia_Testers_TestGas_moistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(TILMedia.Testers.TestGas_moistAir,fileNamePrefix="TILMedia_TILMedia_Testers_TestGas_moistAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 0.6825 GB, free: 2.734 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.463e-05/2.663e-05, allocations: 3.406 kB / 0.6825 GB, free: 2.73 MB / 490.8 MB Notification: Performance of NFInst.instantiate(TILMedia.Testers.TestGas_moistAir): time 0.002785/0.002812, allocations: 2.235 MB / 0.6847 GB, free: 492 kB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.009164/0.01198, allocations: 10.27 MB / 0.6947 GB, free: 6.176 MB / 0.4949 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002053/0.01218, allocations: 4 kB / 0.6947 GB, free: 6.172 MB / 0.4949 GB Notification: Performance of NFTyping.typeComponents: time 0.0007837/0.01296, allocations: 218.8 kB / 0.6949 GB, free: 5.957 MB / 0.4949 GB Notification: Performance of NFTyping.typeBindings: time 0.0003234/0.01329, allocations: 178.9 kB / 0.6951 GB, free: 5.781 MB / 0.4949 GB Notification: Performance of NFTyping.typeClassSections: time 0.004224/0.01751, allocations: 2.394 MB / 0.6975 GB, free: 3.375 MB / 0.4949 GB Notification: Performance of NFFlatten.flatten: time 0.0007814/0.01829, allocations: 0.6838 MB / 0.6981 GB, free: 2.691 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 6.818e-05/0.01836, allocations: 12.94 kB / 0.6981 GB, free: 2.676 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003259/0.01869, allocations: 323.2 kB / 0.6984 GB, free: 2.359 MB / 0.4949 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006383/0.01933, allocations: 0.8113 MB / 0.6992 GB, free: 1.547 MB / 0.4949 GB Notification: Performance of NFPackage.collectConstants: time 0.0002916/0.01962, allocations: 184 kB / 0.6994 GB, free: 1.367 MB / 0.4949 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004285/0.0239, allocations: 2.739 MB / 0.7021 GB, free: 14.62 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0006431/0.02455, allocations: 0.6237 MB / 0.7027 GB, free: 14 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0006463/0.02519, allocations: 0.499 MB / 0.7032 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.007445/0.03264, allocations: 4.247 MB / 0.7073 GB, free: 9.238 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.03264, allocations: 0 / 0.7073 GB, free: 9.238 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.154e-06/0.03265, allocations: 0 / 0.7073 GB, free: 9.238 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.519e-05/0.03269, allocations: 4 kB / 0.7073 GB, free: 9.234 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 182 * Number of variables: 182 Notification: Performance of Generate backend data structure: time 0.004448/0.03714, allocations: 2.444 MB / 0.7097 GB, free: 6.75 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/0.03719, allocations: 8.031 kB / 0.7097 GB, free: 6.742 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001391/0.03733, allocations: 110.7 kB / 0.7098 GB, free: 6.625 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003046/0.03763, allocations: 88.33 kB / 0.7099 GB, free: 6.539 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001958/0.03959, allocations: 1.468 MB / 0.7113 GB, free: 5.055 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.409e-05/0.03962, allocations: 29.38 kB / 0.7114 GB, free: 5.027 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.741e-05/0.03971, allocations: 52.31 kB / 0.7114 GB, free: 4.977 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003937/0.04365, allocations: 2.947 MB / 0.7143 GB, free: 1.992 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.04366, allocations: 4.125 kB / 0.7143 GB, free: 1.988 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.532e-05/0.04374, allocations: 27.92 kB / 0.7143 GB, free: 1.961 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.609e-05/0.04382, allocations: 101.9 kB / 0.7144 GB, free: 1.859 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007411/0.05123, allocations: 8.406 MB / 0.7226 GB, free: 9.449 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007738/0.05896, allocations: 7.01 MB / 0.7295 GB, free: 2.305 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002738/0.0617, allocations: 1.463 MB / 0.7309 GB, free: 0.832 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008864/0.06259, allocations: 0.9563 MB / 0.7318 GB, free: 15.88 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002732/0.06286, allocations: 172.8 kB / 0.732 GB, free: 15.71 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.06289, allocations: 47.56 kB / 0.7321 GB, free: 15.65 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=114): time 4.028e-06/0.06289, allocations: 0 / 0.7321 GB, free: 15.65 MB / 0.5418 GB Notification: Performance of matching and sorting (n=114): time 0.006317/0.06921, allocations: 3.732 MB / 0.7357 GB, free: 11.91 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.712e-05/0.06926, allocations: 64.41 kB / 0.7358 GB, free: 11.84 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006623/0.06992, allocations: 0.7019 MB / 0.7364 GB, free: 11.12 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 7.121e-05/0.06999, allocations: 41.7 kB / 0.7365 GB, free: 11.08 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001943/0.07019, allocations: 353 kB / 0.7368 GB, free: 10.73 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.000235/0.07042, allocations: 404.5 kB / 0.7372 GB, free: 10.33 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003057/0.07073, allocations: 294.8 kB / 0.7375 GB, free: 10.03 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.07087, allocations: 394.7 kB / 0.7379 GB, free: 9.637 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001013/0.07188, allocations: 1.002 MB / 0.7388 GB, free: 8.637 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001176/0.07306, allocations: 1.285 MB / 0.7401 GB, free: 7.23 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002298/0.07536, allocations: 2.378 MB / 0.7424 GB, free: 4.73 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.206e-06/0.07536, allocations: 7.984 kB / 0.7424 GB, free: 4.723 MB / 0.5418 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.002711/0.07807, allocations: 2.523 MB / 0.7449 GB, free: 2.191 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/0.0781, allocations: 8.188 kB / 0.7449 GB, free: 2.184 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.615e-05/0.07812, allocations: 15.98 kB / 0.7449 GB, free: 2.168 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.825e-05/0.07814, allocations: 16 kB / 0.7449 GB, free: 2.152 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001293/0.07944, allocations: 415.5 kB / 0.7453 GB, free: 1.746 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000344/0.07978, allocations: 0.6094 MB / 0.7459 GB, free: 1.113 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004905/0.08027, allocations: 119.2 kB / 0.746 GB, free: 0.9961 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001468/0.08042, allocations: 156 kB / 0.7462 GB, free: 0.8438 MB / 0.5418 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (152): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004195/0.08084, allocations: 329.3 kB / 0.7465 GB, free: 0.5117 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001526/0.08099, allocations: 83.48 kB / 0.7466 GB, free: 440 kB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003311/0.0843, allocations: 2.985 MB / 0.7495 GB, free: 13.44 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/0.08431, allocations: 12 kB / 0.7495 GB, free: 13.43 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.08432, allocations: 7.938 kB / 0.7495 GB, free: 13.42 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.407e-06/0.08433, allocations: 3.984 kB / 0.7495 GB, free: 13.41 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001238/0.08557, allocations: 1.237 MB / 0.7507 GB, free: 12.13 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.623e-06/0.08557, allocations: 0 / 0.7507 GB, free: 12.13 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00107/0.08664, allocations: 347.3 kB / 0.7511 GB, free: 11.8 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.166e-05/0.08665, allocations: 4 kB / 0.7511 GB, free: 11.79 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.412e-05/0.08673, allocations: 55.97 kB / 0.7511 GB, free: 11.74 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002717/0.087, allocations: 0.5977 MB / 0.7517 GB, free: 11.12 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.087, allocations: 4.094 kB / 0.7517 GB, free: 11.11 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002318/0.08932, allocations: 2.333 MB / 0.754 GB, free: 8.762 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004879/0.08981, allocations: 338.8 kB / 0.7543 GB, free: 8.43 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/0.08991, allocations: 16 kB / 0.7543 GB, free: 8.414 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000251/0.09016, allocations: 24 kB / 0.7543 GB, free: 8.391 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000141/0.0903, allocations: 104.8 kB / 0.7544 GB, free: 8.289 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001263/0.09043, allocations: 136 kB / 0.7546 GB, free: 8.156 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.0004424/0.09087, allocations: 494.8 kB / 0.755 GB, free: 7.676 MB / 0.5574 GB Notification: Performance of sort global known variables: time 1.6e-07/0.09087, allocations: 0 / 0.755 GB, free: 7.676 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.001009/0.09188, allocations: 447.1 kB / 0.7555 GB, free: 7.238 MB / 0.5574 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 (114): * Single equations (assignments): 113 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003832/0.09571, allocations: 3.801 MB / 0.7592 GB, free: 3.648 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.002561/0.09827, allocations: 2.411 MB / 0.7615 GB, free: 1.234 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.09828, allocations: 4 kB / 0.7615 GB, free: 1.23 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.001058/0.09933, allocations: 1.153 MB / 0.7627 GB, free: 80 kB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2693/0.3687, allocations: 218.5 kB / 0.7629 GB, free: 85.22 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02078/0.3894, allocations: 13.15 MB / 0.7757 GB, free: 80.2 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005806/0.39, allocations: 423.3 kB / 0.7761 GB, free: 80.07 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.002024/0.3921, allocations: 0.6821 MB / 0.7768 GB, free: 80 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008248/0.3929, allocations: 372.3 kB / 0.7771 GB, free: 79.79 MB / 0.5574 GB Notification: Performance of SimCode: time 2.785e-06/0.3929, allocations: 0 / 0.7771 GB, free: 79.79 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04955/0.4424, allocations: 28.05 MB / 0.8045 GB, free: 66.32 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.931/9.373, allocations: 6.484 kB / 0.8045 GB, free: 66.32 MB / 0.5574 GB " [Timeout remaining time 650] (rm -f TILMedia_TILMedia.Testers.TestGas_moistAir.pipe ; mkfifo TILMedia_TILMedia.Testers.TestGas_moistAir.pipe ; head -c 1048576 < TILMedia_TILMedia.Testers.TestGas_moistAir.pipe >> ../files/TILMedia_TILMedia.Testers.TestGas_moistAir.sim & python3 -m fmpy simulate --output-file TILMedia_TILMedia.Testers.TestGas_moistAir_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 TILMedia_TILMedia_Testers_TestGas_moistAir.fmu > TILMedia_TILMedia.Testers.TestGas_moistAir.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.62608003988862] Failed to read output from testmodel.py, exit status != 0: 9.674938878975809 9.681459811 9.646766489 Calling exit ...