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.01737/0.01737, allocations: 1.796 MB / 21.15 MB, free: 3.246 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.9684/0.9684, allocations: 102.5 MB / 127.3 MB, free: 12.52 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.00231/0.00231, allocations: 85.06 kB / 159.2 MB, free: 12.71 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.002085/0.002085, allocations: 161.7 kB / 191.2 MB, free: 30.32 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.603/1.603, allocations: 177.1 MB / 400.2 MB, free: 7.031 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.1262/0.1262, allocations: 18.23 MB / 0.4918 GB, free: 16 MB / 426.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 1.0.0 (/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.674e-06/1.674e-06, allocations: 0 / 0.5975 GB, free: 74.65 MB / 474.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.427e-05/3.595e-05, allocations: 3.953 kB / 0.5975 GB, free: 74.65 MB / 474.8 MB Notification: Performance of NFInst.instantiate(TILMedia.Testers.TestGas): time 0.004546/0.004582, allocations: 2.808 MB / 0.6003 GB, free: 71.82 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.01946/0.02405, allocations: 11.44 MB / 0.6114 GB, free: 60.34 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004574/0.0245, allocations: 0 / 0.6114 GB, free: 60.34 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.001093/0.0256, allocations: 238.6 kB / 0.6117 GB, free: 60.1 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0007433/0.02634, allocations: 278.4 kB / 0.6119 GB, free: 59.83 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0085/0.03484, allocations: 2.507 MB / 0.6144 GB, free: 57.31 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.00157/0.03641, allocations: 1.012 MB / 0.6154 GB, free: 56.3 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.03653, allocations: 25.27 kB / 0.6154 GB, free: 56.27 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000984/0.03752, allocations: 475 kB / 0.6158 GB, free: 55.8 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001581/0.0391, allocations: 1.154 MB / 0.617 GB, free: 54.65 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0009144/0.04001, allocations: 276 kB / 0.6172 GB, free: 54.38 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00525/0.04526, allocations: 2.833 MB / 0.62 GB, free: 51.54 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0007773/0.04604, allocations: 0.8851 MB / 0.6209 GB, free: 50.65 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0007496/0.04679, allocations: 0.7292 MB / 0.6216 GB, free: 49.92 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.007921/0.05471, allocations: 5.248 MB / 0.6267 GB, free: 44.66 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.05472, allocations: 7.984 kB / 0.6267 GB, free: 44.65 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.503e-06/0.05472, allocations: 0 / 0.6267 GB, free: 44.65 MB / 474.8 MB Notification: Performance of Transformations before backend: time 3.055e-05/0.05475, allocations: 3.938 kB / 0.6267 GB, free: 44.65 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.007108/0.06186, allocations: 3.397 MB / 0.63 GB, free: 41.2 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.0619, allocations: 8.031 kB / 0.63 GB, free: 41.2 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006251/0.06253, allocations: 164.1 kB / 0.6302 GB, free: 41.04 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003266/0.06579, allocations: 1.772 MB / 0.6319 GB, free: 39.24 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.091e-05/0.06582, allocations: 41.69 kB / 0.632 GB, free: 39.2 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001784/0.066, allocations: 56.36 kB / 0.632 GB, free: 39.15 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006197/0.0722, allocations: 2.262 MB / 0.6342 GB, free: 36.82 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/0.07222, allocations: 192 / 0.6342 GB, free: 36.82 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001423/0.07236, allocations: 36.05 kB / 0.6343 GB, free: 36.79 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001106/0.07247, allocations: 137.9 kB / 0.6344 GB, free: 36.66 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01209/0.08456, allocations: 8.144 MB / 0.6423 GB, free: 28.5 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01526/0.09982, allocations: 6.917 MB / 0.6491 GB, free: 21.49 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004811/0.1046, allocations: 1.172 MB / 0.6502 GB, free: 20.3 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004979/0.1051, allocations: 327.5 kB / 0.6506 GB, free: 19.98 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003315/0.1055, allocations: 149.2 kB / 0.6507 GB, free: 19.83 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/0.1055, allocations: 50.7 kB / 0.6508 GB, free: 19.77 MB / 474.8 MB Notification: Performance of pre-optimization done (n=142): time 3.848e-06/0.1055, allocations: 0 / 0.6508 GB, free: 19.77 MB / 474.8 MB Notification: Performance of matching and sorting (n=142): time 0.01008/0.1156, allocations: 2.67 MB / 0.6534 GB, free: 17.09 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.396e-05/0.1156, allocations: 68.72 kB / 0.6534 GB, free: 17.01 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001619/0.1172, allocations: 1.344 MB / 0.6547 GB, free: 15.64 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 7.637e-05/0.1173, allocations: 45.7 kB / 0.6548 GB, free: 15.59 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003181/0.1176, allocations: 0.6748 MB / 0.6554 GB, free: 14.9 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002825/0.1179, allocations: 0.5231 MB / 0.656 GB, free: 14.38 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006468/0.1185, allocations: 477 kB / 0.6564 GB, free: 13.9 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.1187, allocations: 0.5746 MB / 0.657 GB, free: 13.32 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007374/0.1194, allocations: 331.8 kB / 0.6573 GB, free: 13 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001114/0.1205, allocations: 1.319 MB / 0.6586 GB, free: 11.27 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001869/0.1224, allocations: 1.805 MB / 0.6603 GB, free: 9.051 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-05/0.1224, allocations: 8 kB / 0.6603 GB, free: 9.043 MB / 474.8 MB Notification: Performance of matching and sorting (n=239) (initialization): time 0.003271/0.1257, allocations: 1.703 MB / 0.662 GB, free: 7.332 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/0.1257, allocations: 16 kB / 0.662 GB, free: 7.316 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.025e-05/0.1257, allocations: 23.94 kB / 0.662 GB, free: 7.293 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.67e-05/0.1258, allocations: 32 kB / 0.6621 GB, free: 7.262 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001726/0.1275, allocations: 0.5195 MB / 0.6626 GB, free: 6.742 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.001e-05/0.1275, allocations: 43.86 kB / 0.6626 GB, free: 6.699 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002087/0.1296, allocations: 222.5 kB / 0.6628 GB, free: 6.48 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002672/0.1299, allocations: 252 kB / 0.6631 GB, free: 6.234 MB / 474.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.0004391/0.1303, allocations: 299.8 kB / 0.6634 GB, free: 5.93 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003404/0.1307, allocations: 179.1 kB / 0.6635 GB, free: 5.754 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003914/0.1346, allocations: 2.038 MB / 0.6655 GB, free: 3.707 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/0.1346, allocations: 16 kB / 0.6655 GB, free: 3.691 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.1346, allocations: 3.938 kB / 0.6655 GB, free: 3.688 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.214e-05/0.1346, allocations: 7.969 kB / 0.6655 GB, free: 3.68 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001134/0.1357, allocations: 0.8613 MB / 0.6664 GB, free: 2.785 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.1357, allocations: 0 / 0.6664 GB, free: 2.785 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007442/0.1365, allocations: 327.6 kB / 0.6667 GB, free: 2.465 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.736e-06/0.1365, allocations: 4 kB / 0.6667 GB, free: 2.461 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-05/0.1366, allocations: 87.95 kB / 0.6668 GB, free: 2.375 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.393e-06/0.1366, allocations: 11.94 kB / 0.6668 GB, free: 2.363 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.1366, allocations: 0 / 0.6668 GB, free: 2.363 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001786/0.1384, allocations: 1.292 MB / 0.6681 GB, free: 1.043 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008863/0.1393, allocations: 378.6 kB / 0.6684 GB, free: 0.6719 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002147/0.1395, allocations: 20 kB / 0.6684 GB, free: 0.6523 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007628/0.1402, allocations: 43.91 kB / 0.6685 GB, free: 0.6094 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001706/0.1404, allocations: 137.1 kB / 0.6686 GB, free: 488 kB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001619/0.1406, allocations: 196 kB / 0.6688 GB, free: 292 kB / 474.8 MB Notification: Performance of sorting global known variables: time 0.00115/0.1417, allocations: 0.7705 MB / 0.6696 GB, free: 15.5 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.1417, allocations: 0 / 0.6696 GB, free: 15.5 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.001901/0.1436, allocations: 0.5695 MB / 0.6701 GB, free: 14.93 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.003596/0.1472, allocations: 0.9513 MB / 0.671 GB, free: 14.29 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.002753/0.15, allocations: 1.164 MB / 0.6722 GB, free: 13.12 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.15, allocations: 0 / 0.6722 GB, free: 13.12 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001012/0.151, allocations: 0.5444 MB / 0.6727 GB, free: 12.58 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001502/0.1525, allocations: 363.3 kB / 0.6731 GB, free: 12.22 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00366/0.1562, allocations: 1.921 MB / 0.6749 GB, free: 10.26 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006661/0.1568, allocations: 0.5257 MB / 0.6754 GB, free: 9.703 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.003749/0.1606, allocations: 1.208 MB / 0.6766 GB, free: 8.496 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001134/0.1617, allocations: 332 kB / 0.6769 GB, free: 8.172 MB / 490.8 MB Notification: Performance of SimCode: time 1.152e-06/0.1617, allocations: 0 / 0.6769 GB, free: 8.172 MB / 490.8 MB Notification: Performance of Templates: time 0.04541/0.2071, allocations: 24.8 MB / 0.7012 GB, free: 15.55 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=240 -lv LOG_STATS > TILMedia_TILMedia.Testers.TestGas.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.355656233034097]