Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple.conf.json 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.0006647/0.0006647, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008909/0.001556, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006677/0.0006677, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001192/0.00186, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.8301/0.8301, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06954/0.8996, allocations: 53.67 MB / 243.4 MB, free: 15.48 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo): time 3.206/3.206, allocations: 291.1 MB / 0.5227 GB, free: 52.47 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03818/3.244, allocations: 21.05 MB / 0.5433 GB, free: 31.47 MB / 410.7 MB " [Timeout remaining time 177] Using package Pharmacolibrary with version 26.11 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/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) Running command: translateModel(Pharmacolibrary.Examples.PK_1C_GentamicineSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple") translateModel(Pharmacolibrary.Examples.PK_1C_GentamicineSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.72e-07/9.72e-07, allocations: 0 / 0.5446 GB, free: 30.16 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.177e-05/1.275e-05, allocations: 6.312 kB / 0.5446 GB, free: 30.15 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PK_1C_GentamicineSimple): time 0.002706/0.002719, allocations: 1.832 MB / 0.5464 GB, free: 28.31 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002099/0.002929, allocations: 95.61 kB / 0.5465 GB, free: 28.21 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.66e-05/0.002965, allocations: 8 kB / 0.5465 GB, free: 28.21 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.271e-05/0.003008, allocations: 7.922 kB / 0.5465 GB, free: 28.2 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.694e-05/0.003065, allocations: 27.72 kB / 0.5465 GB, free: 28.17 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.912e-05/0.003124, allocations: 23.91 kB / 0.5465 GB, free: 28.15 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001042/0.003228, allocations: 91.55 kB / 0.5466 GB, free: 28.06 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.192e-05/0.0033, allocations: 16.16 kB / 0.5466 GB, free: 28.04 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.534e-05/0.003365, allocations: 51.89 kB / 0.5467 GB, free: 27.99 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.608e-05/0.003422, allocations: 27.91 kB / 0.5467 GB, free: 27.96 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.003437, allocations: 8 kB / 0.5467 GB, free: 27.95 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.191e-05/0.003449, allocations: 4 kB / 0.5467 GB, free: 27.95 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.691e-05/0.003466, allocations: 15.94 kB / 0.5467 GB, free: 27.93 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.933e-05/0.003495, allocations: 20 kB / 0.5468 GB, free: 27.91 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 8.803e-05/0.003583, allocations: 47.84 kB / 0.5468 GB, free: 27.87 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/0.003592, allocations: 0 / 0.5468 GB, free: 27.87 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.003592, allocations: 3.938 kB / 0.5468 GB, free: 27.86 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.003601, allocations: 0 / 0.5468 GB, free: 27.86 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003304/0.003932, allocations: 312.5 kB / 0.5471 GB, free: 27.53 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.627e-05/0.003958, allocations: 11.89 kB / 0.5471 GB, free: 27.52 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.568e-05/0.003994, allocations: 12.92 kB / 0.5471 GB, free: 27.51 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/0.004115, allocations: 121.7 kB / 0.5473 GB, free: 27.36 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.004127, allocations: 7.812 kB / 0.5473 GB, free: 27.36 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.344e-05/0.00415, allocations: 16.33 kB / 0.5473 GB, free: 27.34 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001144/0.004265, allocations: 104.6 kB / 0.5474 GB, free: 27.23 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.004275, allocations: 4.188 kB / 0.5474 GB, free: 27.22 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.051e-06/0.004281, allocations: 4.312 kB / 0.5474 GB, free: 27.22 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.004289, allocations: 4.125 kB / 0.5474 GB, free: 27.21 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.165e-05/0.004361, allocations: 61.67 kB / 0.5474 GB, free: 27.15 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002253/0.004586, allocations: 196.2 kB / 0.5476 GB, free: 26.94 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.473e-05/0.004671, allocations: 79.16 kB / 0.5477 GB, free: 26.85 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.397e-05/0.004705, allocations: 50.56 kB / 0.5478 GB, free: 26.79 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.48e-06/0.00471, allocations: 0 / 0.5478 GB, free: 26.79 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001258/0.004836, allocations: 164.4 kB / 0.5479 GB, free: 26.6 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 8.31e-07/0.004837, allocations: 0 / 0.5479 GB, free: 26.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005828/0.00542, allocations: 437.8 kB / 0.5483 GB, free: 26.11 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.869e-05/0.005488, allocations: 166.1 kB / 0.5485 GB, free: 25.91 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.206e-05/0.00555, allocations: 110.7 kB / 0.5486 GB, free: 25.79 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.005565, allocations: 25.7 kB / 0.5486 GB, free: 25.76 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.867e-05/0.005594, allocations: 100.2 kB / 0.5487 GB, free: 25.66 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.197e-05/0.005626, allocations: 39.67 kB / 0.5488 GB, free: 25.62 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-05/0.005666, allocations: 37.7 kB / 0.5488 GB, free: 25.57 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.27e-05/0.005729, allocations: 318.8 kB / 0.5491 GB, free: 25.25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.859e-05/0.005757, allocations: 45.69 kB / 0.5491 GB, free: 25.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.122e-05/0.005809, allocations: 77.92 kB / 0.5492 GB, free: 25.11 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.255e-05/0.005901, allocations: 135.5 kB / 0.5493 GB, free: 24.95 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.005902, allocations: 4 kB / 0.5493 GB, free: 24.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001233/0.006026, allocations: 157.6 kB / 0.5495 GB, free: 24.77 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/0.006049, allocations: 29.7 kB / 0.5495 GB, free: 24.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.075e-06/0.006053, allocations: 4 kB / 0.5495 GB, free: 24.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.006073, allocations: 0 / 0.5495 GB, free: 24.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.006188, allocations: 43.91 kB / 0.5496 GB, free: 24.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.976e-06/0.006191, allocations: 0 / 0.5496 GB, free: 24.69 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.995e-05/0.006241, allocations: 8.125 kB / 0.5496 GB, free: 24.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-06/0.006248, allocations: 8 kB / 0.5496 GB, free: 24.67 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 8 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,central.rising,$PRE.central.rising,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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 7.383e-05/0.006322, allocations: 151.5 kB / 0.5497 GB, free: 24.51 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.888e-05/0.006341, allocations: 15.94 kB / 0.5497 GB, free: 24.49 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.783e-05/0.006358, allocations: 8.438 kB / 0.5498 GB, free: 24.48 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.00636, allocations: 0 / 0.5498 GB, free: 24.48 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.006364, allocations: 3.438 kB / 0.5498 GB, free: 24.48 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.00637, allocations: 7.984 kB / 0.5498 GB, free: 24.48 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002227/0.006593, allocations: 314 kB / 0.5501 GB, free: 24.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.006594, allocations: 0 / 0.5501 GB, free: 24.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.975e-05/0.006684, allocations: 29.95 kB / 0.5501 GB, free: 24.11 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.378e-05/0.006698, allocations: 11.92 kB / 0.5501 GB, free: 24.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.0067, allocations: 4 kB / 0.5501 GB, free: 24.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.006708, allocations: 4 kB / 0.5501 GB, free: 24.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.00671, allocations: 0 / 0.5501 GB, free: 24.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.006711, allocations: 0 / 0.5501 GB, free: 24.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001873/0.006898, allocations: 308.5 kB / 0.5504 GB, free: 23.75 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.006915, allocations: 7.984 kB / 0.5504 GB, free: 23.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.005e-05/0.006975, allocations: 4 kB / 0.5504 GB, free: 23.74 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.545e-05/0.007, allocations: 11.98 kB / 0.5504 GB, free: 23.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.243e-06/0.007008, allocations: 4 kB / 0.5504 GB, free: 23.72 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.217e-05/0.00702, allocations: 12.84 kB / 0.5504 GB, free: 23.71 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00702, allocations: 0 / 0.5504 GB, free: 23.71 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002312/0.007251, allocations: 28 kB / 0.5505 GB, free: 23.68 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (central.C,central.AUC,elim.MExc) * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,central.Cmax,central.Cmin,central.rising) * Number of discrete states: 5 (central.Cmin,$whenCondition2,central.Cmax,$whenCondition1,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 1 * 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 7.343e-05/0.007325, allocations: 84.41 kB / 0.5506 GB, free: 23.59 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001596/0.007484, allocations: 187.5 kB / 0.5507 GB, free: 23.38 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.007488, allocations: 384 / 0.5507 GB, free: 23.38 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.35e-05/0.007571, allocations: 129.9 kB / 0.5509 GB, free: 23.23 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002314/0.007803, allocations: 121 kB / 0.551 GB, free: 23.1 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00315/0.01095, allocations: 341.6 kB / 0.5513 GB, free: 22.73 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.268e-05/0.01099, allocations: 67.3 kB / 0.5514 GB, free: 22.64 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.667e-05/0.01103, allocations: 12.48 kB / 0.5514 GB, free: 22.63 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.906e-05/0.01111, allocations: 79.36 kB / 0.5514 GB, free: 22.55 MB / 410.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01111, allocations: 0 / 0.5514 GB, free: 22.55 MB / 410.7 MB Notification: Performance of Templates: time 0.003307/0.01442, allocations: 1.56 MB / 0.553 GB, free: 21.04 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.317356621846557]