Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA08_Minocycline.Minocycline.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.001865/0.001865, allocations: 105.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.001981/0.001981, allocations: 221.1 kB / 22.25 MB, free: 3.586 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.61/1.61, allocations: 230.6 MB / 256 MB, free: 9.598 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.43/1.43, allocations: 316.7 MB / 0.6144 GB, free: 93.16 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.J01A_Tetracyclines.J01AA08_Minocycline.Minocycline,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA08_Minocycline.Minocycline") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA08_Minocycline.Minocycline,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA08_Minocycline.Minocycline") [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.004006/0.004006, allocations: 69.27 kB / 0.775 GB, free: 14.75 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1544, allocations: 73.99 MB / 0.8472 GB, free: 4.902 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA08_Minocycline.Minocycline): time 0.005061/0.1595, allocations: 2.305 MB / 0.8495 GB, free: 2.598 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3036/0.463, allocations: 6.526 MB / 0.8559 GB, free: 21.86 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002476/0.4633, allocations: 0.9375 kB / 0.8559 GB, free: 21.86 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001592/0.4634, allocations: 23.3 kB / 0.8559 GB, free: 21.86 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002789/0.4637, allocations: 88.62 kB / 0.856 GB, free: 21.86 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002205/0.4639, allocations: 51.81 kB / 0.856 GB, free: 21.86 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002823/0.4642, allocations: 261.9 kB / 0.8563 GB, free: 21.82 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001407/0.4644, allocations: 37.77 kB / 0.8563 GB, free: 21.82 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001488/0.4645, allocations: 99.17 kB / 0.8564 GB, free: 21.81 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002201/0.4647, allocations: 94.64 kB / 0.8565 GB, free: 21.79 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.549e-05/0.4648, allocations: 16.62 kB / 0.8565 GB, free: 21.79 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.139e-05/0.4648, allocations: 17.97 kB / 0.8565 GB, free: 21.79 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.518e-05/0.4648, allocations: 34.38 kB / 0.8565 GB, free: 21.78 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 9.631e-05/0.4649, allocations: 96.97 kB / 0.8566 GB, free: 21.75 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002488/0.4652, allocations: 199.2 kB / 0.8568 GB, free: 21.72 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.4652, allocations: 0 / 0.8568 GB, free: 21.72 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.162e-06/0.4652, allocations: 0 / 0.8568 GB, free: 21.72 MB / 490.8 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.4652, allocations: 3.5 kB / 0.8568 GB, free: 21.72 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.000827/0.466, allocations: 497.9 kB / 0.8573 GB, free: 21.32 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.4661, allocations: 10.22 kB / 0.8573 GB, free: 21.32 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.408e-05/0.4661, allocations: 24.48 kB / 0.8573 GB, free: 21.31 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002354/0.4664, allocations: 181.8 kB / 0.8575 GB, free: 21.15 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.179e-05/0.4664, allocations: 13.05 kB / 0.8575 GB, free: 21.15 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.13e-05/0.4664, allocations: 19.92 kB / 0.8575 GB, free: 21.14 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003669/0.4668, allocations: 190.9 kB / 0.8577 GB, free: 21.07 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.016e-05/0.4668, allocations: 1.188 kB / 0.8577 GB, free: 21.07 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.194e-05/0.4668, allocations: 9.812 kB / 0.8577 GB, free: 21.07 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.094e-06/0.4669, allocations: 1.406 kB / 0.8577 GB, free: 21.07 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003439/0.4672, allocations: 150.4 kB / 0.8579 GB, free: 21.03 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007451/0.4679, allocations: 478 kB / 0.8583 GB, free: 20.73 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005062/0.4685, allocations: 178 kB / 0.8585 GB, free: 20.68 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001691/0.4686, allocations: 94.8 kB / 0.8586 GB, free: 20.64 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.28e-05/0.4686, allocations: 0.5938 kB / 0.8586 GB, free: 20.64 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003177/0.469, allocations: 233 kB / 0.8588 GB, free: 20.49 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.483e-06/0.469, allocations: 0.625 kB / 0.8588 GB, free: 20.49 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001341/0.4703, allocations: 0.6998 MB / 0.8595 GB, free: 20.13 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.38e-05/0.4703, allocations: 140.3 kB / 0.8596 GB, free: 19.98 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001982/0.4705, allocations: 220.9 kB / 0.8598 GB, free: 19.87 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.4706, allocations: 32.86 kB / 0.8599 GB, free: 19.84 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.987e-05/0.4706, allocations: 131.6 kB / 0.86 GB, free: 19.74 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.707e-05/0.4707, allocations: 72.09 kB / 0.8601 GB, free: 19.7 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.297e-05/0.4708, allocations: 56.25 kB / 0.8601 GB, free: 19.68 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 6.979e-05/0.4709, allocations: 336.6 kB / 0.8604 GB, free: 19.36 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002252/0.4711, allocations: 144.7 kB / 0.8606 GB, free: 19.29 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002565/0.4713, allocations: 221 kB / 0.8608 GB, free: 19.12 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000426/0.4718, allocations: 284.6 kB / 0.8611 GB, free: 18.96 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.4718, allocations: 1.5 kB / 0.8611 GB, free: 18.96 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000561/0.4723, allocations: 388.7 kB / 0.8614 GB, free: 18.78 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.871e-05/0.4724, allocations: 65.66 kB / 0.8615 GB, free: 18.71 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.4724, allocations: 6.125 kB / 0.8615 GB, free: 18.71 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.079e-05/0.4724, allocations: 6 kB / 0.8615 GB, free: 18.71 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002029/0.4726, allocations: 48.61 kB / 0.8616 GB, free: 18.71 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/0.4726, allocations: 3.938 kB / 0.8616 GB, free: 18.71 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001786/0.4728, allocations: 21.75 kB / 0.8616 GB, free: 18.71 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.157e-05/0.4728, allocations: 7.438 kB / 0.8616 GB, free: 18.71 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.0001697/0.473, allocations: 178.8 kB / 0.8618 GB, free: 18.55 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.194e-05/0.473, allocations: 22.83 kB / 0.8618 GB, free: 18.54 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.97e-05/0.4731, allocations: 30.7 kB / 0.8618 GB, free: 18.53 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.4731, allocations: 2.125 kB / 0.8618 GB, free: 18.53 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.4731, allocations: 1.781 kB / 0.8618 GB, free: 18.53 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.4731, allocations: 0.5 kB / 0.8618 GB, free: 18.53 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006954/0.4738, allocations: 0.5459 MB / 0.8624 GB, free: 18.23 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.4738, allocations: 3.938 kB / 0.8624 GB, free: 18.22 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001821/0.474, allocations: 40.73 kB / 0.8624 GB, free: 18.21 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.474, allocations: 2.688 kB / 0.8624 GB, free: 18.21 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.935e-05/0.474, allocations: 8.219 kB / 0.8624 GB, free: 18.21 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.474, allocations: 3.938 kB / 0.8624 GB, free: 18.21 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.474, allocations: 1.688 kB / 0.8624 GB, free: 18.21 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006551/0.4746, allocations: 499.1 kB / 0.8629 GB, free: 17.97 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.591e-05/0.4747, allocations: 19.77 kB / 0.8629 GB, free: 17.96 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.028e-05/0.4747, allocations: 7.672 kB / 0.8629 GB, free: 17.96 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001678/0.4749, allocations: 15.06 kB / 0.8629 GB, free: 17.96 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.64e-05/0.475, allocations: 23.83 kB / 0.8629 GB, free: 17.96 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.688e-05/0.475, allocations: 11 kB / 0.863 GB, free: 17.96 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001277/0.4751, allocations: 151.4 kB / 0.8631 GB, free: 17.88 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.4751, allocations: 0 / 0.8631 GB, free: 17.88 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002927/0.4754, allocations: 56.72 kB / 0.8632 GB, free: 17.88 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.0001066/0.4755, allocations: 120.1 kB / 0.8633 GB, free: 17.79 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005257/0.476, allocations: 384.6 kB / 0.8636 GB, free: 17.55 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.476, allocations: 0 / 0.8636 GB, free: 17.55 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002284/0.4763, allocations: 172.5 kB / 0.8638 GB, free: 17.46 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004638/0.4767, allocations: 72.47 kB / 0.8639 GB, free: 17.45 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.4779, allocations: 0.6775 MB / 0.8645 GB, free: 17.14 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001522/0.4781, allocations: 127.4 kB / 0.8647 GB, free: 17.06 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.000107/0.4782, allocations: 24.84 kB / 0.8647 GB, free: 17.06 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.708e-05/0.4783, allocations: 20.86 kB / 0.8647 GB, free: 17.05 MB / 490.8 MB Notification: Performance of SimCode: time 5.31e-07/0.4783, allocations: 0 / 0.8647 GB, free: 17.05 MB / 490.8 MB Notification: Performance of Templates: time 0.008551/0.4868, allocations: 3.639 MB / 0.8683 GB, free: 16.73 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA08_Minocycline.Minocycline.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA08_Minocycline.Minocycline.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA08_Minocycline.Minocycline.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA08_Minocycline.Minocycline.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA08_Minocycline.Minocycline.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA08_Minocycline.Minocycline -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA08_Minocycline.Minocycline.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.474839292932302]