Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DB04_Cefazolin.Cefazolin_Santavy2023_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.002595/0.002595, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.005769/0.005769, allocations: 215.6 kB / 22.25 MB, free: 3.566 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.732/1.732, allocations: 230.6 MB / 256 MB, free: 9.621 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.382/1.382, allocations: 316.7 MB / 0.6144 GB, free: 93.55 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.J01D_OtherBetaLactamAntibacterials.J01DB04_Cefazolin.Cefazolin_Santavy2023_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=1468800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DB04_Cefazolin.Cefazolin_Santavy2023_reference") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DB04_Cefazolin.Cefazolin_Santavy2023_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=1468800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DB04_Cefazolin.Cefazolin_Santavy2023_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.0039/0.0039, allocations: 78.06 kB / 0.775 GB, free: 14.99 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2455/0.2494, allocations: 73.98 MB / 0.8472 GB, free: 5.141 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DB04_Cefazolin.Cefazolin_Santavy2023_reference): time 0.00449/0.2539, allocations: 2.301 MB / 0.8495 GB, free: 2.84 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3845/0.6384, allocations: 6.525 MB / 0.8558 GB, free: 21.66 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002589/0.6387, allocations: 3.156 kB / 0.8558 GB, free: 21.66 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001554/0.6389, allocations: 24.08 kB / 0.8559 GB, free: 21.66 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002489/0.6391, allocations: 80.53 kB / 0.8559 GB, free: 21.66 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002398/0.6393, allocations: 54.52 kB / 0.856 GB, free: 21.66 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002798/0.6396, allocations: 259.9 kB / 0.8562 GB, free: 21.64 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001447/0.6398, allocations: 39.66 kB / 0.8563 GB, free: 21.63 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001272/0.6399, allocations: 98.8 kB / 0.8564 GB, free: 21.62 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002177/0.6401, allocations: 98.98 kB / 0.8565 GB, free: 21.59 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.656e-05/0.6401, allocations: 16.12 kB / 0.8565 GB, free: 21.59 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.077e-05/0.6402, allocations: 18.41 kB / 0.8565 GB, free: 21.59 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.175e-05/0.6402, allocations: 39.41 kB / 0.8565 GB, free: 21.58 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001055/0.6403, allocations: 95.05 kB / 0.8566 GB, free: 21.55 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002431/0.6406, allocations: 196.2 kB / 0.8568 GB, free: 21.53 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.6406, allocations: 1.812 kB / 0.8568 GB, free: 21.53 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.583e-06/0.6406, allocations: 0 / 0.8568 GB, free: 21.53 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.6406, allocations: 1.219 kB / 0.8568 GB, free: 21.53 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.0008128/0.6414, allocations: 491.9 kB / 0.8573 GB, free: 21.13 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.6415, allocations: 10.59 kB / 0.8573 GB, free: 21.13 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.756e-05/0.6415, allocations: 24.45 kB / 0.8573 GB, free: 21.12 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002236/0.6417, allocations: 187.2 kB / 0.8575 GB, free: 20.96 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.6417, allocations: 9.484 kB / 0.8575 GB, free: 20.96 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.061e-05/0.6418, allocations: 30.48 kB / 0.8575 GB, free: 20.95 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000355/0.6421, allocations: 186 kB / 0.8577 GB, free: 20.87 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/0.6422, allocations: 4.375 kB / 0.8577 GB, free: 20.87 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.816e-05/0.6422, allocations: 3 kB / 0.8577 GB, free: 20.87 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.6422, allocations: 3.281 kB / 0.8577 GB, free: 20.87 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003359/0.6425, allocations: 150.9 kB / 0.8579 GB, free: 20.84 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00073/0.6433, allocations: 478 kB / 0.8583 GB, free: 20.54 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004758/0.6437, allocations: 180.1 kB / 0.8585 GB, free: 20.48 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001702/0.6439, allocations: 89.53 kB / 0.8586 GB, free: 20.45 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.6439, allocations: 10.38 kB / 0.8586 GB, free: 20.44 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003311/0.6442, allocations: 228 kB / 0.8588 GB, free: 20.3 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.693e-06/0.6442, allocations: 0.625 kB / 0.8588 GB, free: 20.3 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001399/0.6456, allocations: 0.6988 MB / 0.8595 GB, free: 19.94 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.476e-05/0.6457, allocations: 134.5 kB / 0.8596 GB, free: 19.79 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002016/0.6459, allocations: 216.7 kB / 0.8598 GB, free: 19.68 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/0.6459, allocations: 31.17 kB / 0.8599 GB, free: 19.65 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.679e-05/0.646, allocations: 135 kB / 0.86 GB, free: 19.55 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.411e-05/0.646, allocations: 71.02 kB / 0.8601 GB, free: 19.51 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.366e-05/0.6461, allocations: 56.64 kB / 0.8601 GB, free: 19.49 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 7.136e-05/0.6462, allocations: 336.5 kB / 0.8604 GB, free: 19.18 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002112/0.6464, allocations: 143.8 kB / 0.8606 GB, free: 19.1 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002322/0.6466, allocations: 227 kB / 0.8608 GB, free: 18.93 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003581/0.647, allocations: 281.3 kB / 0.8611 GB, free: 18.77 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.647, allocations: 2.438 kB / 0.8611 GB, free: 18.77 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005226/0.6475, allocations: 392.6 kB / 0.8614 GB, free: 18.58 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.249e-05/0.6476, allocations: 62.11 kB / 0.8615 GB, free: 18.52 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/0.6476, allocations: 6.125 kB / 0.8615 GB, free: 18.52 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.6476, allocations: 9.094 kB / 0.8615 GB, free: 18.52 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001996/0.6478, allocations: 46.78 kB / 0.8616 GB, free: 18.51 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.6478, allocations: 7.703 kB / 0.8616 GB, free: 18.51 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001794/0.648, allocations: 15.17 kB / 0.8616 GB, free: 18.51 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.648, allocations: 14 kB / 0.8616 GB, free: 18.51 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.0001749/0.6482, allocations: 176.8 kB / 0.8618 GB, free: 18.36 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.034e-05/0.6482, allocations: 20.39 kB / 0.8618 GB, free: 18.35 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.689e-05/0.6483, allocations: 34.11 kB / 0.8618 GB, free: 18.33 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.6483, allocations: 0 / 0.8618 GB, free: 18.33 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.6483, allocations: 4.562 kB / 0.8618 GB, free: 18.33 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.6483, allocations: 0.5625 kB / 0.8618 GB, free: 18.33 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007136/0.649, allocations: 0.5373 MB / 0.8623 GB, free: 18.03 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.649, allocations: 0 / 0.8623 GB, free: 18.03 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001773/0.6492, allocations: 39.11 kB / 0.8624 GB, free: 18.03 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.6492, allocations: 4.094 kB / 0.8624 GB, free: 18.03 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.934e-05/0.6492, allocations: 7.906 kB / 0.8624 GB, free: 18.03 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.6492, allocations: 5.25 kB / 0.8624 GB, free: 18.02 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.6492, allocations: 0.5938 kB / 0.8624 GB, free: 18.02 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006543/0.6498, allocations: 0.4922 MB / 0.8629 GB, free: 17.78 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.521e-05/0.6499, allocations: 21.77 kB / 0.8629 GB, free: 17.77 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.027e-05/0.6499, allocations: 8.875 kB / 0.8629 GB, free: 17.77 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001587/0.6501, allocations: 12.34 kB / 0.8629 GB, free: 17.77 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.989e-05/0.6502, allocations: 23.58 kB / 0.8629 GB, free: 17.77 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/0.6502, allocations: 6.625 kB / 0.8629 GB, free: 17.77 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001184/0.6503, allocations: 166.2 kB / 0.8631 GB, free: 17.69 MB / 490.8 MB Notification: Performance of sort global known variables: time 8.1e-08/0.6503, allocations: 0.6875 kB / 0.8631 GB, free: 17.69 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002866/0.6506, allocations: 52.28 kB / 0.8632 GB, free: 17.69 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.0001283/0.6507, allocations: 120.6 kB / 0.8633 GB, free: 17.59 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0007005/0.6514, allocations: 387.5 kB / 0.8636 GB, free: 17.36 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.6514, allocations: 0 / 0.8636 GB, free: 17.36 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000298/0.6517, allocations: 172.2 kB / 0.8638 GB, free: 17.26 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006494/0.6524, allocations: 69.58 kB / 0.8639 GB, free: 17.25 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001513/0.6539, allocations: 0.6779 MB / 0.8645 GB, free: 16.95 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001331/0.654, allocations: 127.5 kB / 0.8646 GB, free: 16.87 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001336/0.6541, allocations: 21.22 kB / 0.8647 GB, free: 16.87 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.792e-05/0.6542, allocations: 23.73 kB / 0.8647 GB, free: 16.86 MB / 490.8 MB Notification: Performance of SimCode: time 3.61e-07/0.6542, allocations: 0 / 0.8647 GB, free: 16.86 MB / 490.8 MB Notification: Performance of Templates: time 0.02249/0.6767, allocations: 3.646 MB / 0.8683 GB, free: 16.54 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DB04_Cefazolin.Cefazolin_Santavy2023_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DB04_Cefazolin.Cefazolin_Santavy2023_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DB04_Cefazolin.Cefazolin_Santavy2023_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DB04_Cefazolin.Cefazolin_Santavy2023_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DB04_Cefazolin.Cefazolin_Santavy2023_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DB04_Cefazolin.Cefazolin_Santavy2023_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DB04_Cefazolin.Cefazolin_Santavy2023_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.315908023156226]