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.008841/0.008841, allocations: 1.791 MB / 21.89 MB, free: 2.637 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.6424/0.6424, allocations: 102.5 MB / 128 MB, free: 12.46 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.001134/0.001134, allocations: 85.94 kB / 159.9 MB, free: 12.77 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.001307/0.001307, allocations: 155.8 kB / 191.9 MB, free: 30.3 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.055/1.055, allocations: 177.1 MB / 400.9 MB, free: 7.039 MB / 314.8 MB " [Timeout remaining time 179] 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.07194/0.07194, allocations: 18.24 MB / 0.4924 GB, free: 15.98 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.874e-06/1.874e-06, allocations: 0 / 0.5982 GB, free: 74.62 MB / 474.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.893e-05/3.081e-05, allocations: 8.844 kB / 0.5982 GB, free: 74.62 MB / 474.8 MB Notification: Performance of NFInst.instantiate(TILMedia.Testers.TestGas): time 0.007267/0.007298, allocations: 2.833 MB / 0.601 GB, free: 71.76 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.01963/0.02692, allocations: 11.47 MB / 0.6122 GB, free: 60.25 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002492/0.02717, allocations: 4 kB / 0.6122 GB, free: 60.25 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.003873/0.03105, allocations: 242.6 kB / 0.6124 GB, free: 60.01 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004391/0.03149, allocations: 270.4 kB / 0.6127 GB, free: 59.75 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.007346/0.03883, allocations: 2.507 MB / 0.6151 GB, free: 57.23 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.003869/0.0427, allocations: 1.012 MB / 0.6161 GB, free: 56.21 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 7.666e-05/0.04278, allocations: 37.25 kB / 0.6161 GB, free: 56.18 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004441/0.04322, allocations: 467.1 kB / 0.6166 GB, free: 55.72 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007788/0.044, allocations: 1.162 MB / 0.6177 GB, free: 54.55 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0002897/0.04429, allocations: 272 kB / 0.618 GB, free: 54.29 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006963/0.05125, allocations: 2.833 MB / 0.6207 GB, free: 51.45 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0005709/0.05182, allocations: 0.8773 MB / 0.6216 GB, free: 50.57 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0006526/0.05248, allocations: 0.7292 MB / 0.6223 GB, free: 49.84 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.005758/0.05823, allocations: 4.546 MB / 0.6267 GB, free: 45.28 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.05824, allocations: 3.938 kB / 0.6267 GB, free: 45.28 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.362e-06/0.05824, allocations: 0 / 0.6267 GB, free: 45.28 MB / 474.8 MB Notification: Performance of Transformations before backend: time 2.871e-05/0.05827, allocations: 0 / 0.6267 GB, free: 45.28 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.004765/0.06304, allocations: 3.335 MB / 0.63 GB, free: 41.89 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.06308, allocations: 12.03 kB / 0.63 GB, free: 41.88 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004841/0.06357, allocations: 160.1 kB / 0.6302 GB, free: 41.73 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002357/0.06592, allocations: 1.765 MB / 0.6319 GB, free: 39.94 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.141e-05/0.06595, allocations: 45.67 kB / 0.6319 GB, free: 39.89 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002188/0.06617, allocations: 56.31 kB / 0.632 GB, free: 39.84 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005607/0.07178, allocations: 2.186 MB / 0.6341 GB, free: 37.59 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.07179, allocations: 192 / 0.6341 GB, free: 37.59 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001102/0.0719, allocations: 24.12 kB / 0.6341 GB, free: 37.57 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.349e-05/0.07199, allocations: 137.9 kB / 0.6343 GB, free: 37.44 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005835/0.07782, allocations: 4.238 MB / 0.6384 GB, free: 33.19 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00747/0.08529, allocations: 6.594 MB / 0.6449 GB, free: 26.5 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003311/0.0886, allocations: 1 MB / 0.6458 GB, free: 25.48 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003201/0.08892, allocations: 247.5 kB / 0.6461 GB, free: 25.23 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002418/0.08917, allocations: 149.2 kB / 0.6462 GB, free: 25.09 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.0892, allocations: 50.7 kB / 0.6463 GB, free: 25.03 MB / 474.8 MB Notification: Performance of pre-optimization done (n=142): time 4.038e-06/0.0892, allocations: 0 / 0.6463 GB, free: 25.03 MB / 474.8 MB Notification: Performance of matching and sorting (n=142): time 0.006896/0.0961, allocations: 2.444 MB / 0.6486 GB, free: 22.57 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.09613, allocations: 68.72 kB / 0.6487 GB, free: 22.49 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001052/0.09718, allocations: 1.219 MB / 0.6499 GB, free: 21.25 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 4.855e-05/0.09723, allocations: 45.7 kB / 0.6499 GB, free: 21.2 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002342/0.09747, allocations: 0.6435 MB / 0.6506 GB, free: 20.54 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002108/0.09768, allocations: 0.5036 MB / 0.6511 GB, free: 20.04 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004052/0.09808, allocations: 449 kB / 0.6515 GB, free: 19.59 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 9.482e-05/0.09818, allocations: 0.5511 MB / 0.652 GB, free: 19.03 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005031/0.09868, allocations: 259.8 kB / 0.6523 GB, free: 18.78 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000732/0.09941, allocations: 1.209 MB / 0.6535 GB, free: 17.16 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001306/0.1007, allocations: 1.614 MB / 0.655 GB, free: 15.13 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.037e-06/0.1007, allocations: 8 kB / 0.655 GB, free: 15.12 MB / 474.8 MB Notification: Performance of matching and sorting (n=239) (initialization): time 0.00209/0.1028, allocations: 1.555 MB / 0.6566 GB, free: 13.56 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.527e-05/0.1028, allocations: 12 kB / 0.6566 GB, free: 13.55 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.804e-05/0.1029, allocations: 27.94 kB / 0.6566 GB, free: 13.52 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.059e-05/0.1029, allocations: 32 kB / 0.6566 GB, free: 13.49 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009309/0.1038, allocations: 0.5114 MB / 0.6571 GB, free: 12.98 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.422e-05/0.1038, allocations: 43.86 kB / 0.6572 GB, free: 12.94 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009822/0.1048, allocations: 230.5 kB / 0.6574 GB, free: 12.71 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001737/0.105, allocations: 252 kB / 0.6576 GB, free: 12.46 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.0003315/0.1053, allocations: 283.8 kB / 0.6579 GB, free: 12.18 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002261/0.1056, allocations: 175.2 kB / 0.6581 GB, free: 12 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00245/0.108, allocations: 1.894 MB / 0.6599 GB, free: 10.1 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/0.108, allocations: 16 kB / 0.6599 GB, free: 10.09 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.108, allocations: 0 / 0.6599 GB, free: 10.09 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.808e-06/0.108, allocations: 7.969 kB / 0.6599 GB, free: 10.08 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008336/0.1089, allocations: 0.7558 MB / 0.6607 GB, free: 9.289 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.1089, allocations: 0 / 0.6607 GB, free: 9.289 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004691/0.1093, allocations: 327.6 kB / 0.661 GB, free: 8.969 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.057e-06/0.1094, allocations: 8 kB / 0.661 GB, free: 8.961 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.504e-05/0.1094, allocations: 75.95 kB / 0.6611 GB, free: 8.887 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/0.1094, allocations: 7.938 kB / 0.6611 GB, free: 8.879 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.1094, allocations: 4 kB / 0.6611 GB, free: 8.875 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001233/0.1106, allocations: 1.128 MB / 0.6622 GB, free: 7.719 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004172/0.1111, allocations: 378.6 kB / 0.6625 GB, free: 7.348 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001507/0.1112, allocations: 24 kB / 0.6626 GB, free: 7.324 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000371/0.1116, allocations: 39.91 kB / 0.6626 GB, free: 7.285 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/0.1117, allocations: 133.1 kB / 0.6627 GB, free: 7.156 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001213/0.1118, allocations: 200 kB / 0.6629 GB, free: 6.961 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.0006102/0.1124, allocations: 0.7196 MB / 0.6636 GB, free: 6.23 MB / 474.8 MB Notification: Performance of sort global known variables: time 6e-08/0.1125, allocations: 0 / 0.6636 GB, free: 6.23 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.001262/0.1137, allocations: 0.5733 MB / 0.6642 GB, free: 5.656 MB / 474.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.001673/0.1154, allocations: 0.9949 MB / 0.6652 GB, free: 4.996 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.00139/0.1168, allocations: 0.9806 MB / 0.6661 GB, free: 4.02 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1168, allocations: 0 / 0.6661 GB, free: 4.02 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0004186/0.1172, allocations: 461.5 kB / 0.6666 GB, free: 3.566 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000763/0.118, allocations: 367.5 kB / 0.6669 GB, free: 3.203 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0021/0.1201, allocations: 1.827 MB / 0.6687 GB, free: 1.336 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001393/0.1202, allocations: 287.9 kB / 0.669 GB, free: 1.035 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.002053/0.1223, allocations: 1.205 MB / 0.6701 GB, free: 15.82 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007043/0.123, allocations: 336 kB / 0.6705 GB, free: 15.5 MB / 490.8 MB Notification: Performance of SimCode: time 1.243e-06/0.123, allocations: 0 / 0.6705 GB, free: 15.5 MB / 490.8 MB Notification: Performance of Templates: time 0.02629/0.1492, allocations: 24.84 MB / 0.6947 GB, free: 6.836 MB / 0.4949 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: 4.823325214907527]