Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr TILMedia_TILMedia.Testers.TestGas.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.01685/0.01685, allocations: 1.758 MB / 20.59 MB, free: 1.277 MB / 14.72 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.8645/0.8645, allocations: 130.8 MB / 154.9 MB, free: 9.152 MB / 126.1 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.001306/0.001306, allocations: 111.5 kB / 186.6 MB, free: 2.816 MB / 142.1 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.001515/0.001515, allocations: 212.1 kB / 218.5 MB, free: 5.207 MB / 174.1 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 1.548/1.548, allocations: 230.6 MB / 480.8 MB, free: 4.812 MB / 318.1 MB " [Timeout remaining time 178] 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.113/0.113, allocations: 25.55 MB / 0.5775 GB, free: 8.855 MB / 430.1 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.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: "" <> buildModelFMU(TILMedia.Testers.TestGas,fileNamePrefix="TILMedia_TILMedia_Testers_TestGas",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(TILMedia.Testers.TestGas,fileNamePrefix="TILMedia_TILMedia_Testers_TestGas",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: SMArtInt requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ClaRa requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Warning: Requested package SMArtInt of version 0.5.1, but this package was already loaded with version 0.3.1. There are no conversion annotations for this version but 0.5.1 is newer than 0.3.1. There is a possibility that 0.3.1 remains backwards compatible, but it is not loaded so OpenModelica cannot verify this. Notification: TILMedia requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003773/0.003773, allocations: 147.8 kB / 0.7696 GB, free: 4.707 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4507/0.4545, allocations: 89.25 MB / 0.8568 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(TILMedia.Testers.TestGas): time 0.004535/0.459, allocations: 2.873 MB / 0.8596 GB, free: 15.32 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0154/0.4744, allocations: 11.7 MB / 0.871 GB, free: 3.586 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003325/0.4747, allocations: 4 kB / 0.871 GB, free: 3.582 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001001/0.4757, allocations: 242.8 kB / 0.8713 GB, free: 3.344 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006149/0.4763, allocations: 266.7 kB / 0.8715 GB, free: 3.082 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.006098/0.4824, allocations: 2.455 MB / 0.8739 GB, free: 0.6172 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001454/0.4839, allocations: 1 MB / 0.8749 GB, free: 15.61 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.484, allocations: 29.25 kB / 0.8749 GB, free: 15.58 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004376/0.4844, allocations: 363 kB / 0.8753 GB, free: 15.22 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001479/0.4859, allocations: 1.271 MB / 0.8765 GB, free: 13.95 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.0004485/0.4864, allocations: 276 kB / 0.8768 GB, free: 13.68 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007405/0.4938, allocations: 4.086 MB / 0.8807 GB, free: 9.586 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.001169/0.4949, allocations: 0.8614 MB / 0.8816 GB, free: 8.723 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.001149/0.4961, allocations: 0.9261 MB / 0.8825 GB, free: 7.793 MB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.009676/0.5058, allocations: 5.044 MB / 0.8874 GB, free: 2.738 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.5058, allocations: 0 / 0.8874 GB, free: 2.738 MB / 0.5607 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5058, allocations: 0 / 0.8874 GB, free: 2.738 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 3.519e-05/0.5058, allocations: 4 kB / 0.8874 GB, free: 2.734 MB / 0.5607 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.007961/0.5138, allocations: 3.25 MB / 0.8906 GB, free: 15.44 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.5138, allocations: 8.031 kB / 0.8906 GB, free: 15.43 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000232/0.514, allocations: 132.3 kB / 0.8907 GB, free: 15.29 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004821/0.5145, allocations: 124.1 kB / 0.8908 GB, free: 15.17 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004278/0.5188, allocations: 2.183 MB / 0.893 GB, free: 12.96 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.473e-05/0.5189, allocations: 37.69 kB / 0.893 GB, free: 12.93 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001945/0.519, allocations: 56.36 kB / 0.8931 GB, free: 12.87 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009409/0.5285, allocations: 4.276 MB / 0.8972 GB, free: 8.547 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.216e-05/0.5285, allocations: 0 / 0.8972 GB, free: 8.547 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001416/0.5286, allocations: 27.98 kB / 0.8973 GB, free: 8.52 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001561/0.5288, allocations: 137.9 kB / 0.8974 GB, free: 8.387 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01869/0.5475, allocations: 12.62 MB / 0.9097 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01813/0.5656, allocations: 8.62 MB / 0.9181 GB, free: 3.023 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005446/0.571, allocations: 1.263 MB / 0.9194 GB, free: 1.754 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006609/0.5717, allocations: 384.6 kB / 0.9197 GB, free: 1.375 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003809/0.5721, allocations: 161 kB / 0.9199 GB, free: 1.219 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.832e-05/0.5721, allocations: 55.88 kB / 0.92 GB, free: 1.152 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=142): time 4.108e-06/0.5721, allocations: 0 / 0.92 GB, free: 1.152 MB / 0.5919 GB Notification: Performance of matching and sorting (n=142): time 0.01109/0.5832, allocations: 2.383 MB / 0.9223 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.776e-05/0.5833, allocations: 68.72 kB / 0.9223 GB, free: 14.69 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00253/0.5858, allocations: 1.639 MB / 0.9239 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001141/0.586, allocations: 57.64 kB / 0.924 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004785/0.5864, allocations: 0.5627 MB / 0.9246 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004908/0.5869, allocations: 0.5036 MB / 0.925 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007603/0.5877, allocations: 455.3 kB / 0.9255 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001933/0.5879, allocations: 361.9 kB / 0.9258 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001388/0.5893, allocations: 0.8002 MB / 0.9266 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002034/0.5913, allocations: 1.473 MB / 0.928 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003104/0.5944, allocations: 2.116 MB / 0.9301 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.787e-05/0.5944, allocations: 11.94 kB / 0.9301 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.004667/0.5991, allocations: 2.558 MB / 0.9326 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.258e-05/0.5991, allocations: 18.5 kB / 0.9326 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.629e-05/0.5992, allocations: 20 kB / 0.9327 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.925e-05/0.5992, allocations: 35.98 kB / 0.9327 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001826/0.601, allocations: 0.5074 MB / 0.9332 GB, free: 2.922 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.36e-05/0.6011, allocations: 47.86 kB / 0.9332 GB, free: 2.875 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001882/0.603, allocations: 230.5 kB / 0.9334 GB, free: 2.648 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003493/0.6033, allocations: 244 kB / 0.9337 GB, free: 2.41 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * 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 (239): * Single equations (assignments): 239 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 0.0007465/0.604, allocations: 456.8 kB / 0.9341 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003542/0.6044, allocations: 127.2 kB / 0.9342 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004656/0.6091, allocations: 2.177 MB / 0.9364 GB, free: 15.64 MB / 0.6232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.657e-05/0.6091, allocations: 12 kB / 0.9364 GB, free: 15.63 MB / 0.6232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.6091, allocations: 3.938 kB / 0.9364 GB, free: 15.62 MB / 0.6232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.539e-05/0.6091, allocations: 11.97 kB / 0.9364 GB, free: 15.61 MB / 0.6232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001636/0.6107, allocations: 1.029 MB / 0.9374 GB, free: 14.54 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.6107, allocations: 0 / 0.9374 GB, free: 14.54 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000879/0.6116, allocations: 323.7 kB / 0.9377 GB, free: 14.23 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.658e-06/0.6116, allocations: 4 kB / 0.9377 GB, free: 14.22 MB / 0.6232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001083/0.6117, allocations: 87.89 kB / 0.9378 GB, free: 14.14 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.087e-05/0.6117, allocations: 7.984 kB / 0.9378 GB, free: 14.13 MB / 0.6232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.6117, allocations: 4 kB / 0.9378 GB, free: 14.12 MB / 0.6232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002273/0.614, allocations: 1.303 MB / 0.9391 GB, free: 12.8 MB / 0.6232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009904/0.615, allocations: 386.6 kB / 0.9394 GB, free: 12.42 MB / 0.6232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002379/0.6152, allocations: 24 kB / 0.9395 GB, free: 12.4 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006548/0.6159, allocations: 43.95 kB / 0.9395 GB, free: 12.36 MB / 0.6232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002004/0.6161, allocations: 129.1 kB / 0.9396 GB, free: 12.23 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002384/0.6163, allocations: 204 kB / 0.9398 GB, free: 12.03 MB / 0.6232 GB Notification: Performance of sorting global known variables: time 0.00164/0.618, allocations: 1.157 MB / 0.941 GB, free: 10.86 MB / 0.6232 GB Notification: Performance of sort global known variables: time 8e-08/0.618, allocations: 0 / 0.941 GB, free: 10.86 MB / 0.6232 GB Notification: Performance of remove unused functions: time 0.001918/0.6199, allocations: 0.5655 MB / 0.9415 GB, free: 10.29 MB / 0.6232 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 (142): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.00518/0.6251, allocations: 2.628 MB / 0.9441 GB, free: 7.832 MB / 0.6232 GB Notification: Performance of simCode: created initialization part: time 0.003274/0.6284, allocations: 1.597 MB / 0.9456 GB, free: 6.238 MB / 0.6232 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.6284, allocations: 0 / 0.9456 GB, free: 6.238 MB / 0.6232 GB Notification: Performance of simCode: created simulation system equations: time 0.0008998/0.6293, allocations: 0.5343 MB / 0.9462 GB, free: 5.707 MB / 0.6232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00129/0.6305, allocations: 255.7 kB / 0.9464 GB, free: 5.457 MB / 0.6232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0209/0.6514, allocations: 13.38 MB / 0.9595 GB, free: 7.328 MB / 0.6388 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009085/0.6524, allocations: 1.149 MB / 0.9606 GB, free: 6.148 MB / 0.6388 GB Notification: Performance of simCode: alias equations: time 0.003687/0.656, allocations: 1.306 MB / 0.9619 GB, free: 4.84 MB / 0.6388 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001378/0.6574, allocations: 0.6044 MB / 0.9625 GB, free: 4.234 MB / 0.6388 GB Notification: Performance of SimCode: time 9.32e-07/0.6574, allocations: 0 / 0.9625 GB, free: 4.234 MB / 0.6388 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07909/0.7365, allocations: 36.57 MB / 0.9982 GB, free: 15.81 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.86/14.59, allocations: 11.45 kB / 0.9982 GB, free: 15.8 MB / 0.6857 GB " [Timeout remaining time 645] (rm -f TILMedia_TILMedia.Testers.TestGas.pipe ; mkfifo TILMedia_TILMedia.Testers.TestGas.pipe ; head -c 1048576 < TILMedia_TILMedia.Testers.TestGas.pipe >> ../files/TILMedia_TILMedia.Testers.TestGas.sim & python3 -m fmpy simulate --output-file TILMedia_TILMedia.Testers.TestGas_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 TILMedia_TILMedia_Testers_TestGas.fmu > TILMedia_TILMedia.Testers.TestGas.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.368130335002206] Failed to read output from testmodel.py, exit status != 0: 14.970863028000167 14.988555506 14.479328453 Calling exit ...