Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr TILMedia_TILMedia.Testers.TestGas_mixture.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.01729/0.01729, allocations: 1.755 MB / 20.65 MB, free: 0.9453 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.9046/0.9046, allocations: 130.8 MB / 154.9 MB, free: 4.129 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.001403/0.001403, allocations: 114.3 kB / 186.6 MB, free: 2.059 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.001652/0.001652, allocations: 220.8 kB / 218.5 MB, free: 2.203 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.528/1.528, allocations: 230.6 MB / 480.8 MB, free: 144 kB / 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.126/0.126, allocations: 25.59 MB / 0.5775 GB, free: 2.07 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: translateModel(TILMedia.Testers.TestGas_mixture,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="TILMedia_TILMedia.Testers.TestGas_mixture") translateModel(TILMedia.Testers.TestGas_mixture,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="TILMedia_TILMedia.Testers.TestGas_mixture") [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.003996/0.003996, allocations: 147.8 kB / 0.7702 GB, free: 7.453 MB / 0.5607 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3974/0.4014, allocations: 89.25 MB / 0.8573 GB, free: 29.82 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(TILMedia.Testers.TestGas_mixture): time 0.003002/0.4044, allocations: 2.229 MB / 0.8595 GB, free: 28.29 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.01121/0.4156, allocations: 10.35 MB / 0.8696 GB, free: 21.38 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001872/0.4158, allocations: 2.969 kB / 0.8696 GB, free: 21.38 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.0007519/0.4165, allocations: 208.9 kB / 0.8698 GB, free: 21.28 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.0003891/0.4169, allocations: 196.2 kB / 0.87 GB, free: 21.16 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.005233/0.4222, allocations: 2.331 MB / 0.8723 GB, free: 20 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0008115/0.423, allocations: 0.6816 MB / 0.873 GB, free: 19.71 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 6.364e-05/0.423, allocations: 19.05 kB / 0.873 GB, free: 19.7 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003165/0.4234, allocations: 249.2 kB / 0.8732 GB, free: 19.6 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009878/0.4243, allocations: 0.8963 MB / 0.8741 GB, free: 19.31 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.000526/0.4249, allocations: 202.9 kB / 0.8743 GB, free: 19.31 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005371/0.4302, allocations: 2.728 MB / 0.8769 GB, free: 18.31 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.0006509/0.4309, allocations: 0.6342 MB / 0.8776 GB, free: 17.84 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.000775/0.4317, allocations: 0.5816 MB / 0.8781 GB, free: 17.41 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.006897/0.4386, allocations: 4.102 MB / 0.8821 GB, free: 15.12 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.4386, allocations: 3.938 kB / 0.8821 GB, free: 15.12 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.443e-06/0.4386, allocations: 0 / 0.8821 GB, free: 15.12 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 2.125e-05/0.4386, allocations: 0 / 0.8821 GB, free: 15.12 MB / 0.5763 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.005576/0.4442, allocations: 2.52 MB / 0.8846 GB, free: 13.56 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.4442, allocations: 9.625 kB / 0.8846 GB, free: 13.56 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002998/0.4445, allocations: 89.36 kB / 0.8847 GB, free: 13.5 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002274/0.4468, allocations: 1.486 MB / 0.8861 GB, free: 12.54 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.374e-05/0.4468, allocations: 31.16 kB / 0.8862 GB, free: 12.52 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001426/0.4469, allocations: 49.86 kB / 0.8862 GB, free: 12.5 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005489/0.4524, allocations: 2.918 MB / 0.8891 GB, free: 11.09 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/0.4524, allocations: 5.25 kB / 0.8891 GB, free: 11.09 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.963e-05/0.4525, allocations: 16 kB / 0.8891 GB, free: 11.07 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.81e-05/0.4526, allocations: 100.2 kB / 0.8892 GB, free: 11.04 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01031/0.4629, allocations: 8.379 MB / 0.8974 GB, free: 7.816 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01041/0.4734, allocations: 5.465 MB / 0.9027 GB, free: 2.289 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003607/0.477, allocations: 0.8461 MB / 0.9035 GB, free: 1.43 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003758/0.4773, allocations: 267.7 kB / 0.9038 GB, free: 1.168 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002615/0.4776, allocations: 104.9 kB / 0.9039 GB, free: 1.066 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.4776, allocations: 47.55 kB / 0.9039 GB, free: 1.008 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=95): time 3.136e-06/0.4776, allocations: 0 / 0.9039 GB, free: 1.008 MB / 0.5763 GB Notification: Performance of matching and sorting (n=95): time 0.007453/0.4851, allocations: 1.605 MB / 0.9055 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.116e-05/0.4851, allocations: 60.41 kB / 0.9056 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001749/0.4869, allocations: 1.117 MB / 0.9066 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.164e-05/0.487, allocations: 41.7 kB / 0.9067 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000326/0.4873, allocations: 400.4 kB / 0.9071 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003126/0.4876, allocations: 345.1 kB / 0.9074 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005135/0.4881, allocations: 290.8 kB / 0.9077 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002212/0.4883, allocations: 402.7 kB / 0.9081 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009082/0.4892, allocations: 0.5217 MB / 0.9086 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001301/0.4905, allocations: 0.9146 MB / 0.9095 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002014/0.4926, allocations: 1.327 MB / 0.9108 GB, free: 9.605 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-05/0.4926, allocations: 4 kB / 0.9108 GB, free: 9.602 MB / 0.5919 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.003062/0.4956, allocations: 1.645 MB / 0.9124 GB, free: 7.953 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.739e-05/0.4957, allocations: 19.88 kB / 0.9124 GB, free: 7.934 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.912e-05/0.4957, allocations: 12 kB / 0.9124 GB, free: 7.922 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.496e-05/0.4957, allocations: 23.94 kB / 0.9124 GB, free: 7.898 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001268/0.497, allocations: 327.6 kB / 0.9127 GB, free: 7.578 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.005e-05/0.497, allocations: 28.12 kB / 0.9128 GB, free: 7.551 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001466/0.4985, allocations: 147 kB / 0.9129 GB, free: 7.406 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002443/0.4987, allocations: 168 kB / 0.9131 GB, free: 7.242 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * 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 (151): * Single equations (assignments): 151 * 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.0005123/0.4992, allocations: 329.3 kB / 0.9134 GB, free: 6.91 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000249/0.4995, allocations: 87.38 kB / 0.9135 GB, free: 6.824 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003194/0.5027, allocations: 1.459 MB / 0.9149 GB, free: 5.348 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/0.5027, allocations: 8 kB / 0.9149 GB, free: 5.34 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.5027, allocations: 0 / 0.9149 GB, free: 5.34 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.5027, allocations: 3.984 kB / 0.9149 GB, free: 5.336 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009191/0.5036, allocations: 0.5444 MB / 0.9154 GB, free: 4.762 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.5036, allocations: 7.875 kB / 0.9154 GB, free: 4.754 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006098/0.5042, allocations: 219.8 kB / 0.9156 GB, free: 4.539 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.845e-06/0.5042, allocations: 4 kB / 0.9156 GB, free: 4.535 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-05/0.5043, allocations: 55.91 kB / 0.9157 GB, free: 4.48 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.222e-06/0.5043, allocations: 4 kB / 0.9157 GB, free: 4.477 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.5043, allocations: 0 / 0.9157 GB, free: 4.477 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001578/0.5059, allocations: 0.9118 MB / 0.9166 GB, free: 3.547 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005486/0.5064, allocations: 259.1 kB / 0.9168 GB, free: 3.293 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001599/0.5066, allocations: 19.94 kB / 0.9169 GB, free: 3.273 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005441/0.5072, allocations: 19.98 kB / 0.9169 GB, free: 3.254 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00018/0.5073, allocations: 104.8 kB / 0.917 GB, free: 3.152 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001733/0.5075, allocations: 124 kB / 0.9171 GB, free: 3.031 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001133/0.5086, allocations: 0.784 MB / 0.9179 GB, free: 2.254 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.5086, allocations: 4 kB / 0.9179 GB, free: 2.25 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00147/0.5101, allocations: 447 kB / 0.9183 GB, free: 1.812 MB / 0.5919 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 (95): * Single equations (assignments): 95 * 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.002335/0.5124, allocations: 0.8555 MB / 0.9191 GB, free: 1.145 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001898/0.5143, allocations: 1.038 MB / 0.9201 GB, free: 112 kB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.5143, allocations: 0 / 0.9201 GB, free: 112 kB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000631/0.515, allocations: 361.6 kB / 0.9205 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000933/0.5159, allocations: 175.1 kB / 0.9207 GB, free: 15.58 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002808/0.5187, allocations: 1.544 MB / 0.9222 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004948/0.5192, allocations: 393.7 kB / 0.9225 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002361/0.5216, allocations: 0.8606 MB / 0.9234 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007426/0.5223, allocations: 228.2 kB / 0.9236 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of SimCode: time 8.42e-07/0.5223, allocations: 0 / 0.9236 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of Templates: time 0.0272/0.5495, allocations: 16.18 MB / 0.9394 GB, free: 12.4 MB / 0.6232 GB " [Timeout remaining time 659] make -j1 -f TILMedia_TILMedia.Testers.TestGas_mixture.makefile [Timeout 660] (rm -f TILMedia_TILMedia.Testers.TestGas_mixture.pipe ; mkfifo TILMedia_TILMedia.Testers.TestGas_mixture.pipe ; head -c 1048576 < TILMedia_TILMedia.Testers.TestGas_mixture.pipe >> ../files/TILMedia_TILMedia.Testers.TestGas_mixture.sim & ./TILMedia_TILMedia.Testers.TestGas_mixture -abortSlowSimulation -alarm=480 -lv LOG_STATS > TILMedia_TILMedia.Testers.TestGas_mixture.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.192498894408345] Failed to read output from testmodel.py, exit status != 0: 0.5587293859571218 0.572980817 0.131220202 Calling exit ...