Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01E_SulfonamidesAndTrimethoprim.J01EC01_Sulfamethoxazole.Sulfamethoxazole_Hess1993_reference.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.002407/0.002407, 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.002226/0.002226, allocations: 213.9 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.778/1.778, allocations: 230.6 MB / 256 MB, free: 9.602 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.422/1.422, allocations: 316.7 MB / 0.6144 GB, free: 93.05 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.J01E_SulfonamidesAndTrimethoprim.J01EC01_Sulfamethoxazole.Sulfamethoxazole_Hess1993_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=259200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01E_SulfonamidesAndTrimethoprim.J01EC01_Sulfamethoxazole.Sulfamethoxazole_Hess1993_reference") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01E_SulfonamidesAndTrimethoprim.J01EC01_Sulfamethoxazole.Sulfamethoxazole_Hess1993_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=259200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01E_SulfonamidesAndTrimethoprim.J01EC01_Sulfamethoxazole.Sulfamethoxazole_Hess1993_reference") [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.003988/0.003988, allocations: 77.31 kB / 0.775 GB, free: 14.76 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.1686, allocations: 73.99 MB / 0.8472 GB, free: 4.918 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01E_SulfonamidesAndTrimethoprim.J01EC01_Sulfamethoxazole.Sulfamethoxazole_Hess1993_reference): time 0.004068/0.1727, allocations: 2.294 MB / 0.8495 GB, free: 2.625 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.2965/0.4692, allocations: 6.526 MB / 0.8558 GB, free: 22 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002553/0.4694, allocations: 1.438 kB / 0.8558 GB, free: 22 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001683/0.4696, allocations: 28.84 kB / 0.8559 GB, free: 22 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002757/0.4699, allocations: 83.84 kB / 0.8559 GB, free: 22 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002359/0.4701, allocations: 49.75 kB / 0.856 GB, free: 22 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002681/0.4704, allocations: 258.3 kB / 0.8562 GB, free: 21.97 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.4705, allocations: 36.17 kB / 0.8563 GB, free: 21.97 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001309/0.4707, allocations: 105.7 kB / 0.8564 GB, free: 21.96 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002049/0.4709, allocations: 94.44 kB / 0.8565 GB, free: 21.94 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.336e-05/0.4709, allocations: 17.12 kB / 0.8565 GB, free: 21.94 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.959e-05/0.4709, allocations: 19.06 kB / 0.8565 GB, free: 21.94 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 3.755e-05/0.471, allocations: 35.03 kB / 0.8565 GB, free: 21.93 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 9.351e-05/0.4711, allocations: 95.48 kB / 0.8566 GB, free: 21.9 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002286/0.4713, allocations: 199.4 kB / 0.8568 GB, free: 21.87 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.4713, allocations: 3.531 kB / 0.8568 GB, free: 21.87 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.262e-06/0.4713, allocations: 0.9688 kB / 0.8568 GB, free: 21.87 MB / 490.8 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.4713, allocations: 0 / 0.8568 GB, free: 21.87 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.0008239/0.4721, allocations: 493.6 kB / 0.8573 GB, free: 21.47 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.4722, allocations: 11.06 kB / 0.8573 GB, free: 21.47 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.532e-05/0.4722, allocations: 23.55 kB / 0.8573 GB, free: 21.46 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000228/0.4725, allocations: 191.7 kB / 0.8575 GB, free: 21.3 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.4725, allocations: 7.453 kB / 0.8575 GB, free: 21.3 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.072e-05/0.4725, allocations: 21.36 kB / 0.8575 GB, free: 21.3 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003614/0.4729, allocations: 190.3 kB / 0.8577 GB, free: 21.22 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/0.4729, allocations: 0.9844 kB / 0.8577 GB, free: 21.22 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.703e-05/0.4729, allocations: 5.906 kB / 0.8577 GB, free: 21.22 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.4729, allocations: 2.656 kB / 0.8577 GB, free: 21.22 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003268/0.4732, allocations: 148 kB / 0.8579 GB, free: 21.18 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007162/0.474, allocations: 482.6 kB / 0.8583 GB, free: 20.89 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004812/0.4744, allocations: 175.5 kB / 0.8585 GB, free: 20.83 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001703/0.4746, allocations: 94.16 kB / 0.8586 GB, free: 20.79 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.445e-05/0.4746, allocations: 6.406 kB / 0.8586 GB, free: 20.79 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000355/0.475, allocations: 227.3 kB / 0.8588 GB, free: 20.64 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.273e-06/0.475, allocations: 0.5 kB / 0.8588 GB, free: 20.64 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001288/0.4763, allocations: 0.7028 MB / 0.8595 GB, free: 20.29 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.367e-05/0.4763, allocations: 139.8 kB / 0.8596 GB, free: 20.13 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001802/0.4765, allocations: 216.7 kB / 0.8598 GB, free: 20.02 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.4765, allocations: 31.67 kB / 0.8599 GB, free: 19.99 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.312e-05/0.4766, allocations: 130.7 kB / 0.86 GB, free: 19.9 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.117e-05/0.4766, allocations: 73.27 kB / 0.8601 GB, free: 19.86 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.415e-05/0.4767, allocations: 53.56 kB / 0.8601 GB, free: 19.84 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 5.73e-05/0.4768, allocations: 340.4 kB / 0.8604 GB, free: 19.52 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002143/0.477, allocations: 143.2 kB / 0.8606 GB, free: 19.45 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002243/0.4772, allocations: 226 kB / 0.8608 GB, free: 19.28 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003697/0.4776, allocations: 279.5 kB / 0.8611 GB, free: 19.11 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.4776, allocations: 1.938 kB / 0.8611 GB, free: 19.11 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005752/0.4781, allocations: 388.5 kB / 0.8614 GB, free: 18.93 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.018e-05/0.4782, allocations: 64.02 kB / 0.8615 GB, free: 18.87 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.4782, allocations: 6.406 kB / 0.8615 GB, free: 18.87 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/0.4782, allocations: 3.375 kB / 0.8615 GB, free: 18.87 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002092/0.4784, allocations: 55 kB / 0.8615 GB, free: 18.86 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.4784, allocations: 2 kB / 0.8615 GB, free: 18.86 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001852/0.4786, allocations: 17.34 kB / 0.8616 GB, free: 18.86 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.088e-05/0.4786, allocations: 13.67 kB / 0.8616 GB, free: 18.86 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.0001609/0.4788, allocations: 175.4 kB / 0.8617 GB, free: 18.71 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.02e-05/0.4788, allocations: 24.27 kB / 0.8618 GB, free: 18.7 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.204e-05/0.4789, allocations: 29.73 kB / 0.8618 GB, free: 18.68 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.4789, allocations: 3.188 kB / 0.8618 GB, free: 18.68 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.4789, allocations: 3.938 kB / 0.8618 GB, free: 18.68 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.4789, allocations: 0.5938 kB / 0.8618 GB, free: 18.68 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006509/0.4795, allocations: 0.5388 MB / 0.8623 GB, free: 18.38 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.4795, allocations: 1.188 kB / 0.8623 GB, free: 18.38 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001815/0.4797, allocations: 39.44 kB / 0.8624 GB, free: 18.38 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.4797, allocations: 5.234 kB / 0.8624 GB, free: 18.38 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.926e-05/0.4797, allocations: 5.5 kB / 0.8624 GB, free: 18.38 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.4798, allocations: 9.062 kB / 0.8624 GB, free: 18.37 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4798, allocations: 1.812 kB / 0.8624 GB, free: 18.37 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006398/0.4804, allocations: 0.4957 MB / 0.8629 GB, free: 18.12 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.2e-05/0.4804, allocations: 17.2 kB / 0.8629 GB, free: 18.11 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.108e-05/0.4805, allocations: 11.67 kB / 0.8629 GB, free: 18.11 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001678/0.4806, allocations: 14.08 kB / 0.8629 GB, free: 18.11 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.95e-05/0.4807, allocations: 21.8 kB / 0.8629 GB, free: 18.11 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.536e-05/0.4807, allocations: 9.531 kB / 0.8629 GB, free: 18.11 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001107/0.4808, allocations: 166.1 kB / 0.8631 GB, free: 18.03 MB / 490.8 MB Notification: Performance of sort global known variables: time 9e-08/0.4808, allocations: 0 / 0.8631 GB, free: 18.03 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002889/0.4811, allocations: 54.25 kB / 0.8632 GB, free: 18.03 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.0001089/0.4812, allocations: 116.1 kB / 0.8633 GB, free: 17.94 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005159/0.4817, allocations: 382.6 kB / 0.8636 GB, free: 17.71 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.4817, allocations: 2.062 kB / 0.8636 GB, free: 17.71 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002385/0.482, allocations: 173.5 kB / 0.8638 GB, free: 17.61 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004751/0.4825, allocations: 62.5 kB / 0.8639 GB, free: 17.61 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0012/0.4837, allocations: 0.6812 MB / 0.8645 GB, free: 17.29 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001134/0.4838, allocations: 126.2 kB / 0.8646 GB, free: 17.21 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001055/0.4839, allocations: 23.09 kB / 0.8647 GB, free: 17.21 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.538e-05/0.4839, allocations: 20.86 kB / 0.8647 GB, free: 17.2 MB / 490.8 MB Notification: Performance of SimCode: time 5.61e-07/0.4839, allocations: 4 kB / 0.8647 GB, free: 17.2 MB / 490.8 MB Notification: Performance of Templates: time 0.008449/0.4924, allocations: 3.654 MB / 0.8683 GB, free: 16.87 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01E_SulfonamidesAndTrimethoprim.J01EC01_Sulfamethoxazole.Sulfamethoxazole_Hess1993_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01E_SulfonamidesAndTrimethoprim.J01EC01_Sulfamethoxazole.Sulfamethoxazole_Hess1993_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01E_SulfonamidesAndTrimethoprim.J01EC01_Sulfamethoxazole.Sulfamethoxazole_Hess1993_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01E_SulfonamidesAndTrimethoprim.J01EC01_Sulfamethoxazole.Sulfamethoxazole_Hess1993_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01E_SulfonamidesAndTrimethoprim.J01EC01_Sulfamethoxazole.Sulfamethoxazole_Hess1993_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01E_SulfonamidesAndTrimethoprim.J01EC01_Sulfamethoxazole.Sulfamethoxazole_Hess1993_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01E_SulfonamidesAndTrimethoprim.J01EC01_Sulfamethoxazole.Sulfamethoxazole_Hess1993_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.927803996950388]