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.01081/0.01081, allocations: 1.75 MB / 20.6 MB, free: 1.027 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.8993/0.8993, allocations: 130.8 MB / 154.9 MB, free: 4.25 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.001485/0.001485, allocations: 110.9 kB / 186.6 MB, free: 2.074 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.001739/0.001739, allocations: 203.2 kB / 218.4 MB, free: 2.246 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.7 MB, free: 124 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.1228/0.1228, allocations: 25.6 MB / 0.5774 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.004304/0.004304, allocations: 139.8 kB / 0.77 GB, free: 7.469 MB / 0.5607 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4272/0.4315, allocations: 89.24 MB / 0.8572 GB, free: 30.05 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(TILMedia.Testers.TestGas_mixture): time 0.003341/0.4348, allocations: 2.223 MB / 0.8594 GB, free: 28.53 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.01188/0.4467, allocations: 10.35 MB / 0.8695 GB, free: 21.62 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002977/0.447, allocations: 5.438 kB / 0.8695 GB, free: 21.61 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.0008812/0.4479, allocations: 205.9 kB / 0.8697 GB, free: 21.52 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.000492/0.4484, allocations: 191.3 kB / 0.8699 GB, free: 21.41 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.005743/0.4541, allocations: 2.342 MB / 0.8722 GB, free: 20.24 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0008965/0.455, allocations: 0.6742 MB / 0.8728 GB, free: 19.95 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 7.523e-05/0.4551, allocations: 18.97 kB / 0.8728 GB, free: 19.94 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003909/0.4555, allocations: 246 kB / 0.8731 GB, free: 19.85 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001048/0.4565, allocations: 0.9003 MB / 0.8739 GB, free: 19.55 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.0006242/0.4572, allocations: 205.1 kB / 0.8741 GB, free: 19.55 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005446/0.4626, allocations: 2.727 MB / 0.8768 GB, free: 18.49 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.0008276/0.4634, allocations: 0.6266 MB / 0.8774 GB, free: 18.03 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.000942/0.4644, allocations: 0.5894 MB / 0.878 GB, free: 17.59 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.007665/0.472, allocations: 4.091 MB / 0.882 GB, free: 15.31 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.4721, allocations: 0 / 0.882 GB, free: 15.31 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.723e-06/0.4721, allocations: 0 / 0.882 GB, free: 15.31 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 4.86e-05/0.4721, allocations: 1.531 kB / 0.882 GB, free: 15.31 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.006812/0.4789, allocations: 2.523 MB / 0.8844 GB, free: 13.75 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.479, allocations: 8.25 kB / 0.8845 GB, free: 13.75 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005897/0.4795, allocations: 86.75 kB / 0.8845 GB, free: 13.7 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003428/0.483, allocations: 1.509 MB / 0.886 GB, free: 12.7 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.589e-05/0.483, allocations: 35.09 kB / 0.886 GB, free: 12.69 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002268/0.4832, allocations: 42.14 kB / 0.8861 GB, free: 12.67 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00594/0.4892, allocations: 2.918 MB / 0.8889 GB, free: 11.26 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.124e-05/0.4892, allocations: 0 / 0.8889 GB, free: 11.26 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001238/0.4893, allocations: 20.61 kB / 0.889 GB, free: 11.25 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001004/0.4894, allocations: 103.2 kB / 0.8891 GB, free: 11.21 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01163/0.5011, allocations: 8.376 MB / 0.8972 GB, free: 7.965 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01157/0.5126, allocations: 5.473 MB / 0.9026 GB, free: 2.422 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003824/0.5165, allocations: 0.8383 MB / 0.9034 GB, free: 1.57 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003825/0.5168, allocations: 259.7 kB / 0.9036 GB, free: 1.316 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002672/0.5171, allocations: 108.9 kB / 0.9037 GB, free: 1.211 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.5171, allocations: 39.56 kB / 0.9038 GB, free: 1.16 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=95): time 3.416e-06/0.5171, allocations: 0 / 0.9038 GB, free: 1.16 MB / 0.5763 GB Notification: Performance of matching and sorting (n=95): time 0.007504/0.5246, allocations: 1.608 MB / 0.9054 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.76e-05/0.5247, allocations: 68.39 kB / 0.9054 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001984/0.5267, allocations: 1.109 MB / 0.9065 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.081e-05/0.5268, allocations: 45.69 kB / 0.9065 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003476/0.5271, allocations: 400.4 kB / 0.9069 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003422/0.5275, allocations: 341.1 kB / 0.9073 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006032/0.5281, allocations: 294.8 kB / 0.9075 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002214/0.5283, allocations: 390.8 kB / 0.9079 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009914/0.5293, allocations: 0.5256 MB / 0.9084 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001378/0.5307, allocations: 0.9185 MB / 0.9093 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002145/0.5328, allocations: 1.331 MB / 0.9106 GB, free: 9.754 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.171e-05/0.5328, allocations: 8 kB / 0.9106 GB, free: 9.746 MB / 0.5919 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.00324/0.5361, allocations: 1.633 MB / 0.9122 GB, free: 8.109 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.141e-05/0.5361, allocations: 15.94 kB / 0.9122 GB, free: 8.094 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.164e-05/0.5361, allocations: 15.98 kB / 0.9123 GB, free: 8.078 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.411e-05/0.5361, allocations: 20 kB / 0.9123 GB, free: 8.059 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001299/0.5374, allocations: 336 kB / 0.9126 GB, free: 7.73 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.465e-05/0.5375, allocations: 27.92 kB / 0.9126 GB, free: 7.703 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001531/0.539, allocations: 143 kB / 0.9128 GB, free: 7.562 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002603/0.5393, allocations: 164 kB / 0.9129 GB, free: 7.402 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.0005488/0.5398, allocations: 329.3 kB / 0.9132 GB, free: 7.07 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002703/0.5401, allocations: 87.38 kB / 0.9133 GB, free: 6.984 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003305/0.5434, allocations: 1.466 MB / 0.9147 GB, free: 5.504 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/0.5434, allocations: 8 kB / 0.9147 GB, free: 5.496 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.5434, allocations: 0 / 0.9147 GB, free: 5.496 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.5434, allocations: 3.984 kB / 0.9148 GB, free: 5.492 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001056/0.5445, allocations: 0.5522 MB / 0.9153 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.5445, allocations: 0 / 0.9153 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006147/0.5451, allocations: 215.8 kB / 0.9155 GB, free: 4.699 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-05/0.5451, allocations: 4 kB / 0.9155 GB, free: 4.695 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.421e-05/0.5452, allocations: 59.84 kB / 0.9156 GB, free: 4.637 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.656e-06/0.5452, allocations: 8 kB / 0.9156 GB, free: 4.629 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.5452, allocations: 0 / 0.9156 GB, free: 4.629 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001766/0.547, allocations: 0.9117 MB / 0.9165 GB, free: 3.699 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008301/0.5478, allocations: 259.1 kB / 0.9167 GB, free: 3.445 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002276/0.548, allocations: 23.92 kB / 0.9167 GB, free: 3.422 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006016/0.5486, allocations: 23.98 kB / 0.9167 GB, free: 3.398 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001538/0.5488, allocations: 88.88 kB / 0.9168 GB, free: 3.312 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001879/0.549, allocations: 136 kB / 0.917 GB, free: 3.18 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001203/0.5502, allocations: 0.7801 MB / 0.9177 GB, free: 2.406 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5502, allocations: 4 kB / 0.9177 GB, free: 2.402 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001654/0.5518, allocations: 439 kB / 0.9181 GB, free: 1.973 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.00247/0.5543, allocations: 0.868 MB / 0.919 GB, free: 1.293 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002145/0.5565, allocations: 1.034 MB / 0.92 GB, free: 268 kB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.5565, allocations: 0 / 0.92 GB, free: 268 kB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006962/0.5572, allocations: 365.6 kB / 0.9204 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001149/0.5583, allocations: 174.8 kB / 0.9205 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003185/0.5615, allocations: 1.532 MB / 0.922 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006108/0.5621, allocations: 405.6 kB / 0.9224 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002764/0.5649, allocations: 0.8414 MB / 0.9232 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008646/0.5657, allocations: 223.1 kB / 0.9234 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of SimCode: time 1.794e-06/0.5657, allocations: 0 / 0.9234 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of Templates: time 0.03036/0.5961, allocations: 17.13 MB / 0.9402 GB, free: 11.62 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.216435294598341] Failed to read output from testmodel.py, exit status != 0: 0.6057629249989986 0.6224742 0.146559343 Calling exit ...