Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB03_Gentamicin.Gentamicin.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.00265/0.00265, allocations: 109.5 kB / 18.95 MB, free: 1.18 MB / 13.93 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.002959/0.002959, allocations: 214.4 kB / 22.25 MB, free: 3.582 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 1.79/1.79, allocations: 230.6 MB / 256 MB, free: 9.594 MB / 202.7 MB " [Timeout remaining time 178] 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 1.457/1.457, allocations: 316.7 MB / 0.6144 GB, free: 93.07 MB / 410.7 MB " [Timeout remaining time 178] 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.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB03_Gentamicin.Gentamicin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=259200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB03_Gentamicin.Gentamicin") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB03_Gentamicin.Gentamicin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=259200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB03_Gentamicin.Gentamicin") [Timeout 660] "Notification: Pharmacolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.004744/0.004744, allocations: 77.61 kB / 0.775 GB, free: 14.78 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1751/0.1799, allocations: 73.99 MB / 0.8472 GB, free: 4.926 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB03_Gentamicin.Gentamicin): time 0.004465/0.1843, allocations: 2.303 MB / 0.8495 GB, free: 2.625 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3916/0.576, allocations: 6.528 MB / 0.8559 GB, free: 22.04 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002288/0.5762, allocations: 0.5312 kB / 0.8559 GB, free: 22.04 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001632/0.5764, allocations: 28.08 kB / 0.8559 GB, free: 22.04 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002523/0.5766, allocations: 87.16 kB / 0.856 GB, free: 22.04 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002328/0.5769, allocations: 50.84 kB / 0.856 GB, free: 22.04 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002993/0.5772, allocations: 253.3 kB / 0.8563 GB, free: 22.03 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001445/0.5773, allocations: 39.89 kB / 0.8563 GB, free: 22.02 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001377/0.5774, allocations: 97.25 kB / 0.8564 GB, free: 22.01 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002168/0.5777, allocations: 97.59 kB / 0.8565 GB, free: 21.99 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.305e-05/0.5777, allocations: 17.44 kB / 0.8565 GB, free: 21.99 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.955e-05/0.5777, allocations: 16.56 kB / 0.8565 GB, free: 21.99 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.168e-05/0.5778, allocations: 39.92 kB / 0.8565 GB, free: 21.98 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 9.548e-05/0.5779, allocations: 93.41 kB / 0.8566 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002512/0.5781, allocations: 198.1 kB / 0.8568 GB, free: 21.92 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.5781, allocations: 3.625 kB / 0.8568 GB, free: 21.92 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.994e-06/0.5781, allocations: 0.5312 kB / 0.8568 GB, free: 21.92 MB / 490.8 MB Notification: Performance of Transformations before backend: time 7.164e-06/0.5781, allocations: 2.844 kB / 0.8568 GB, free: 21.92 MB / 490.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0008213/0.579, allocations: 496.6 kB / 0.8573 GB, free: 21.52 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.579, allocations: 8.125 kB / 0.8573 GB, free: 21.52 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.982e-05/0.5791, allocations: 24.83 kB / 0.8573 GB, free: 21.51 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002257/0.5793, allocations: 185.2 kB / 0.8575 GB, free: 21.36 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.5793, allocations: 10.77 kB / 0.8575 GB, free: 21.36 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.324e-05/0.5793, allocations: 23.39 kB / 0.8575 GB, free: 21.35 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003619/0.5797, allocations: 186.2 kB / 0.8577 GB, free: 21.27 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/0.5797, allocations: 0.875 kB / 0.8577 GB, free: 21.27 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.948e-05/0.5797, allocations: 9.344 kB / 0.8577 GB, free: 21.27 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.942e-06/0.5797, allocations: 2.562 kB / 0.8577 GB, free: 21.27 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003457/0.5801, allocations: 145.7 kB / 0.8579 GB, free: 21.23 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008182/0.5809, allocations: 486.8 kB / 0.8583 GB, free: 20.94 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005439/0.5815, allocations: 170.4 kB / 0.8585 GB, free: 20.88 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001814/0.5816, allocations: 102.3 kB / 0.8586 GB, free: 20.84 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/0.5816, allocations: 3.062 kB / 0.8586 GB, free: 20.84 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004087/0.5821, allocations: 225.7 kB / 0.8588 GB, free: 20.7 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.383e-06/0.5821, allocations: 0.5938 kB / 0.8588 GB, free: 20.7 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001381/0.5834, allocations: 0.7064 MB / 0.8595 GB, free: 20.34 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.5835, allocations: 138.4 kB / 0.8596 GB, free: 20.18 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001819/0.5837, allocations: 213.6 kB / 0.8598 GB, free: 20.07 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.5837, allocations: 32.75 kB / 0.8599 GB, free: 20.04 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.591e-05/0.5838, allocations: 135.9 kB / 0.86 GB, free: 19.95 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.475e-05/0.5838, allocations: 68.52 kB / 0.8601 GB, free: 19.91 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.752e-05/0.5839, allocations: 58.09 kB / 0.8601 GB, free: 19.89 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 6.142e-05/0.5839, allocations: 337.7 kB / 0.8604 GB, free: 19.57 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002047/0.5842, allocations: 142.5 kB / 0.8606 GB, free: 19.5 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002334/0.5844, allocations: 227.9 kB / 0.8608 GB, free: 19.33 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003798/0.5848, allocations: 281.2 kB / 0.8611 GB, free: 19.16 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.5848, allocations: 1.844 kB / 0.8611 GB, free: 19.16 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005456/0.5853, allocations: 392.4 kB / 0.8614 GB, free: 18.98 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.157e-05/0.5854, allocations: 60.44 kB / 0.8615 GB, free: 18.92 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.5854, allocations: 5.906 kB / 0.8615 GB, free: 18.92 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.168e-05/0.5854, allocations: 4.406 kB / 0.8615 GB, free: 18.92 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002054/0.5856, allocations: 51.02 kB / 0.8616 GB, free: 18.91 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.5856, allocations: 2.625 kB / 0.8616 GB, free: 18.91 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001903/0.5858, allocations: 23.27 kB / 0.8616 GB, free: 18.91 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.945e-05/0.5858, allocations: 13.5 kB / 0.8616 GB, free: 18.91 MB / 490.8 MB Warning: Assuming fixed start value for the following 1 variables: periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 13 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 2 * 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.0001703/0.586, allocations: 170.4 kB / 0.8618 GB, free: 18.76 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.167e-05/0.586, allocations: 26.55 kB / 0.8618 GB, free: 18.75 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.658e-05/0.5861, allocations: 33.27 kB / 0.8618 GB, free: 18.73 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.5861, allocations: 0 / 0.8618 GB, free: 18.73 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.5861, allocations: 0.75 kB / 0.8618 GB, free: 18.73 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.014e-06/0.5861, allocations: 6.469 kB / 0.8618 GB, free: 18.73 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007015/0.5868, allocations: 0.5356 MB / 0.8623 GB, free: 18.43 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.5868, allocations: 0 / 0.8623 GB, free: 18.43 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001823/0.587, allocations: 43.7 kB / 0.8624 GB, free: 18.43 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.587, allocations: 0 / 0.8624 GB, free: 18.43 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.086e-05/0.587, allocations: 8.062 kB / 0.8624 GB, free: 18.43 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.587, allocations: 6.625 kB / 0.8624 GB, free: 18.42 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.587, allocations: 1.219 kB / 0.8624 GB, free: 18.42 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006687/0.5877, allocations: 499.3 kB / 0.8629 GB, free: 18.18 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.454e-05/0.5877, allocations: 23.61 kB / 0.8629 GB, free: 18.17 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.187e-05/0.5877, allocations: 9.25 kB / 0.8629 GB, free: 18.17 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000162/0.5879, allocations: 13.27 kB / 0.8629 GB, free: 18.17 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.531e-05/0.588, allocations: 27.05 kB / 0.863 GB, free: 18.16 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.516e-05/0.588, allocations: 7.922 kB / 0.863 GB, free: 18.16 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001185/0.5881, allocations: 163 kB / 0.8631 GB, free: 18.08 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.5881, allocations: 0 / 0.8631 GB, free: 18.08 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002901/0.5884, allocations: 53.5 kB / 0.8632 GB, free: 18.08 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass) * Number of discrete variables: 8 ($whenCondition1,$whenCondition2,$whenCondition3,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 6 (periodicDose.pulse.count,central.Cmin,$whenCondition3,central.Cmax,$whenCondition2,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.0001264/0.5885, allocations: 114.6 kB / 0.8633 GB, free: 17.99 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005338/0.5891, allocations: 388.4 kB / 0.8636 GB, free: 17.76 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.5891, allocations: 0.6875 kB / 0.8636 GB, free: 17.76 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002126/0.5893, allocations: 174.1 kB / 0.8638 GB, free: 17.66 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004715/0.5898, allocations: 69.27 kB / 0.8639 GB, free: 17.66 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001249/0.591, allocations: 0.6738 MB / 0.8645 GB, free: 17.35 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001295/0.5911, allocations: 127.6 kB / 0.8647 GB, free: 17.27 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001158/0.5913, allocations: 24.72 kB / 0.8647 GB, free: 17.27 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.281e-05/0.5913, allocations: 24.23 kB / 0.8647 GB, free: 17.26 MB / 490.8 MB Notification: Performance of SimCode: time 3.91e-07/0.5913, allocations: 0 / 0.8647 GB, free: 17.26 MB / 490.8 MB Notification: Performance of Templates: time 0.009411/0.6007, allocations: 3.641 MB / 0.8683 GB, free: 16.93 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB03_Gentamicin.Gentamicin.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB03_Gentamicin.Gentamicin.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB03_Gentamicin.Gentamicin.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB03_Gentamicin.Gentamicin.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB03_Gentamicin.Gentamicin.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB03_Gentamicin.Gentamicin -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB03_Gentamicin.Gentamicin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.032754279207438]