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.0114/0.0114, allocations: 1.795 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.5873/0.5873, allocations: 102.5 MB / 128 MB, free: 12.47 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.0008959/0.0008959, allocations: 83 kB / 159.9 MB, free: 12.75 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.001237/0.001237, allocations: 163.7 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.048/1.048, allocations: 177.1 MB / 400.9 MB, free: 7.02 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.07918/0.07918, allocations: 18.25 MB / 0.4924 GB, free: 15.97 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_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: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.5982 GB, free: 74.59 MB / 474.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.505e-05/2.662e-05, allocations: 6.25 kB / 0.5982 GB, free: 74.58 MB / 474.8 MB Notification: Performance of NFInst.instantiate(TILMedia.Testers.TestGas_mixture): time 0.002285/0.002312, allocations: 2.382 MB / 0.6005 GB, free: 72.18 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.008122/0.01043, allocations: 11.28 MB / 0.6115 GB, free: 60.86 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001905/0.01062, allocations: 4 kB / 0.6115 GB, free: 60.86 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0007423/0.01137, allocations: 206.9 kB / 0.6117 GB, free: 60.66 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002532/0.01162, allocations: 194.9 kB / 0.6119 GB, free: 60.46 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0035/0.01512, allocations: 2.39 MB / 0.6143 GB, free: 58.06 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0005286/0.01565, allocations: 0.6915 MB / 0.6149 GB, free: 57.37 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 6.215e-05/0.01571, allocations: 16.94 kB / 0.615 GB, free: 57.36 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002634/0.01597, allocations: 323.4 kB / 0.6153 GB, free: 57.04 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004952/0.01647, allocations: 0.8308 MB / 0.6161 GB, free: 56.21 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0001747/0.01664, allocations: 204 kB / 0.6163 GB, free: 56.01 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003643/0.02029, allocations: 2.758 MB / 0.619 GB, free: 53.25 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0003698/0.02066, allocations: 0.6317 MB / 0.6196 GB, free: 52.61 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0003795/0.02104, allocations: 0.5303 MB / 0.6201 GB, free: 52.08 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.004757/0.02579, allocations: 3.965 MB / 0.624 GB, free: 48.11 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.0258, allocations: 4 kB / 0.624 GB, free: 48.1 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.815e-06/0.0258, allocations: 0 / 0.624 GB, free: 48.1 MB / 474.8 MB Notification: Performance of Transformations before backend: time 3.455e-05/0.02584, allocations: 0 / 0.624 GB, free: 48.1 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: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.003275/0.02911, allocations: 2.614 MB / 0.6265 GB, free: 45.44 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.02916, allocations: 12.02 kB / 0.6265 GB, free: 45.43 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000301/0.02946, allocations: 116.3 kB / 0.6266 GB, free: 45.31 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001575/0.03103, allocations: 1.215 MB / 0.6278 GB, free: 44.08 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.257e-05/0.03106, allocations: 33.38 kB / 0.6279 GB, free: 44.05 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.427e-05/0.03114, allocations: 36.38 kB / 0.6279 GB, free: 44.01 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00274/0.03388, allocations: 1.504 MB / 0.6294 GB, free: 42.46 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.0339, allocations: 4.188 kB / 0.6294 GB, free: 42.46 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.025e-05/0.03397, allocations: 28.09 kB / 0.6294 GB, free: 42.43 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-05/0.03403, allocations: 93.25 kB / 0.6295 GB, free: 42.34 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0037/0.03773, allocations: 2.868 MB / 0.6323 GB, free: 39.47 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004983/0.04271, allocations: 4.507 MB / 0.6367 GB, free: 34.88 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002388/0.0451, allocations: 0.6826 MB / 0.6374 GB, free: 34.19 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002702/0.04537, allocations: 174.6 kB / 0.6375 GB, free: 34.02 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002064/0.04558, allocations: 112.8 kB / 0.6376 GB, free: 33.91 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.04561, allocations: 46.38 kB / 0.6377 GB, free: 33.85 MB / 474.8 MB Notification: Performance of pre-optimization done (n=95): time 3.968e-06/0.04561, allocations: 4 kB / 0.6377 GB, free: 33.85 MB / 474.8 MB Notification: Performance of matching and sorting (n=95): time 0.00641/0.05202, allocations: 1.648 MB / 0.6393 GB, free: 32.19 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/0.05206, allocations: 64.34 kB / 0.6394 GB, free: 32.11 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008486/0.0529, allocations: 0.8272 MB / 0.6402 GB, free: 31.27 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 4.421e-05/0.05295, allocations: 37.7 kB / 0.6402 GB, free: 31.23 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001886/0.05314, allocations: 463.1 kB / 0.6406 GB, free: 30.77 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001716/0.05331, allocations: 353 kB / 0.641 GB, free: 30.42 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003394/0.05365, allocations: 292.4 kB / 0.6413 GB, free: 30.12 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.05377, allocations: 0.586 MB / 0.6418 GB, free: 29.53 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003811/0.05415, allocations: 174.4 kB / 0.642 GB, free: 29.36 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005662/0.05471, allocations: 0.7247 MB / 0.6427 GB, free: 28.39 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009991/0.05571, allocations: 0.9885 MB / 0.6437 GB, free: 27.17 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.256e-06/0.05572, allocations: 4 kB / 0.6437 GB, free: 27.16 MB / 474.8 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.001727/0.05745, allocations: 0.9855 MB / 0.6446 GB, free: 26.17 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.53e-05/0.05747, allocations: 13.72 kB / 0.6446 GB, free: 26.16 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.505e-05/0.05749, allocations: 16.12 kB / 0.6447 GB, free: 26.14 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.88e-05/0.05752, allocations: 20 kB / 0.6447 GB, free: 26.12 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008355/0.05835, allocations: 339.5 kB / 0.645 GB, free: 25.79 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.973e-05/0.05837, allocations: 23.94 kB / 0.645 GB, free: 25.77 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000823/0.0592, allocations: 143.1 kB / 0.6452 GB, free: 25.62 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001512/0.05935, allocations: 160 kB / 0.6453 GB, free: 25.47 MB / 474.8 MB 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.0002256/0.05957, allocations: 232.1 kB / 0.6455 GB, free: 25.23 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002008/0.05977, allocations: 119.4 kB / 0.6457 GB, free: 25.11 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008098/0.06787, allocations: 1.271 MB / 0.6469 GB, free: 23.84 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/0.06788, allocations: 8 kB / 0.6469 GB, free: 23.83 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/0.06789, allocations: 3.938 kB / 0.6469 GB, free: 23.82 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.328e-06/0.0679, allocations: 11.97 kB / 0.6469 GB, free: 23.81 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00079/0.06869, allocations: 0.5477 MB / 0.6474 GB, free: 23.23 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/0.06869, allocations: 0 / 0.6474 GB, free: 23.23 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004389/0.06913, allocations: 215.8 kB / 0.6477 GB, free: 23.02 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.183e-06/0.06914, allocations: 4 kB / 0.6477 GB, free: 23.01 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.506e-05/0.06919, allocations: 51.97 kB / 0.6477 GB, free: 22.96 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-06/0.0692, allocations: 4 kB / 0.6477 GB, free: 22.96 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.0692, allocations: 0 / 0.6477 GB, free: 22.96 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001056/0.07026, allocations: 0.8184 MB / 0.6485 GB, free: 22.12 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006352/0.07661, allocations: 247.1 kB / 0.6487 GB, free: 21.88 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001417/0.07675, allocations: 16 kB / 0.6488 GB, free: 21.86 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003535/0.0771, allocations: 27.98 kB / 0.6488 GB, free: 21.84 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001178/0.07722, allocations: 92.8 kB / 0.6489 GB, free: 21.74 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001084/0.07733, allocations: 136 kB / 0.649 GB, free: 21.61 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.0005153/0.07785, allocations: 0.5068 MB / 0.6495 GB, free: 21.11 MB / 474.8 MB Notification: Performance of sort global known variables: time 8e-08/0.07785, allocations: 0 / 0.6495 GB, free: 21.11 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.001144/0.07899, allocations: 447.1 kB / 0.6499 GB, free: 20.67 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 (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.007801/0.08679, allocations: 0.9247 MB / 0.6508 GB, free: 20.05 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.001189/0.08798, allocations: 0.6371 MB / 0.6515 GB, free: 19.42 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.08798, allocations: 0 / 0.6515 GB, free: 19.42 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003612/0.08834, allocations: 317 kB / 0.6518 GB, free: 19.11 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006849/0.09519, allocations: 254.6 kB / 0.652 GB, free: 18.86 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001968/0.09716, allocations: 1.291 MB / 0.6533 GB, free: 17.54 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001296/0.09729, allocations: 216.8 kB / 0.6535 GB, free: 17.3 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.00785/0.1051, allocations: 0.7896 MB / 0.6542 GB, free: 16.51 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005656/0.1057, allocations: 220.2 kB / 0.6544 GB, free: 16.29 MB / 474.8 MB Notification: Performance of SimCode: time 1.723e-06/0.1057, allocations: 0 / 0.6544 GB, free: 16.29 MB / 474.8 MB Notification: Performance of Templates: time 0.0304/0.1361, allocations: 17.35 MB / 0.6714 GB, free: 15.09 MB / 490.8 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > TILMedia_TILMedia.Testers.TestGas_mixture.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.53288481105119]