Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA13_Eravacycline.Eravacycline_Zhanel2016_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.002412/0.002412, 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.002901/0.002901, allocations: 211.6 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.879/1.879, allocations: 230.6 MB / 256 MB, free: 9.582 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.437/1.437, allocations: 316.7 MB / 0.6144 GB, free: 92.88 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.J01AA13_Eravacycline.Eravacycline_Zhanel2016_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=864000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA13_Eravacycline.Eravacycline_Zhanel2016_reference") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA13_Eravacycline.Eravacycline_Zhanel2016_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=864000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA13_Eravacycline.Eravacycline_Zhanel2016_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.003793/0.003793, allocations: 73.61 kB / 0.775 GB, free: 14.81 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1839/0.1877, allocations: 73.99 MB / 0.8472 GB, free: 4.953 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA13_Eravacycline.Eravacycline_Zhanel2016_reference): time 0.005226/0.1929, allocations: 2.312 MB / 0.8495 GB, free: 2.645 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3525/0.5455, allocations: 6.522 MB / 0.8558 GB, free: 21.87 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002821/0.5457, allocations: 3.281 kB / 0.8558 GB, free: 21.87 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001676/0.5459, allocations: 27.47 kB / 0.8559 GB, free: 21.87 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002746/0.5462, allocations: 87.48 kB / 0.8559 GB, free: 21.87 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002601/0.5464, allocations: 51.02 kB / 0.856 GB, free: 21.87 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.000334/0.5468, allocations: 256.1 kB / 0.8562 GB, free: 21.85 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001553/0.5469, allocations: 34.77 kB / 0.8563 GB, free: 21.84 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001351/0.5471, allocations: 99.69 kB / 0.8564 GB, free: 21.83 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002168/0.5473, allocations: 99.48 kB / 0.8565 GB, free: 21.81 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.798e-05/0.5473, allocations: 17.06 kB / 0.8565 GB, free: 21.81 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.839e-05/0.5474, allocations: 17.25 kB / 0.8565 GB, free: 21.81 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.453e-05/0.5474, allocations: 35.09 kB / 0.8565 GB, free: 21.8 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001032/0.5475, allocations: 95.81 kB / 0.8566 GB, free: 21.77 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002623/0.5478, allocations: 199 kB / 0.8568 GB, free: 21.74 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.5478, allocations: 0 / 0.8568 GB, free: 21.74 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.495e-06/0.5478, allocations: 0 / 0.8568 GB, free: 21.74 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.792e-06/0.5478, allocations: 0 / 0.8568 GB, free: 21.74 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.000828/0.5486, allocations: 0.4904 MB / 0.8573 GB, free: 21.34 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.5486, allocations: 8.312 kB / 0.8573 GB, free: 21.34 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.767e-05/0.5487, allocations: 24.33 kB / 0.8573 GB, free: 21.33 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002253/0.5489, allocations: 183.6 kB / 0.8575 GB, free: 21.18 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.5489, allocations: 10.83 kB / 0.8575 GB, free: 21.18 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.355e-05/0.549, allocations: 27.52 kB / 0.8575 GB, free: 21.17 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003678/0.5494, allocations: 189.1 kB / 0.8577 GB, free: 21.09 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.5494, allocations: 0.5312 kB / 0.8577 GB, free: 21.09 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.8e-05/0.5494, allocations: 6.688 kB / 0.8577 GB, free: 21.09 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.5494, allocations: 4.422 kB / 0.8577 GB, free: 21.09 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003239/0.5497, allocations: 146.3 kB / 0.8579 GB, free: 21.05 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007288/0.5505, allocations: 484.2 kB / 0.8583 GB, free: 20.76 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004632/0.5509, allocations: 171.5 kB / 0.8585 GB, free: 20.7 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001686/0.5511, allocations: 103.5 kB / 0.8586 GB, free: 20.66 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.205e-05/0.5511, allocations: 1.844 kB / 0.8586 GB, free: 20.66 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003363/0.5514, allocations: 221.7 kB / 0.8588 GB, free: 20.52 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 2.164e-06/0.5514, allocations: 0.625 kB / 0.8588 GB, free: 20.52 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001361/0.5528, allocations: 0.7064 MB / 0.8595 GB, free: 20.16 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/0.5528, allocations: 135.3 kB / 0.8596 GB, free: 20 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001954/0.553, allocations: 216.5 kB / 0.8598 GB, free: 19.89 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/0.5531, allocations: 32.42 kB / 0.8599 GB, free: 19.86 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.934e-05/0.5531, allocations: 131.9 kB / 0.86 GB, free: 19.77 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.744e-05/0.5532, allocations: 75.05 kB / 0.8601 GB, free: 19.73 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.224e-05/0.5533, allocations: 54.83 kB / 0.8601 GB, free: 19.71 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 6.24e-05/0.5533, allocations: 334.9 kB / 0.8604 GB, free: 19.39 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002073/0.5535, allocations: 149.1 kB / 0.8606 GB, free: 19.32 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002191/0.5538, allocations: 224.5 kB / 0.8608 GB, free: 19.15 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003508/0.5541, allocations: 280.9 kB / 0.861 GB, free: 18.98 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.5541, allocations: 2.062 kB / 0.8611 GB, free: 18.98 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005388/0.5547, allocations: 388 kB / 0.8614 GB, free: 18.8 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.39e-05/0.5547, allocations: 63.42 kB / 0.8615 GB, free: 18.74 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/0.5547, allocations: 6.625 kB / 0.8615 GB, free: 18.74 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/0.5547, allocations: 3.531 kB / 0.8615 GB, free: 18.74 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002069/0.5549, allocations: 52.56 kB / 0.8615 GB, free: 18.73 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.555, allocations: 3.938 kB / 0.8615 GB, free: 18.73 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001696/0.5551, allocations: 25.5 kB / 0.8616 GB, free: 18.73 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.024e-05/0.5551, allocations: 9.406 kB / 0.8616 GB, free: 18.73 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.00017/0.5553, allocations: 173.4 kB / 0.8617 GB, free: 18.58 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.212e-05/0.5553, allocations: 26.8 kB / 0.8618 GB, free: 18.57 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.662e-05/0.5554, allocations: 30.38 kB / 0.8618 GB, free: 18.55 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.5554, allocations: 0.7812 kB / 0.8618 GB, free: 18.55 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.5554, allocations: 2.469 kB / 0.8618 GB, free: 18.55 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.88e-06/0.5554, allocations: 1.812 kB / 0.8618 GB, free: 18.55 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000694/0.5561, allocations: 0.5396 MB / 0.8623 GB, free: 18.25 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.5561, allocations: 3.938 kB / 0.8623 GB, free: 18.25 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001759/0.5563, allocations: 39.41 kB / 0.8624 GB, free: 18.25 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.5563, allocations: 0.5 kB / 0.8624 GB, free: 18.25 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.995e-05/0.5563, allocations: 12.73 kB / 0.8624 GB, free: 18.24 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.5563, allocations: 6.312 kB / 0.8624 GB, free: 18.24 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.5563, allocations: 0.875 kB / 0.8624 GB, free: 18.24 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006628/0.557, allocations: 499 kB / 0.8629 GB, free: 18 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.875e-05/0.557, allocations: 22.59 kB / 0.8629 GB, free: 17.98 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.061e-05/0.5571, allocations: 10.12 kB / 0.8629 GB, free: 17.98 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001638/0.5572, allocations: 15.5 kB / 0.8629 GB, free: 17.98 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.361e-05/0.5573, allocations: 24.14 kB / 0.8629 GB, free: 17.98 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.5573, allocations: 5.078 kB / 0.8629 GB, free: 17.98 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001134/0.5574, allocations: 163 kB / 0.8631 GB, free: 17.9 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.5574, allocations: 0 / 0.8631 GB, free: 17.9 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002807/0.5577, allocations: 57.44 kB / 0.8632 GB, free: 17.9 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.000117/0.5578, allocations: 111.6 kB / 0.8633 GB, free: 17.81 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005351/0.5584, allocations: 380.5 kB / 0.8636 GB, free: 17.58 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.5584, allocations: 2.031 kB / 0.8636 GB, free: 17.58 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002272/0.5586, allocations: 172.2 kB / 0.8638 GB, free: 17.48 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004656/0.5591, allocations: 68.2 kB / 0.8639 GB, free: 17.48 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001306/0.5604, allocations: 0.6784 MB / 0.8645 GB, free: 17.17 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001231/0.5605, allocations: 127.8 kB / 0.8646 GB, free: 17.09 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001087/0.5606, allocations: 30.47 kB / 0.8647 GB, free: 17.09 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.275e-05/0.5607, allocations: 21.48 kB / 0.8647 GB, free: 17.08 MB / 490.8 MB Notification: Performance of SimCode: time 5.51e-07/0.5607, allocations: 0 / 0.8647 GB, free: 17.08 MB / 490.8 MB Notification: Performance of Templates: time 0.008992/0.5697, allocations: 3.635 MB / 0.8682 GB, free: 16.76 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA13_Eravacycline.Eravacycline_Zhanel2016_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA13_Eravacycline.Eravacycline_Zhanel2016_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA13_Eravacycline.Eravacycline_Zhanel2016_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA13_Eravacycline.Eravacycline_Zhanel2016_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA13_Eravacycline.Eravacycline_Zhanel2016_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA13_Eravacycline.Eravacycline_Zhanel2016_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA13_Eravacycline.Eravacycline_Zhanel2016_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.731138580944389]