Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03B_VitaminB12AndFolicAcid.B03BA03_Hydroxocobalamin.Hydroxocobalamin_de1994_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.001893/0.001893, 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.002005/0.002005, 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.847/1.847, allocations: 230.6 MB / 256 MB, free: 9.605 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.402/1.402, allocations: 316.7 MB / 0.6144 GB, free: 93.06 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.B_BloodAndBloodFormingOrgans.B03B_VitaminB12AndFolicAcid.B03BA03_Hydroxocobalamin.Hydroxocobalamin_de1994_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=133200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03B_VitaminB12AndFolicAcid.B03BA03_Hydroxocobalamin.Hydroxocobalamin_de1994_reference") translateModel(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03B_VitaminB12AndFolicAcid.B03BA03_Hydroxocobalamin.Hydroxocobalamin_de1994_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=133200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03B_VitaminB12AndFolicAcid.B03BA03_Hydroxocobalamin.Hydroxocobalamin_de1994_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.004486/0.004486, allocations: 81.41 kB / 0.775 GB, free: 14.76 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2159/0.2204, allocations: 73.99 MB / 0.8472 GB, free: 4.906 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03B_VitaminB12AndFolicAcid.B03BA03_Hydroxocobalamin.Hydroxocobalamin_de1994_reference): time 0.004937/0.2253, allocations: 2.285 MB / 0.8494 GB, free: 2.621 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3689/0.5942, allocations: 6.518 MB / 0.8558 GB, free: 22.03 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002234/0.5944, allocations: 3.25 kB / 0.8558 GB, free: 22.03 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001524/0.5946, allocations: 23.86 kB / 0.8558 GB, free: 22.03 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002517/0.5948, allocations: 83.88 kB / 0.8559 GB, free: 22.03 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000218/0.595, allocations: 58.44 kB / 0.856 GB, free: 22.03 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.000251/0.5953, allocations: 254.6 kB / 0.8562 GB, free: 22.02 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.5954, allocations: 37.38 kB / 0.8563 GB, free: 22.01 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001326/0.5956, allocations: 96.3 kB / 0.8563 GB, free: 22 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002006/0.5958, allocations: 101.5 kB / 0.8564 GB, free: 21.97 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.051e-05/0.5958, allocations: 17.22 kB / 0.8565 GB, free: 21.97 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.72e-05/0.5958, allocations: 16.94 kB / 0.8565 GB, free: 21.97 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 3.59e-05/0.5959, allocations: 38.67 kB / 0.8565 GB, free: 21.96 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 9.217e-05/0.596, allocations: 94.58 kB / 0.8566 GB, free: 21.94 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002293/0.5962, allocations: 195 kB / 0.8568 GB, free: 21.91 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.5962, allocations: 0 / 0.8568 GB, free: 21.91 MB / 490.8 MB Notification: Performance of FrontEnd: time 9.32e-07/0.5962, allocations: 0 / 0.8568 GB, free: 21.91 MB / 490.8 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.5962, allocations: 5.906 kB / 0.8568 GB, free: 21.91 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.0007776/0.597, allocations: 0.489 MB / 0.8573 GB, free: 21.51 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.597, allocations: 11.62 kB / 0.8573 GB, free: 21.51 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.298e-05/0.5971, allocations: 22.45 kB / 0.8573 GB, free: 21.5 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002087/0.5973, allocations: 184.3 kB / 0.8575 GB, free: 21.34 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.5973, allocations: 12.42 kB / 0.8575 GB, free: 21.34 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.25e-05/0.5973, allocations: 22.77 kB / 0.8575 GB, free: 21.33 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000359/0.5977, allocations: 187.3 kB / 0.8577 GB, free: 21.25 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.5977, allocations: 5.062 kB / 0.8577 GB, free: 21.25 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.856e-05/0.5977, allocations: 6 kB / 0.8577 GB, free: 21.25 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.5977, allocations: 0.6562 kB / 0.8577 GB, free: 21.25 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000328/0.5981, allocations: 146.2 kB / 0.8578 GB, free: 21.22 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006991/0.5988, allocations: 485 kB / 0.8583 GB, free: 20.92 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004538/0.5992, allocations: 174.8 kB / 0.8585 GB, free: 20.87 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001671/0.5994, allocations: 94.31 kB / 0.8586 GB, free: 20.83 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.246e-05/0.5994, allocations: 6.781 kB / 0.8586 GB, free: 20.82 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003092/0.5997, allocations: 222.8 kB / 0.8588 GB, free: 20.68 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.423e-06/0.5997, allocations: 0.625 kB / 0.8588 GB, free: 20.68 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001311/0.601, allocations: 0.7028 MB / 0.8595 GB, free: 20.32 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.189e-05/0.6011, allocations: 136.2 kB / 0.8596 GB, free: 20.17 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001775/0.6012, allocations: 218.3 kB / 0.8598 GB, free: 20.06 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.6013, allocations: 32.89 kB / 0.8598 GB, free: 20.03 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.687e-05/0.6013, allocations: 134.3 kB / 0.86 GB, free: 19.94 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.086e-05/0.6014, allocations: 70.8 kB / 0.86 GB, free: 19.89 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.432e-05/0.6014, allocations: 59.64 kB / 0.8601 GB, free: 19.87 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 5.8e-05/0.6015, allocations: 336.4 kB / 0.8604 GB, free: 19.55 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002084/0.6017, allocations: 149.1 kB / 0.8605 GB, free: 19.48 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002223/0.6019, allocations: 220.8 kB / 0.8608 GB, free: 19.31 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003579/0.6023, allocations: 275.9 kB / 0.861 GB, free: 19.15 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.6023, allocations: 3.625 kB / 0.861 GB, free: 19.15 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005157/0.6028, allocations: 388.1 kB / 0.8614 GB, free: 18.97 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.569e-05/0.6028, allocations: 68.42 kB / 0.8615 GB, free: 18.91 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.6029, allocations: 4.531 kB / 0.8615 GB, free: 18.9 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.6029, allocations: 4.219 kB / 0.8615 GB, free: 18.9 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001975/0.6031, allocations: 49.61 kB / 0.8615 GB, free: 18.9 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.6031, allocations: 4.375 kB / 0.8615 GB, free: 18.9 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001797/0.6033, allocations: 24.09 kB / 0.8615 GB, free: 18.9 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.924e-05/0.6033, allocations: 12.16 kB / 0.8616 GB, free: 18.9 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.0001513/0.6034, allocations: 179.2 kB / 0.8617 GB, free: 18.75 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.746e-05/0.6035, allocations: 21.27 kB / 0.8617 GB, free: 18.73 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.51e-05/0.6035, allocations: 30.94 kB / 0.8618 GB, free: 18.72 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.6035, allocations: 0.6875 kB / 0.8618 GB, free: 18.72 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.6035, allocations: 7.406 kB / 0.8618 GB, free: 18.71 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.6035, allocations: 1.547 kB / 0.8618 GB, free: 18.71 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006247/0.6041, allocations: 0.5343 MB / 0.8623 GB, free: 18.42 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.6041, allocations: 2.047 kB / 0.8623 GB, free: 18.42 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001833/0.6043, allocations: 44.69 kB / 0.8624 GB, free: 18.41 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.6043, allocations: 0 / 0.8624 GB, free: 18.41 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.718e-05/0.6044, allocations: 7.719 kB / 0.8624 GB, free: 18.41 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.6044, allocations: 3.938 kB / 0.8624 GB, free: 18.41 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.6044, allocations: 0.7188 kB / 0.8624 GB, free: 18.41 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006442/0.605, allocations: 499.7 kB / 0.8628 GB, free: 18.17 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.478e-05/0.605, allocations: 26.38 kB / 0.8629 GB, free: 18.16 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.778e-05/0.6051, allocations: 5.562 kB / 0.8629 GB, free: 18.15 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001751/0.6052, allocations: 21.81 kB / 0.8629 GB, free: 18.15 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.065e-05/0.6053, allocations: 18.55 kB / 0.8629 GB, free: 18.15 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.63e-05/0.6053, allocations: 9.656 kB / 0.8629 GB, free: 18.15 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001187/0.6055, allocations: 165.1 kB / 0.8631 GB, free: 18.07 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.6055, allocations: 1.125 kB / 0.8631 GB, free: 18.07 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002854/0.6057, allocations: 51.88 kB / 0.8631 GB, free: 18.07 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.000107/0.6059, allocations: 117.2 kB / 0.8632 GB, free: 17.98 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.000518/0.6064, allocations: 377.7 kB / 0.8636 GB, free: 17.75 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.644e-06/0.6064, allocations: 3.125 kB / 0.8636 GB, free: 17.75 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002255/0.6066, allocations: 172.9 kB / 0.8638 GB, free: 17.65 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004487/0.607, allocations: 66.81 kB / 0.8638 GB, free: 17.64 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001215/0.6083, allocations: 0.6858 MB / 0.8645 GB, free: 17.33 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001201/0.6084, allocations: 127.4 kB / 0.8646 GB, free: 17.25 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001021/0.6085, allocations: 25.45 kB / 0.8646 GB, free: 17.25 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.736e-05/0.6085, allocations: 20.58 kB / 0.8647 GB, free: 17.24 MB / 490.8 MB Notification: Performance of SimCode: time 6.11e-07/0.6085, allocations: 1.25 kB / 0.8647 GB, free: 17.24 MB / 490.8 MB Notification: Performance of Templates: time 0.008243/0.6168, allocations: 3.647 MB / 0.8682 GB, free: 16.91 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03B_VitaminB12AndFolicAcid.B03BA03_Hydroxocobalamin.Hydroxocobalamin_de1994_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03B_VitaminB12AndFolicAcid.B03BA03_Hydroxocobalamin.Hydroxocobalamin_de1994_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03B_VitaminB12AndFolicAcid.B03BA03_Hydroxocobalamin.Hydroxocobalamin_de1994_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03B_VitaminB12AndFolicAcid.B03BA03_Hydroxocobalamin.Hydroxocobalamin_de1994_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03B_VitaminB12AndFolicAcid.B03BA03_Hydroxocobalamin.Hydroxocobalamin_de1994_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03B_VitaminB12AndFolicAcid.B03BA03_Hydroxocobalamin.Hydroxocobalamin_de1994_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03B_VitaminB12AndFolicAcid.B03BA03_Hydroxocobalamin.Hydroxocobalamin_de1994_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.725151637103409]