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.01039/0.01039, allocations: 1.344 MB / 21.03 MB, free: 0.6055 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.9308/0.9308, allocations: 102.5 MB / 127 MB, free: 88 kB / 110.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.001444/0.001444, allocations: 81.98 kB / 158.7 MB, free: 0.9492 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.001754/0.001754, allocations: 171.2 kB / 190.6 MB, free: 1.086 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.544/1.544, allocations: 177.2 MB / 399.4 MB, free: 10.81 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.1264/0.1264, allocations: 18.24 MB / 0.4909 GB, free: 4.348 MB / 414.1 MB " [Timeout remaining time 179] 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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="TILMedia_TILMedia.Testers.TestGas") translateModel(TILMedia.Testers.TestGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="TILMedia_TILMedia.Testers.TestGas") [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.00417/0.00417, allocations: 131.8 kB / 0.6833 GB, free: 14.65 MB / 0.5607 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1899/0.1941, allocations: 89.17 MB / 0.7704 GB, free: 5.289 MB / 0.6388 GB Notification: Performance of NFInst.instantiate(TILMedia.Testers.TestGas): time 0.005307/0.1994, allocations: 2.627 MB / 0.7729 GB, free: 2.648 MB / 0.6388 GB Notification: Performance of NFInst.instExpressions: time 0.0184/0.2178, allocations: 10.54 MB / 0.7832 GB, free: 8.07 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004326/0.2182, allocations: 3.938 kB / 0.7832 GB, free: 8.066 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001135/0.2193, allocations: 242.8 kB / 0.7835 GB, free: 7.828 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0008555/0.2202, allocations: 262.8 kB / 0.7837 GB, free: 7.57 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.007329/0.2275, allocations: 2.451 MB / 0.7861 GB, free: 5.109 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001737/0.2292, allocations: 1.001 MB / 0.7871 GB, free: 4.105 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.794e-05/0.2293, allocations: 25.22 kB / 0.7871 GB, free: 4.078 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006235/0.23, allocations: 359 kB / 0.7875 GB, free: 3.727 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001695/0.2317, allocations: 1.244 MB / 0.7887 GB, free: 2.48 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0006894/0.2324, allocations: 276 kB / 0.7889 GB, free: 2.211 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006728/0.2391, allocations: 2.803 MB / 0.7917 GB, free: 15.4 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001399/0.2405, allocations: 0.8692 MB / 0.7925 GB, free: 14.53 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001458/0.2419, allocations: 0.8175 MB / 0.7933 GB, free: 13.71 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0108/0.2527, allocations: 4.795 MB / 0.798 GB, free: 8.902 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 8.145e-06/0.2527, allocations: 0 / 0.798 GB, free: 8.902 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.924e-06/0.2528, allocations: 0 / 0.798 GB, free: 8.902 MB / 0.67 GB Notification: Performance of Transformations before backend: time 6.326e-05/0.2528, allocations: 4 kB / 0.798 GB, free: 8.898 MB / 0.67 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.009958/0.2628, allocations: 3.231 MB / 0.8012 GB, free: 5.625 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.132e-05/0.2628, allocations: 8.031 kB / 0.8012 GB, free: 5.617 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007828/0.2636, allocations: 124 kB / 0.8013 GB, free: 5.496 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006312/0.2699, allocations: 2.187 MB / 0.8034 GB, free: 3.281 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.742e-05/0.27, allocations: 41.69 kB / 0.8035 GB, free: 3.242 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005741/0.2706, allocations: 56.36 kB / 0.8035 GB, free: 3.188 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4175/0.6881, allocations: 4.268 MB / 0.8077 GB, free: 104.2 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.587e-05/0.6881, allocations: 1.406 kB / 0.8077 GB, free: 104.2 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001576/0.6882, allocations: 26.19 kB / 0.8077 GB, free: 104.2 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002177/0.6885, allocations: 138.9 kB / 0.8078 GB, free: 104.2 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01628/0.7047, allocations: 12.46 MB / 0.82 GB, free: 102.7 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02155/0.7263, allocations: 8.069 MB / 0.8279 GB, free: 99.69 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006429/0.7327, allocations: 1.259 MB / 0.8291 GB, free: 99.44 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008633/0.7336, allocations: 387.9 kB / 0.8295 GB, free: 99.32 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004779/0.7341, allocations: 141.5 kB / 0.8296 GB, free: 99.29 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.429e-05/0.7341, allocations: 54.98 kB / 0.8297 GB, free: 99.24 MB / 0.67 GB Notification: Performance of pre-optimization done (n=142): time 5.18e-06/0.7341, allocations: 2.156 kB / 0.8297 GB, free: 99.24 MB / 0.67 GB Notification: Performance of matching and sorting (n=142): time 0.01283/0.7469, allocations: 2.384 MB / 0.832 GB, free: 98.76 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.304e-05/0.747, allocations: 66.56 kB / 0.8321 GB, free: 98.7 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002933/0.7499, allocations: 1.682 MB / 0.8337 GB, free: 98.05 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0003014/0.7502, allocations: 47.2 kB / 0.8338 GB, free: 98.01 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003668/0.7506, allocations: 0.5662 MB / 0.8343 GB, free: 97.59 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005544/0.7511, allocations: 0.4963 MB / 0.8348 GB, free: 97.26 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001342/0.7525, allocations: 456.3 kB / 0.8352 GB, free: 97.1 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.7526, allocations: 356.2 kB / 0.8356 GB, free: 96.77 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001646/0.7543, allocations: 0.8078 MB / 0.8364 GB, free: 96.57 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002095/0.7564, allocations: 1.468 MB / 0.8378 GB, free: 95.54 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003132/0.7595, allocations: 2.119 MB / 0.8399 GB, free: 94.18 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.187e-05/0.7595, allocations: 11.22 kB / 0.8399 GB, free: 94.18 MB / 0.67 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.005715/0.7653, allocations: 2.554 MB / 0.8424 GB, free: 93.37 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.939e-05/0.7653, allocations: 16.19 kB / 0.8424 GB, free: 93.37 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.445e-05/0.7654, allocations: 25.45 kB / 0.8424 GB, free: 93.37 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.764e-05/0.7654, allocations: 32 kB / 0.8424 GB, free: 93.37 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002378/0.7678, allocations: 0.5153 MB / 0.8429 GB, free: 93.32 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.315e-05/0.7679, allocations: 46.84 kB / 0.843 GB, free: 93.31 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002898/0.7708, allocations: 223.8 kB / 0.8432 GB, free: 93.22 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007354/0.7716, allocations: 253.2 kB / 0.8434 GB, free: 93.21 MB / 0.67 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.001267/0.7728, allocations: 447.9 kB / 0.8439 GB, free: 92.94 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006824/0.7735, allocations: 128.1 kB / 0.844 GB, free: 92.87 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005516/0.779, allocations: 2.175 MB / 0.8461 GB, free: 92.14 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.956e-05/0.779, allocations: 13.75 kB / 0.8461 GB, free: 92.14 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/0.779, allocations: 0 / 0.8461 GB, free: 92.14 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.402e-05/0.7791, allocations: 6.609 kB / 0.8461 GB, free: 92.14 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001964/0.781, allocations: 0.7632 MB / 0.8469 GB, free: 91.84 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.264e-05/0.781, allocations: 0 / 0.8469 GB, free: 91.84 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009829/0.782, allocations: 324.6 kB / 0.8472 GB, free: 91.82 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-05/0.782, allocations: 5.094 kB / 0.8472 GB, free: 91.82 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001379/0.7822, allocations: 84.59 kB / 0.8473 GB, free: 91.8 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.449e-05/0.7822, allocations: 4.906 kB / 0.8473 GB, free: 91.8 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.7822, allocations: 4 kB / 0.8473 GB, free: 91.79 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00292/0.7851, allocations: 1.314 MB / 0.8486 GB, free: 91.28 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001326/0.7864, allocations: 393.6 kB / 0.8489 GB, free: 91.13 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005179/0.787, allocations: 24.31 kB / 0.849 GB, free: 91.11 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001183/0.7881, allocations: 33.92 kB / 0.849 GB, free: 91.09 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002248/0.7884, allocations: 135.9 kB / 0.8491 GB, free: 91.08 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003274/0.7887, allocations: 201.6 kB / 0.8493 GB, free: 91.07 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001973/0.7907, allocations: 1.158 MB / 0.8505 GB, free: 90.61 MB / 0.67 GB Notification: Performance of sort global known variables: time 8e-08/0.7907, allocations: 0 / 0.8505 GB, free: 90.61 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002703/0.7934, allocations: 0.5563 MB / 0.851 GB, free: 90.54 MB / 0.67 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.002543/0.7959, allocations: 0.9311 MB / 0.8519 GB, free: 90.25 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003992/0.7999, allocations: 1.592 MB / 0.8535 GB, free: 89.84 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.154e-06/0.7999, allocations: 1.25 kB / 0.8535 GB, free: 89.84 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001237/0.8011, allocations: 0.5404 MB / 0.854 GB, free: 89.71 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00203/0.8032, allocations: 257.7 kB / 0.8542 GB, free: 89.59 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004001/0.8072, allocations: 2.2 MB / 0.8564 GB, free: 88.64 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007645/0.8079, allocations: 0.5501 MB / 0.8569 GB, free: 88.48 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.004146/0.8121, allocations: 1.301 MB / 0.8582 GB, free: 87.95 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001343/0.8134, allocations: 327.9 kB / 0.8585 GB, free: 87.78 MB / 0.67 GB Notification: Performance of SimCode: time 1.853e-06/0.8134, allocations: 0 / 0.8585 GB, free: 87.78 MB / 0.67 GB Notification: Performance of Templates: time 0.03424/0.8477, allocations: 23.16 MB / 0.8811 GB, free: 68.9 MB / 0.67 GB " [Timeout remaining time 659] make -j1 -f TILMedia_TILMedia.Testers.TestGas.makefile [Timeout 660] (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 & ./TILMedia_TILMedia.Testers.TestGas -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > TILMedia_TILMedia.Testers.TestGas.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.039246793021448] Failed to read output from testmodel.py, exit status != 0: 0.8577067599399015 0.869001896 0.613476986 Calling exit ...