Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA02_Spiramycin.Spiramycin_Elazab2021_iv.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.001869/0.001869, 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.003236/0.003236, 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.7/1.7, allocations: 230.6 MB / 256 MB, free: 9.586 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.449/1.449, allocations: 316.7 MB / 0.6144 GB, free: 93.11 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.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA02_Spiramycin.Spiramycin_Elazab2021_iv,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA02_Spiramycin.Spiramycin_Elazab2021_iv") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA02_Spiramycin.Spiramycin_Elazab2021_iv,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA02_Spiramycin.Spiramycin_Elazab2021_iv") [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.00508/0.00508, allocations: 74.09 kB / 0.775 GB, free: 14.78 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1875/0.1926, allocations: 73.99 MB / 0.8472 GB, free: 4.926 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA02_Spiramycin.Spiramycin_Elazab2021_iv): time 0.00439/0.197, allocations: 2.285 MB / 0.8495 GB, free: 2.641 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3309/0.5279, allocations: 6.524 MB / 0.8558 GB, free: 21.93 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002703/0.5282, allocations: 0 / 0.8558 GB, free: 21.93 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001696/0.5284, allocations: 28.64 kB / 0.8559 GB, free: 21.93 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000253/0.5286, allocations: 81.34 kB / 0.8559 GB, free: 21.93 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002526/0.5289, allocations: 55.75 kB / 0.856 GB, free: 21.93 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002801/0.5292, allocations: 256.5 kB / 0.8562 GB, free: 21.9 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001549/0.5293, allocations: 36.83 kB / 0.8563 GB, free: 21.9 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001383/0.5295, allocations: 103 kB / 0.8564 GB, free: 21.88 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000219/0.5297, allocations: 97.98 kB / 0.8565 GB, free: 21.86 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.621e-05/0.5297, allocations: 16.94 kB / 0.8565 GB, free: 21.86 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.08e-05/0.5298, allocations: 18.81 kB / 0.8565 GB, free: 21.86 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.03e-05/0.5298, allocations: 33.19 kB / 0.8565 GB, free: 21.85 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.000108/0.5299, allocations: 99.28 kB / 0.8566 GB, free: 21.82 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002744/0.5302, allocations: 199 kB / 0.8568 GB, free: 21.79 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.5302, allocations: 0 / 0.8568 GB, free: 21.79 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.044e-06/0.5302, allocations: 0 / 0.8568 GB, free: 21.79 MB / 490.8 MB Notification: Performance of Transformations before backend: time 7.934e-06/0.5302, allocations: 0 / 0.8568 GB, free: 21.79 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.0008708/0.5311, allocations: 498.4 kB / 0.8573 GB, free: 21.39 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.5311, allocations: 10 kB / 0.8573 GB, free: 21.39 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.23e-05/0.5312, allocations: 23.89 kB / 0.8573 GB, free: 21.38 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002469/0.5314, allocations: 186.6 kB / 0.8575 GB, free: 21.23 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.5314, allocations: 7.047 kB / 0.8575 GB, free: 21.23 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.558e-05/0.5315, allocations: 25.55 kB / 0.8575 GB, free: 21.22 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003797/0.5319, allocations: 189.5 kB / 0.8577 GB, free: 21.14 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.79e-05/0.5319, allocations: 0 / 0.8577 GB, free: 21.14 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.06e-05/0.5319, allocations: 6.078 kB / 0.8577 GB, free: 21.14 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/0.5319, allocations: 3.031 kB / 0.8577 GB, free: 21.14 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003466/0.5322, allocations: 152 kB / 0.8579 GB, free: 21.11 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008275/0.5331, allocations: 483.1 kB / 0.8583 GB, free: 20.81 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005195/0.5336, allocations: 172.5 kB / 0.8585 GB, free: 20.75 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001689/0.5338, allocations: 90.03 kB / 0.8586 GB, free: 20.71 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.435e-05/0.5338, allocations: 6.906 kB / 0.8586 GB, free: 20.71 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003383/0.5341, allocations: 226.9 kB / 0.8588 GB, free: 20.57 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.883e-06/0.5341, allocations: 3.375 kB / 0.8588 GB, free: 20.57 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001411/0.5355, allocations: 0.7012 MB / 0.8595 GB, free: 20.21 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.071e-05/0.5356, allocations: 139.7 kB / 0.8596 GB, free: 20.05 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001903/0.5358, allocations: 217 kB / 0.8598 GB, free: 19.95 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.5358, allocations: 34.39 kB / 0.8599 GB, free: 19.91 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.379e-05/0.5359, allocations: 132.7 kB / 0.86 GB, free: 19.82 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.796e-05/0.5359, allocations: 72.48 kB / 0.8601 GB, free: 19.78 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.11e-05/0.536, allocations: 55.52 kB / 0.8601 GB, free: 19.76 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 6.88e-05/0.5361, allocations: 333 kB / 0.8604 GB, free: 19.44 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002191/0.5363, allocations: 147.6 kB / 0.8606 GB, free: 19.37 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002439/0.5365, allocations: 225.2 kB / 0.8608 GB, free: 19.2 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003771/0.5369, allocations: 274.3 kB / 0.8611 GB, free: 19.04 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.5369, allocations: 4.562 kB / 0.8611 GB, free: 19.04 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005854/0.5375, allocations: 393.2 kB / 0.8614 GB, free: 18.86 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.044e-05/0.5375, allocations: 59.84 kB / 0.8615 GB, free: 18.79 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.824e-06/0.5375, allocations: 7 kB / 0.8615 GB, free: 18.79 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.29e-05/0.5376, allocations: 4.781 kB / 0.8615 GB, free: 18.79 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002085/0.5378, allocations: 55.17 kB / 0.8616 GB, free: 18.79 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.5378, allocations: 3.344 kB / 0.8616 GB, free: 18.79 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000176/0.538, allocations: 15.77 kB / 0.8616 GB, free: 18.79 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.389e-05/0.538, allocations: 14.56 kB / 0.8616 GB, free: 18.79 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.0002044/0.5382, allocations: 181.8 kB / 0.8618 GB, free: 18.63 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.879e-05/0.5382, allocations: 27.3 kB / 0.8618 GB, free: 18.62 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.042e-05/0.5383, allocations: 29.73 kB / 0.8618 GB, free: 18.61 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.5383, allocations: 0.5625 kB / 0.8618 GB, free: 18.61 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.5383, allocations: 0.625 kB / 0.8618 GB, free: 18.61 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.5383, allocations: 5.344 kB / 0.8618 GB, free: 18.6 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007234/0.539, allocations: 0.5377 MB / 0.8623 GB, free: 18.3 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.539, allocations: 0.625 kB / 0.8623 GB, free: 18.3 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001813/0.5392, allocations: 43.97 kB / 0.8624 GB, free: 18.3 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.716e-06/0.5392, allocations: 0.5625 kB / 0.8624 GB, free: 18.3 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.81e-05/0.5392, allocations: 3.625 kB / 0.8624 GB, free: 18.3 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.5392, allocations: 9.562 kB / 0.8624 GB, free: 18.29 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.5392, allocations: 0.5938 kB / 0.8624 GB, free: 18.29 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007163/0.5399, allocations: 0.493 MB / 0.8629 GB, free: 18.05 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.321e-05/0.54, allocations: 20.59 kB / 0.8629 GB, free: 18.04 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.383e-05/0.54, allocations: 7.203 kB / 0.8629 GB, free: 18.04 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001642/0.5402, allocations: 15.11 kB / 0.8629 GB, free: 18.04 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/0.5403, allocations: 26.52 kB / 0.8629 GB, free: 18.04 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.577e-05/0.5403, allocations: 7.781 kB / 0.863 GB, free: 18.04 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001332/0.5404, allocations: 159.9 kB / 0.8631 GB, free: 17.96 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.5404, allocations: 3.938 kB / 0.8631 GB, free: 17.95 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002904/0.5407, allocations: 55.47 kB / 0.8632 GB, free: 17.95 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.0001304/0.5409, allocations: 113.6 kB / 0.8633 GB, free: 17.86 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005775/0.5414, allocations: 388.2 kB / 0.8636 GB, free: 17.63 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.5414, allocations: 0 / 0.8636 GB, free: 17.63 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002447/0.5417, allocations: 170.5 kB / 0.8638 GB, free: 17.53 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004801/0.5422, allocations: 65.23 kB / 0.8639 GB, free: 17.53 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001332/0.5435, allocations: 0.6786 MB / 0.8645 GB, free: 17.22 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001524/0.5436, allocations: 123.3 kB / 0.8646 GB, free: 17.15 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001179/0.5438, allocations: 25.81 kB / 0.8647 GB, free: 17.14 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.251e-05/0.5438, allocations: 21.25 kB / 0.8647 GB, free: 17.14 MB / 490.8 MB Notification: Performance of SimCode: time 4.61e-07/0.5438, allocations: 0 / 0.8647 GB, free: 17.14 MB / 490.8 MB Notification: Performance of Templates: time 0.009892/0.5537, allocations: 3.654 MB / 0.8683 GB, free: 16.81 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA02_Spiramycin.Spiramycin_Elazab2021_iv.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA02_Spiramycin.Spiramycin_Elazab2021_iv.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA02_Spiramycin.Spiramycin_Elazab2021_iv.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA02_Spiramycin.Spiramycin_Elazab2021_iv.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA02_Spiramycin.Spiramycin_Elazab2021_iv.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA02_Spiramycin.Spiramycin_Elazab2021_iv -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA02_Spiramycin.Spiramycin_Elazab2021_iv.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.651242196094245]