Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AB04_Citalopram.Citalopram_Friberg2006_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.001124/0.001124, allocations: 104.4 kB / 19.71 MB, free: 436 kB / 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.00132/0.00132, allocations: 215.5 kB / 23 MB, free: 2.961 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 0.9792/0.9792, allocations: 230.6 MB / 256.8 MB, free: 9.578 MB / 202.7 MB " [Timeout remaining time 179] 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 0.8249/0.8249, allocations: 312.3 MB / 0.6109 GB, free: 97.09 MB / 410.7 MB " [Timeout remaining time 179] 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.N_NervousSystem.N06A_Antidepressants.N06AB04_Citalopram.Citalopram_Friberg2006_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=777600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AB04_Citalopram.Citalopram_Friberg2006_reference") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AB04_Citalopram.Citalopram_Friberg2006_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=777600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AB04_Citalopram.Citalopram_Friberg2006_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.002153/0.002153, allocations: 68.67 kB / 0.7699 GB, free: 19.72 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1355, allocations: 74 MB / 0.8422 GB, free: 9.855 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AB04_Citalopram.Citalopram_Friberg2006_reference): time 0.003131/0.1386, allocations: 3.002 MB / 0.8451 GB, free: 6.852 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.005468/0.1441, allocations: 6.637 MB / 0.8516 GB, free: 220 kB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001276/0.1442, allocations: 4 kB / 0.8516 GB, free: 216 kB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.000142/0.1444, allocations: 40.2 kB / 0.8516 GB, free: 176 kB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002313/0.1446, allocations: 124.3 kB / 0.8518 GB, free: 52 kB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002469/0.1449, allocations: 84.48 kB / 0.8518 GB, free: 15.96 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003176/0.1452, allocations: 418.7 kB / 0.8522 GB, free: 15.56 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001608/0.1453, allocations: 57.64 kB / 0.8523 GB, free: 15.5 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001353/0.1455, allocations: 152.2 kB / 0.8524 GB, free: 15.35 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002128/0.1457, allocations: 147.8 kB / 0.8526 GB, free: 15.21 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.444e-05/0.1457, allocations: 32.78 kB / 0.8526 GB, free: 15.18 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.709e-05/0.1458, allocations: 32 kB / 0.8526 GB, free: 15.14 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.293e-05/0.1458, allocations: 64.34 kB / 0.8527 GB, free: 15.08 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001097/0.1459, allocations: 147.4 kB / 0.8528 GB, free: 14.94 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002763/0.1462, allocations: 363.2 kB / 0.8532 GB, free: 14.58 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.1462, allocations: 0 / 0.8532 GB, free: 14.58 MB / 490.8 MB Notification: Performance of FrontEnd: time 3.016e-06/0.1462, allocations: 0.625 kB / 0.8532 GB, free: 14.58 MB / 490.8 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.1462, allocations: 0 / 0.8532 GB, free: 14.58 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0008328/0.147, allocations: 0.6113 MB / 0.8538 GB, free: 13.93 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.1471, allocations: 8.688 kB / 0.8538 GB, free: 13.92 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.88e-05/0.1471, allocations: 40.7 kB / 0.8538 GB, free: 13.88 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002557/0.1474, allocations: 221.7 kB / 0.854 GB, free: 13.64 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.123e-05/0.1474, allocations: 21.41 kB / 0.8541 GB, free: 13.62 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.342e-05/0.1475, allocations: 27.89 kB / 0.8541 GB, free: 13.59 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000359/0.1478, allocations: 309.6 kB / 0.8544 GB, free: 13.26 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.1478, allocations: 0.625 kB / 0.8544 GB, free: 13.26 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.884e-05/0.1479, allocations: 8.5 kB / 0.8544 GB, free: 13.25 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.1479, allocations: 7.938 kB / 0.8544 GB, free: 13.25 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000291/0.1482, allocations: 249.5 kB / 0.8546 GB, free: 12.99 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007506/0.1489, allocations: 0.6443 MB / 0.8553 GB, free: 12.31 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2978/0.4467, allocations: 268.8 kB / 0.8555 GB, free: 20.8 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002482/0.447, allocations: 161.6 kB / 0.8557 GB, free: 20.73 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.707e-05/0.447, allocations: 2.25 kB / 0.8557 GB, free: 20.73 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003433/0.4473, allocations: 376.4 kB / 0.856 GB, free: 20.49 MB / 490.8 MB Notification: Performance of pre-optimization done (n=33): time 3.136e-06/0.4473, allocations: 0 / 0.856 GB, free: 20.49 MB / 490.8 MB Notification: Performance of matching and sorting (n=35): time 0.00144/0.4488, allocations: 1.133 MB / 0.8571 GB, free: 19.99 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.469e-05/0.4488, allocations: 219 kB / 0.8574 GB, free: 19.74 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001988/0.449, allocations: 255.2 kB / 0.8576 GB, free: 19.64 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/0.449, allocations: 41.98 kB / 0.8576 GB, free: 19.61 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.539e-05/0.4491, allocations: 151.3 kB / 0.8578 GB, free: 19.51 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.601e-05/0.4492, allocations: 118.5 kB / 0.8579 GB, free: 19.45 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.416e-05/0.4493, allocations: 73.67 kB / 0.858 GB, free: 19.43 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 5.47e-05/0.4493, allocations: 347.7 kB / 0.8583 GB, free: 19.12 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001966/0.4495, allocations: 224.8 kB / 0.8585 GB, free: 19.02 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002109/0.4497, allocations: 327.8 kB / 0.8588 GB, free: 18.78 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003401/0.4501, allocations: 454.6 kB / 0.8593 GB, free: 18.52 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.4501, allocations: 0 / 0.8593 GB, free: 18.52 MB / 490.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0004866/0.4506, allocations: 0.5767 MB / 0.8598 GB, free: 18.28 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.875e-05/0.4506, allocations: 88.44 kB / 0.8599 GB, free: 18.19 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.4506, allocations: 2.625 kB / 0.8599 GB, free: 18.19 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.288e-05/0.4506, allocations: 8.719 kB / 0.8599 GB, free: 18.18 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001865/0.4508, allocations: 85.72 kB / 0.86 GB, free: 18.18 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.4508, allocations: 7.094 kB / 0.86 GB, free: 18.18 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001184/0.4509, allocations: 18.84 kB / 0.86 GB, free: 18.18 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.195e-05/0.451, allocations: 26.77 kB / 0.86 GB, free: 18.18 MB / 490.8 MB Warning: Assuming fixed start value for the following 2 variables: periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real periodicDose.route.variableDose.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: 12 * Number of states: 0 () * Number of discrete variables: 21 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.route.absorptionLumen.Cmin,$PRE.periodicDose.route.absorptionLumen.Cmin,periodicDose.route.absorptionLumen.Cmax,$PRE.periodicDose.route.absorptionLumen.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,periodicDose.route.absorptionLumen.rising,$PRE.periodicDose.route.absorptionLumen.rising,central.rising,$PRE.central.rising,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 3 * 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.000192/0.4511, allocations: 226.7 kB / 0.8603 GB, free: 18.01 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.193e-05/0.4512, allocations: 35.11 kB / 0.8603 GB, free: 17.99 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.171e-05/0.4512, allocations: 27.67 kB / 0.8603 GB, free: 17.98 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.4512, allocations: 11.56 kB / 0.8603 GB, free: 17.98 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.4512, allocations: 2.469 kB / 0.8603 GB, free: 17.98 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.4512, allocations: 2.109 kB / 0.8603 GB, free: 17.98 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007512/0.452, allocations: 0.8139 MB / 0.8611 GB, free: 17.62 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-06/0.452, allocations: 3.875 kB / 0.8611 GB, free: 17.62 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001786/0.4522, allocations: 57.97 kB / 0.8612 GB, free: 17.62 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.4522, allocations: 1.281 kB / 0.8612 GB, free: 17.62 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.265e-05/0.4522, allocations: 14 kB / 0.8612 GB, free: 17.62 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.4522, allocations: 3.219 kB / 0.8612 GB, free: 17.62 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.4522, allocations: 2.531 kB / 0.8612 GB, free: 17.62 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000656/0.4529, allocations: 0.7636 MB / 0.862 GB, free: 17.27 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 9.194e-05/0.453, allocations: 57.09 kB / 0.862 GB, free: 17.25 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.004e-05/0.453, allocations: 14.75 kB / 0.862 GB, free: 17.25 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.4531, allocations: 17.7 kB / 0.862 GB, free: 17.25 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.532e-05/0.4532, allocations: 31.84 kB / 0.8621 GB, free: 17.25 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-05/0.4532, allocations: 14.41 kB / 0.8621 GB, free: 17.25 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001153/0.4533, allocations: 183.1 kB / 0.8623 GB, free: 17.17 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4533, allocations: 1.375 kB / 0.8623 GB, free: 17.17 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002288/0.4536, allocations: 88.8 kB / 0.8623 GB, free: 17.17 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,periodicDose.route.variableDose.TotalCumulativeMass,periodicDose.route.absorptionLumen.C,periodicDose.route.absorptionLumen.AUC) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,central.Cmax,central.Cmin,central.rising,periodicDose.route.absorptionLumen.Cmax,periodicDose.route.absorptionLumen.Cmin,periodicDose.route.absorptionLumen.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 11 (periodicDose.pulse.count,central.Cmin,$whenCondition5,central.Cmax,$whenCondition4,central.rising,periodicDose.route.absorptionLumen.Cmin,$whenCondition3,periodicDose.route.absorptionLumen.Cmax,$whenCondition2,periodicDose.route.absorptionLumen.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 2 * 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.0001181/0.4537, allocations: 133.7 kB / 0.8625 GB, free: 17.09 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005033/0.4542, allocations: 0.5904 MB / 0.863 GB, free: 16.73 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.4542, allocations: 0.5938 kB / 0.863 GB, free: 16.73 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002349/0.4544, allocations: 317.7 kB / 0.8634 GB, free: 16.55 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004138/0.4548, allocations: 93.3 kB / 0.8634 GB, free: 16.55 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00166/0.4565, allocations: 1.066 MB / 0.8645 GB, free: 16.01 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001889/0.4567, allocations: 163 kB / 0.8646 GB, free: 15.93 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.088e-05/0.4568, allocations: 32.58 kB / 0.8647 GB, free: 15.92 MB / 490.8 MB Notification: Performance of SimCode: time 6.81e-07/0.4568, allocations: 0 / 0.8647 GB, free: 15.92 MB / 490.8 MB Notification: Performance of Templates: time 0.006953/0.4637, allocations: 4.343 MB / 0.8689 GB, free: 15.53 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AB04_Citalopram.Citalopram_Friberg2006_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AB04_Citalopram.Citalopram_Friberg2006_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AB04_Citalopram.Citalopram_Friberg2006_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AB04_Citalopram.Citalopram_Friberg2006_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AB04_Citalopram.Citalopram_Friberg2006_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AB04_Citalopram.Citalopram_Friberg2006_reference > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AB04_Citalopram.Citalopram_Friberg2006_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.7036193907260895]