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.01252/0.01252, allocations: 1.454 MB / 20.81 MB, free: 3.594 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.9221/0.9221, allocations: 102.5 MB / 126.9 MB, free: 12.89 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.001304/0.001304, allocations: 88.19 kB / 158.7 MB, free: 13.22 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.001532/0.001532, allocations: 168.5 kB / 190.6 MB, free: 31 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 1.541/1.541, allocations: 177.1 MB / 399.5 MB, free: 7.371 MB / 314.8 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.1148/0.1148, allocations: 18.23 MB / 0.491 GB, free: 476 kB / 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: 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: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.5966 GB, free: 75.09 MB / 474.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.985e-05/2.154e-05, allocations: 2.312 kB / 0.5966 GB, free: 75.09 MB / 474.8 MB Notification: Performance of NFInst.instantiate(TILMedia.Testers.TestGas): time 0.002863/0.002884, allocations: 2.636 MB / 0.5992 GB, free: 72.44 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.01058/0.01346, allocations: 10.47 MB / 0.6094 GB, free: 61.93 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002685/0.01373, allocations: 4 kB / 0.6094 GB, free: 61.93 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0008238/0.01455, allocations: 238.7 kB / 0.6096 GB, free: 61.7 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0005154/0.01507, allocations: 274.4 kB / 0.6099 GB, free: 61.43 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.004463/0.01953, allocations: 2.511 MB / 0.6124 GB, free: 58.9 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0008636/0.02039, allocations: 1.012 MB / 0.6133 GB, free: 57.89 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 7.469e-05/0.02047, allocations: 25.22 kB / 0.6134 GB, free: 57.86 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005884/0.02106, allocations: 471.1 kB / 0.6138 GB, free: 57.4 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008806/0.02194, allocations: 1.217 MB / 0.615 GB, free: 56.18 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0004487/0.02239, allocations: 276 kB / 0.6153 GB, free: 55.91 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003794/0.02618, allocations: 2.833 MB / 0.618 GB, free: 53.07 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0006784/0.02686, allocations: 0.881 MB / 0.6189 GB, free: 52.19 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0008524/0.02771, allocations: 0.729 MB / 0.6196 GB, free: 51.46 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.005947/0.03366, allocations: 5.131 MB / 0.6246 GB, free: 46.32 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.03366, allocations: 0 / 0.6246 GB, free: 46.32 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.272e-06/0.03366, allocations: 0 / 0.6246 GB, free: 46.32 MB / 474.8 MB Notification: Performance of Transformations before backend: time 4.001e-05/0.0337, allocations: 0 / 0.6246 GB, free: 46.32 MB / 474.8 MB 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.006431/0.04014, allocations: 3.219 MB / 0.6278 GB, free: 43.05 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.04017, allocations: 12.02 kB / 0.6278 GB, free: 43.04 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005594/0.04073, allocations: 176.1 kB / 0.6279 GB, free: 42.87 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003041/0.04377, allocations: 2.18 MB / 0.6301 GB, free: 40.67 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.329e-05/0.0438, allocations: 49.61 kB / 0.6301 GB, free: 40.62 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001848/0.04399, allocations: 52.38 kB / 0.6302 GB, free: 40.57 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007268/0.05125, allocations: 4.268 MB / 0.6343 GB, free: 36.25 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.966e-05/0.05127, allocations: 192 / 0.6343 GB, free: 36.25 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001583/0.05143, allocations: 32.12 kB / 0.6344 GB, free: 36.22 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001004/0.05153, allocations: 133.9 kB / 0.6345 GB, free: 36.09 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01318/0.06471, allocations: 12.47 MB / 0.6467 GB, free: 23.62 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01427/0.07899, allocations: 8.087 MB / 0.6546 GB, free: 15.45 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00501/0.084, allocations: 1.249 MB / 0.6558 GB, free: 14.19 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005267/0.08452, allocations: 388.6 kB / 0.6562 GB, free: 13.81 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003152/0.08484, allocations: 145.2 kB / 0.6563 GB, free: 13.66 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.22e-05/0.08486, allocations: 47.88 kB / 0.6563 GB, free: 13.61 MB / 474.8 MB Notification: Performance of pre-optimization done (n=142): time 3.597e-06/0.08486, allocations: 0 / 0.6563 GB, free: 13.61 MB / 474.8 MB Notification: Performance of matching and sorting (n=142): time 0.01041/0.09528, allocations: 2.877 MB / 0.6592 GB, free: 10.72 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/0.09531, allocations: 64.72 kB / 0.6592 GB, free: 10.64 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001961/0.09727, allocations: 1.682 MB / 0.6609 GB, free: 8.938 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 8.676e-05/0.09736, allocations: 45.7 kB / 0.6609 GB, free: 8.887 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002541/0.09761, allocations: 0.5627 MB / 0.6615 GB, free: 8.316 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002876/0.0979, allocations: 0.4958 MB / 0.6619 GB, free: 7.816 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006845/0.09858, allocations: 451.3 kB / 0.6624 GB, free: 7.371 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 6.869e-05/0.09865, allocations: 357.9 kB / 0.6627 GB, free: 7.016 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001144/0.0998, allocations: 0.808 MB / 0.6635 GB, free: 6.207 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001397/0.1012, allocations: 1.465 MB / 0.6649 GB, free: 4.445 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002245/0.1034, allocations: 2.12 MB / 0.667 GB, free: 2.023 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-05/0.1035, allocations: 8 kB / 0.667 GB, free: 2.016 MB / 474.8 MB Notification: Performance of matching and sorting (n=239) (initialization): time 0.004275/0.1077, allocations: 2.636 MB / 0.6696 GB, free: 15.37 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.569e-05/0.1078, allocations: 16 kB / 0.6696 GB, free: 15.36 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.525e-05/0.1078, allocations: 23.94 kB / 0.6696 GB, free: 15.33 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.388e-05/0.1079, allocations: 35.98 kB / 0.6697 GB, free: 15.3 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002005/0.1099, allocations: 0.5153 MB / 0.6702 GB, free: 14.78 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.948e-05/0.1099, allocations: 47.8 kB / 0.6702 GB, free: 14.73 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002074/0.112, allocations: 230.5 kB / 0.6704 GB, free: 14.51 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004029/0.1124, allocations: 244 kB / 0.6707 GB, free: 14.27 MB / 490.8 MB 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.0008119/0.1132, allocations: 452.9 kB / 0.6711 GB, free: 13.82 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005075/0.1137, allocations: 171.2 kB / 0.6712 GB, free: 13.65 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005815/0.1195, allocations: 2.179 MB / 0.6734 GB, free: 11.46 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.528e-05/0.1196, allocations: 12 kB / 0.6734 GB, free: 11.45 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.1196, allocations: 0 / 0.6734 GB, free: 11.45 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.521e-05/0.1196, allocations: 11.97 kB / 0.6734 GB, free: 11.43 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001492/0.1211, allocations: 0.7599 MB / 0.6741 GB, free: 10.64 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.742e-06/0.1211, allocations: 4 kB / 0.6741 GB, free: 10.64 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000975/0.1221, allocations: 323.6 kB / 0.6745 GB, free: 10.32 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.308e-05/0.1221, allocations: 8 kB / 0.6745 GB, free: 10.32 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001356/0.1222, allocations: 75.97 kB / 0.6745 GB, free: 10.24 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.291e-05/0.1222, allocations: 11.92 kB / 0.6745 GB, free: 10.23 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.1222, allocations: 8 kB / 0.6746 GB, free: 10.22 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00284/0.1251, allocations: 1.346 MB / 0.6759 GB, free: 8.855 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009525/0.126, allocations: 382.6 kB / 0.6762 GB, free: 8.48 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002749/0.1263, allocations: 24 kB / 0.6763 GB, free: 8.457 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008151/0.1271, allocations: 39.91 kB / 0.6763 GB, free: 8.418 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002595/0.1274, allocations: 133.1 kB / 0.6764 GB, free: 8.289 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000294/0.1277, allocations: 204 kB / 0.6766 GB, free: 8.09 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.001916/0.1296, allocations: 1.157 MB / 0.6777 GB, free: 6.922 MB / 490.8 MB Notification: Performance of sort global known variables: time 9e-08/0.1296, allocations: 0 / 0.6777 GB, free: 6.922 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.00207/0.1316, allocations: 0.5772 MB / 0.6783 GB, free: 6.344 MB / 490.8 MB 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.002897/0.1345, allocations: 0.9411 MB / 0.6792 GB, free: 5.707 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.003494/0.138, allocations: 1.589 MB / 0.6808 GB, free: 4.121 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.138, allocations: 0.5 kB / 0.6808 GB, free: 4.121 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00103/0.1391, allocations: 0.5422 MB / 0.6813 GB, free: 3.582 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001439/0.1405, allocations: 367.1 kB / 0.6817 GB, free: 3.219 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003987/0.1445, allocations: 2.193 MB / 0.6838 GB, free: 0.9922 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000746/0.1452, allocations: 0.549 MB / 0.6843 GB, free: 420 kB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.003975/0.1492, allocations: 1.304 MB / 0.6856 GB, free: 15.1 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001235/0.1505, allocations: 336 kB / 0.6859 GB, free: 14.77 MB / 0.4949 GB Notification: Performance of SimCode: time 1.031e-06/0.1505, allocations: 0 / 0.6859 GB, free: 14.77 MB / 0.4949 GB Notification: Performance of Templates: time 0.04367/0.1941, allocations: 24.86 MB / 0.7102 GB, free: 6.098 MB / 0.5105 GB " [Timeout remaining time 660] 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 -lv LOG_STATS > TILMedia_TILMedia.Testers.TestGas.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.181336582987569]