Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DC07_Cefotiam.Cefotiam_Shah2019_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.002562/0.002562, allocations: 105.5 kB / 18.95 MB, free: 1.176 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.002794/0.002794, allocations: 219.6 kB / 22.25 MB, free: 3.559 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.718/1.718, allocations: 230.6 MB / 256 MB, free: 9.609 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.399/1.399, allocations: 316.7 MB / 0.6144 GB, free: 92.99 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.J01DC07_Cefotiam.Cefotiam_Shah2019_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DC07_Cefotiam.Cefotiam_Shah2019_reference") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DC07_Cefotiam.Cefotiam_Shah2019_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DC07_Cefotiam.Cefotiam_Shah2019_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.00379/0.00379, allocations: 79.47 kB / 0.775 GB, free: 14.72 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.1735, allocations: 73.99 MB / 0.8472 GB, free: 4.871 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DC07_Cefotiam.Cefotiam_Shah2019_reference): time 0.00461/0.1781, allocations: 2.304 MB / 0.8495 GB, free: 2.566 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3725/0.5506, allocations: 6.513 MB / 0.8558 GB, free: 21.99 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002273/0.5508, allocations: 2.406 kB / 0.8558 GB, free: 21.99 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001601/0.551, allocations: 28.88 kB / 0.8559 GB, free: 21.99 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002651/0.5512, allocations: 82.72 kB / 0.856 GB, free: 21.99 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002351/0.5515, allocations: 55.92 kB / 0.856 GB, free: 21.99 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002817/0.5517, allocations: 258.1 kB / 0.8563 GB, free: 21.97 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001394/0.5519, allocations: 34.91 kB / 0.8563 GB, free: 21.97 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001582/0.552, allocations: 100.2 kB / 0.8564 GB, free: 21.96 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002341/0.5523, allocations: 97.88 kB / 0.8565 GB, free: 21.93 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.728e-05/0.5523, allocations: 18.09 kB / 0.8565 GB, free: 21.93 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.025e-05/0.5524, allocations: 15.56 kB / 0.8565 GB, free: 21.93 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.367e-05/0.5524, allocations: 44.53 kB / 0.8565 GB, free: 21.92 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001006/0.5525, allocations: 91.33 kB / 0.8566 GB, free: 21.89 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003092/0.5528, allocations: 191.2 kB / 0.8568 GB, free: 21.87 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.5528, allocations: 1.375 kB / 0.8568 GB, free: 21.87 MB / 490.8 MB Notification: Performance of FrontEnd: time 3.817e-06/0.5528, allocations: 7.25 kB / 0.8568 GB, free: 21.86 MB / 490.8 MB Notification: Performance of Transformations before backend: time 1.069e-05/0.5528, allocations: 1.781 kB / 0.8568 GB, free: 21.86 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.001018/0.5538, allocations: 497.6 kB / 0.8573 GB, free: 21.46 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.559e-05/0.5539, allocations: 9.562 kB / 0.8573 GB, free: 21.46 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.448e-05/0.554, allocations: 26.11 kB / 0.8573 GB, free: 21.45 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000329/0.5543, allocations: 183.1 kB / 0.8575 GB, free: 21.3 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.258e-05/0.5544, allocations: 10.95 kB / 0.8575 GB, free: 21.3 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.11e-05/0.5544, allocations: 23.58 kB / 0.8575 GB, free: 21.29 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005313/0.555, allocations: 194.1 kB / 0.8577 GB, free: 21.21 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.292e-05/0.555, allocations: 2.875 kB / 0.8577 GB, free: 21.21 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.408e-05/0.555, allocations: 3.75 kB / 0.8577 GB, free: 21.21 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/0.555, allocations: 3.656 kB / 0.8577 GB, free: 21.21 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004131/0.5554, allocations: 142.3 kB / 0.8579 GB, free: 21.18 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009194/0.5563, allocations: 487.2 kB / 0.8583 GB, free: 20.88 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005627/0.5569, allocations: 172 kB / 0.8585 GB, free: 20.82 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001986/0.5571, allocations: 95.72 kB / 0.8586 GB, free: 20.78 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.647e-05/0.5571, allocations: 6 kB / 0.8586 GB, free: 20.78 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003725/0.5575, allocations: 224.8 kB / 0.8588 GB, free: 20.64 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.513e-06/0.5575, allocations: 0.625 kB / 0.8588 GB, free: 20.64 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001592/0.5591, allocations: 0.6998 MB / 0.8595 GB, free: 20.28 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.935e-05/0.5592, allocations: 139.2 kB / 0.8596 GB, free: 20.12 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002356/0.5594, allocations: 215.1 kB / 0.8598 GB, free: 20.02 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.614e-05/0.5594, allocations: 36.61 kB / 0.8599 GB, free: 19.99 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.904e-05/0.5595, allocations: 131.3 kB / 0.86 GB, free: 19.89 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.346e-05/0.5596, allocations: 77.17 kB / 0.8601 GB, free: 19.85 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.937e-05/0.5597, allocations: 52.16 kB / 0.8601 GB, free: 19.83 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.5598, allocations: 345 kB / 0.8605 GB, free: 19.51 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002341/0.56, allocations: 143.8 kB / 0.8606 GB, free: 19.43 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002347/0.5602, allocations: 218.8 kB / 0.8608 GB, free: 19.27 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003839/0.5606, allocations: 281.3 kB / 0.8611 GB, free: 19.11 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.5606, allocations: 0 / 0.8611 GB, free: 19.11 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005758/0.5612, allocations: 389.2 kB / 0.8614 GB, free: 18.93 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.437e-05/0.5612, allocations: 67.5 kB / 0.8615 GB, free: 18.86 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.5612, allocations: 10.05 kB / 0.8615 GB, free: 18.86 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.5613, allocations: 3.094 kB / 0.8615 GB, free: 18.86 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002092/0.5615, allocations: 47.81 kB / 0.8616 GB, free: 18.85 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.43e-05/0.5615, allocations: 8.562 kB / 0.8616 GB, free: 18.85 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001888/0.5617, allocations: 17.97 kB / 0.8616 GB, free: 18.85 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.645e-05/0.5617, allocations: 14.53 kB / 0.8616 GB, free: 18.85 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.0002081/0.5619, allocations: 174.8 kB / 0.8618 GB, free: 18.7 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.177e-05/0.5619, allocations: 22.52 kB / 0.8618 GB, free: 18.68 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.908e-05/0.562, allocations: 33.98 kB / 0.8618 GB, free: 18.67 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.562, allocations: 1.562 kB / 0.8618 GB, free: 18.67 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.562, allocations: 3.25 kB / 0.8618 GB, free: 18.67 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.562, allocations: 0 / 0.8618 GB, free: 18.67 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007184/0.5627, allocations: 0.5358 MB / 0.8623 GB, free: 18.37 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.5627, allocations: 3.938 kB / 0.8623 GB, free: 18.37 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001759/0.5629, allocations: 38.47 kB / 0.8624 GB, free: 18.37 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.756e-06/0.5629, allocations: 1.719 kB / 0.8624 GB, free: 18.37 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.762e-05/0.5629, allocations: 5.688 kB / 0.8624 GB, free: 18.37 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.5629, allocations: 5.25 kB / 0.8624 GB, free: 18.36 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.5629, allocations: 0 / 0.8624 GB, free: 18.36 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006934/0.5636, allocations: 0.4921 MB / 0.8629 GB, free: 18.12 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.625e-05/0.5637, allocations: 22.53 kB / 0.8629 GB, free: 18.11 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.32e-05/0.5637, allocations: 11.03 kB / 0.8629 GB, free: 18.1 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001622/0.5639, allocations: 14.97 kB / 0.8629 GB, free: 18.1 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.09e-05/0.564, allocations: 20.75 kB / 0.8629 GB, free: 18.1 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/0.564, allocations: 9.562 kB / 0.863 GB, free: 18.1 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001278/0.5641, allocations: 159.8 kB / 0.8631 GB, free: 18.02 MB / 490.8 MB Notification: Performance of sort global known variables: time 6e-08/0.5641, allocations: 0 / 0.8631 GB, free: 18.02 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002994/0.5644, allocations: 52.75 kB / 0.8632 GB, free: 18.02 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.0001291/0.5645, allocations: 114 kB / 0.8633 GB, free: 17.93 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005648/0.5651, allocations: 391.3 kB / 0.8636 GB, free: 17.7 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.5651, allocations: 0 / 0.8636 GB, free: 17.7 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002494/0.5653, allocations: 174.1 kB / 0.8638 GB, free: 17.6 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004937/0.5658, allocations: 66.97 kB / 0.8639 GB, free: 17.59 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001386/0.5672, allocations: 0.6781 MB / 0.8645 GB, free: 17.29 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001477/0.5674, allocations: 126.7 kB / 0.8647 GB, free: 17.21 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001333/0.5675, allocations: 24.7 kB / 0.8647 GB, free: 17.2 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.232e-05/0.5676, allocations: 21.89 kB / 0.8647 GB, free: 17.2 MB / 490.8 MB Notification: Performance of SimCode: time 8.51e-07/0.5676, allocations: 0 / 0.8647 GB, free: 17.2 MB / 490.8 MB Notification: Performance of Templates: time 0.01006/0.5776, allocations: 3.649 MB / 0.8683 GB, free: 16.88 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DC07_Cefotiam.Cefotiam_Shah2019_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DC07_Cefotiam.Cefotiam_Shah2019_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DC07_Cefotiam.Cefotiam_Shah2019_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DC07_Cefotiam.Cefotiam_Shah2019_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DC07_Cefotiam.Cefotiam_Shah2019_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DC07_Cefotiam.Cefotiam_Shah2019_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DC07_Cefotiam.Cefotiam_Shah2019_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.8186247600242496]