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.009736/0.009736, allocations: 1.348 MB / 20.45 MB, free: 1.25 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.8989/0.8989, allocations: 102.5 MB / 126.5 MB, free: 384 kB / 110.2 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.001629/0.001629, allocations: 94.88 kB / 158.2 MB, free: 0.9727 MB / 142.2 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.002283/0.002283, allocations: 158.4 kB / 190 MB, free: 1.098 MB / 174.2 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.528/1.528, allocations: 177.1 MB / 398.9 MB, free: 11.59 MB / 318.2 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.1135/0.1135, allocations: 18.23 MB / 0.4903 GB, free: 4.234 MB / 414.2 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.3.1 (/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.413e-06/1.413e-06, allocations: 0 / 0.6828 GB, free: 0.9727 MB / 494.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.302e-05/3.444e-05, allocations: 10.16 kB / 0.6828 GB, free: 0.9609 MB / 494.2 MB Notification: Performance of NFInst.instantiate(TILMedia.Testers.TestGas_mixture): time 0.003561/0.003596, allocations: 2.229 MB / 0.6849 GB, free: 14.72 MB / 0.4982 GB Notification: Performance of NFInst.instExpressions: time 0.0148/0.01839, allocations: 10.27 MB / 0.695 GB, free: 4.406 MB / 0.4982 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002643/0.01866, allocations: 4 kB / 0.695 GB, free: 4.402 MB / 0.4982 GB Notification: Performance of NFTyping.typeComponents: time 0.0009412/0.0196, allocations: 206.9 kB / 0.6952 GB, free: 4.199 MB / 0.4982 GB Notification: Performance of NFTyping.typeBindings: time 0.000431/0.02003, allocations: 194.8 kB / 0.6954 GB, free: 4.008 MB / 0.4982 GB Notification: Performance of NFTyping.typeClassSections: time 0.005857/0.02589, allocations: 2.39 MB / 0.6977 GB, free: 1.605 MB / 0.4982 GB Notification: Performance of NFFlatten.flatten: time 0.0009739/0.02686, allocations: 0.6954 MB / 0.6984 GB, free: 0.9102 MB / 0.4982 GB Notification: Performance of NFFlatten.resolveConnections: time 6.661e-05/0.02693, allocations: 16.92 kB / 0.6984 GB, free: 0.8906 MB / 0.4982 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003867/0.02731, allocations: 311.4 kB / 0.6987 GB, free: 0.5859 MB / 0.4982 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2801/0.3074, allocations: 0.882 MB / 0.6996 GB, free: 19.36 MB / 0.4982 GB Notification: Performance of NFPackage.collectConstants: time 0.0007508/0.3082, allocations: 202.2 kB / 0.6998 GB, free: 19.36 MB / 0.4982 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007055/0.3152, allocations: 2.752 MB / 0.7024 GB, free: 19.35 MB / 0.4982 GB Notification: Performance of NFScalarize.scalarize: time 0.00126/0.3165, allocations: 0.6369 MB / 0.7031 GB, free: 19.35 MB / 0.4982 GB Notification: Performance of NFVerifyModel.verify: time 0.001267/0.3178, allocations: 0.5253 MB / 0.7036 GB, free: 19.33 MB / 0.4982 GB Notification: Performance of NFConvertDAE.convert: time 0.01066/0.3284, allocations: 4.381 MB / 0.7079 GB, free: 18.98 MB / 0.4982 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3284, allocations: 3.562 kB / 0.7079 GB, free: 18.98 MB / 0.4982 GB Notification: Performance of FrontEnd: time 3.006e-06/0.3284, allocations: 1.281 kB / 0.7079 GB, free: 18.98 MB / 0.4982 GB Notification: Performance of Transformations before backend: time 2.779e-05/0.3284, allocations: 0 / 0.7079 GB, free: 18.98 MB / 0.4982 GB 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.007381/0.3358, allocations: 2.504 MB / 0.7103 GB, free: 17.96 MB / 0.4982 GB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.3359, allocations: 12.97 kB / 0.7103 GB, free: 17.96 MB / 0.4982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004675/0.3363, allocations: 81.91 kB / 0.7104 GB, free: 17.91 MB / 0.4982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00311/0.3395, allocations: 1.491 MB / 0.7118 GB, free: 17.66 MB / 0.4982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.494e-05/0.3395, allocations: 30.22 kB / 0.7119 GB, free: 17.66 MB / 0.4982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001645/0.3397, allocations: 42.78 kB / 0.7119 GB, free: 17.65 MB / 0.4982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007205/0.3469, allocations: 2.917 MB / 0.7148 GB, free: 16.78 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/0.3469, allocations: 1.594 kB / 0.7148 GB, free: 16.78 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001286/0.347, allocations: 19.7 kB / 0.7148 GB, free: 16.77 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001338/0.3472, allocations: 108.3 kB / 0.7149 GB, free: 16.75 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01356/0.3607, allocations: 8.381 MB / 0.7231 GB, free: 15.21 MB / 0.4982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01304/0.3738, allocations: 5.466 MB / 0.7284 GB, free: 12.96 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003939/0.3777, allocations: 0.8467 MB / 0.7292 GB, free: 12.79 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003832/0.3781, allocations: 258.8 kB / 0.7295 GB, free: 12.69 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002546/0.3783, allocations: 116.7 kB / 0.7296 GB, free: 12.66 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.3784, allocations: 38.91 kB / 0.7296 GB, free: 12.61 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=95): time 3.476e-06/0.3784, allocations: 0 / 0.7296 GB, free: 12.61 MB / 0.4982 GB Notification: Performance of matching and sorting (n=95): time 0.007662/0.386, allocations: 1.604 MB / 0.7312 GB, free: 12.02 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.489e-05/0.3861, allocations: 66.03 kB / 0.7313 GB, free: 11.95 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001526/0.3876, allocations: 1.107 MB / 0.7323 GB, free: 11.33 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 6.327e-05/0.3877, allocations: 41.14 kB / 0.7324 GB, free: 11.29 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.00019/0.3878, allocations: 402.8 kB / 0.7328 GB, free: 10.93 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001763/0.388, allocations: 343.4 kB / 0.7331 GB, free: 10.64 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004629/0.3885, allocations: 297 kB / 0.7334 GB, free: 10.51 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.3886, allocations: 394 kB / 0.7338 GB, free: 10.14 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007473/0.3893, allocations: 0.5211 MB / 0.7343 GB, free: 9.902 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009269/0.3903, allocations: 0.9179 MB / 0.7352 GB, free: 9.168 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001523/0.3918, allocations: 1.327 MB / 0.7365 GB, free: 8.016 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.296e-06/0.3918, allocations: 7.984 kB / 0.7365 GB, free: 8.008 MB / 0.4982 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.002488/0.3943, allocations: 1.641 MB / 0.7381 GB, free: 6.43 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/0.3943, allocations: 8 kB / 0.7381 GB, free: 6.422 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.724e-05/0.3943, allocations: 16 kB / 0.7381 GB, free: 6.406 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.148e-05/0.3943, allocations: 19.98 kB / 0.7381 GB, free: 6.387 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001208/0.3956, allocations: 336.8 kB / 0.7384 GB, free: 6.078 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.267e-05/0.3956, allocations: 31.48 kB / 0.7385 GB, free: 6.051 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001534/0.3971, allocations: 146.6 kB / 0.7386 GB, free: 5.91 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002006/0.3973, allocations: 168 kB / 0.7388 GB, free: 5.746 MB / 0.4982 GB 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.0004965/0.3978, allocations: 323.2 kB / 0.7391 GB, free: 5.438 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002103/0.398, allocations: 86.53 kB / 0.7392 GB, free: 5.355 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002645/0.4007, allocations: 1.464 MB / 0.7406 GB, free: 3.898 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.4007, allocations: 8 kB / 0.7406 GB, free: 3.891 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.4007, allocations: 3.938 kB / 0.7406 GB, free: 3.887 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.268e-06/0.4007, allocations: 7.984 kB / 0.7406 GB, free: 3.879 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007831/0.4015, allocations: 0.5364 MB / 0.7411 GB, free: 3.332 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.4015, allocations: 0.875 kB / 0.7411 GB, free: 3.332 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005221/0.402, allocations: 214.8 kB / 0.7413 GB, free: 3.129 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.612e-06/0.402, allocations: 4 kB / 0.7413 GB, free: 3.125 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.299e-05/0.4021, allocations: 55.97 kB / 0.7414 GB, free: 3.07 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.147e-06/0.4021, allocations: 0 / 0.7414 GB, free: 3.07 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.4021, allocations: 4 kB / 0.7414 GB, free: 3.066 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001282/0.4034, allocations: 0.9191 MB / 0.7423 GB, free: 2.133 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004663/0.4038, allocations: 260.9 kB / 0.7425 GB, free: 1.879 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001702/0.404, allocations: 16 kB / 0.7426 GB, free: 1.863 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005726/0.4046, allocations: 23.98 kB / 0.7426 GB, free: 1.84 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/0.4047, allocations: 92.86 kB / 0.7427 GB, free: 1.75 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001252/0.4048, allocations: 135.9 kB / 0.7428 GB, free: 1.617 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.000859/0.4057, allocations: 0.7879 MB / 0.7436 GB, free: 0.8359 MB / 0.4982 GB Notification: Performance of sort global known variables: time 8e-08/0.4057, allocations: 0 / 0.7436 GB, free: 0.8359 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.001478/0.4072, allocations: 446.9 kB / 0.744 GB, free: 408 kB / 0.4982 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 (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.00228/0.4094, allocations: 0.8732 MB / 0.7448 GB, free: 15.77 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.002003/0.4114, allocations: 1.036 MB / 0.7459 GB, free: 14.78 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.4114, allocations: 0 / 0.7459 GB, free: 14.78 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.0006031/0.4121, allocations: 363.5 kB / 0.7462 GB, free: 14.45 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000959/0.413, allocations: 171.4 kB / 0.7464 GB, free: 14.28 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002634/0.4156, allocations: 1.492 MB / 0.7478 GB, free: 12.77 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004516/0.4161, allocations: 409.6 kB / 0.7482 GB, free: 12.34 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.002318/0.4184, allocations: 0.8375 MB / 0.749 GB, free: 11.5 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007422/0.4192, allocations: 228.2 kB / 0.7492 GB, free: 11.27 MB / 0.5138 GB Notification: Performance of SimCode: time 6.61e-07/0.4192, allocations: 4 kB / 0.7492 GB, free: 11.27 MB / 0.5138 GB Notification: Performance of Templates: time 0.02827/0.4474, allocations: 16.18 MB / 0.7651 GB, free: 11.25 MB / 0.5294 GB " [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=480 -lv LOG_STATS > TILMedia_TILMedia.Testers.TestGas_mixture.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.1688750423491] Failed to read output from testmodel.py, exit status != 0: 0.45625391602516174 0.47095637599999995 0.139262356 Calling exit ...