Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AB08_Fluvoxamine.Fluvoxamine.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.001652/0.001652, allocations: 104.4 kB / 19.71 MB, free: 440 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.002161/0.002161, allocations: 217.3 kB / 23 MB, free: 2.969 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.004/1.004, allocations: 230.7 MB / 256.8 MB, free: 9.59 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.7915/0.7915, allocations: 312.3 MB / 0.6108 GB, free: 97.58 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.N06AB08_Fluvoxamine.Fluvoxamine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=1036800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AB08_Fluvoxamine.Fluvoxamine") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AB08_Fluvoxamine.Fluvoxamine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=1036800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AB08_Fluvoxamine.Fluvoxamine") [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.00166/0.00166, allocations: 67.42 kB / 0.7699 GB, free: 20.21 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1484, allocations: 74 MB / 0.8422 GB, free: 10.34 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AB08_Fluvoxamine.Fluvoxamine): time 0.00369/0.1521, allocations: 3.022 MB / 0.8451 GB, free: 7.316 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.008004/0.1601, allocations: 6.633 MB / 0.8516 GB, free: 0.6836 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003662/0.1604, allocations: 4.594 kB / 0.8516 GB, free: 0.6797 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001918/0.1606, allocations: 43.56 kB / 0.8516 GB, free: 0.6367 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003431/0.161, allocations: 124.6 kB / 0.8518 GB, free: 0.5156 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002967/0.1613, allocations: 84.41 kB / 0.8518 GB, free: 444 kB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003917/0.1616, allocations: 418.8 kB / 0.8522 GB, free: 24 kB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001998/0.1618, allocations: 57.62 kB / 0.8523 GB, free: 15.96 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001667/0.162, allocations: 144.3 kB / 0.8524 GB, free: 15.82 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002457/0.1623, allocations: 151.8 kB / 0.8526 GB, free: 15.68 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 4.075e-05/0.1623, allocations: 32 kB / 0.8526 GB, free: 15.64 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.027e-05/0.1623, allocations: 32.59 kB / 0.8526 GB, free: 15.61 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.957e-05/0.1624, allocations: 72.12 kB / 0.8527 GB, free: 15.54 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001195/0.1625, allocations: 143.4 kB / 0.8528 GB, free: 15.4 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003214/0.1628, allocations: 359.2 kB / 0.8532 GB, free: 15.05 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.309e-06/0.1628, allocations: 0.5938 kB / 0.8532 GB, free: 15.05 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1628, allocations: 0 / 0.8532 GB, free: 15.05 MB / 490.8 MB Notification: Performance of Transformations before backend: time 7.825e-06/0.1628, allocations: 0.625 kB / 0.8532 GB, free: 15.05 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.0008583/0.1637, allocations: 0.6115 MB / 0.8538 GB, free: 14.39 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.1637, allocations: 8.031 kB / 0.8538 GB, free: 14.39 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.668e-05/0.1638, allocations: 41.28 kB / 0.8538 GB, free: 14.35 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002656/0.1641, allocations: 229.7 kB / 0.8541 GB, free: 14.1 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.564e-05/0.1641, allocations: 12.81 kB / 0.8541 GB, free: 14.09 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.674e-05/0.1641, allocations: 36.42 kB / 0.8541 GB, free: 14.05 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003691/0.1645, allocations: 297.6 kB / 0.8544 GB, free: 13.73 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.1645, allocations: 4.594 kB / 0.8544 GB, free: 13.73 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.918e-05/0.1646, allocations: 4 kB / 0.8544 GB, free: 13.73 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.1646, allocations: 4.625 kB / 0.8544 GB, free: 13.72 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003035/0.1649, allocations: 249.7 kB / 0.8546 GB, free: 13.46 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008195/0.1657, allocations: 0.6513 MB / 0.8553 GB, free: 12.78 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000455/0.1661, allocations: 278.6 kB / 0.8555 GB, free: 12.49 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001668/0.1663, allocations: 165 kB / 0.8557 GB, free: 12.32 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.298e-05/0.1663, allocations: 0.5938 kB / 0.8557 GB, free: 12.32 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2919/0.4582, allocations: 368.4 kB / 0.856 GB, free: 21.27 MB / 490.8 MB Notification: Performance of pre-optimization done (n=33): time 3.106e-06/0.4582, allocations: 1.5 kB / 0.856 GB, free: 21.27 MB / 490.8 MB Notification: Performance of matching and sorting (n=35): time 0.001609/0.4598, allocations: 1.133 MB / 0.8572 GB, free: 20.77 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.213e-05/0.4599, allocations: 223.2 kB / 0.8574 GB, free: 20.52 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002328/0.4601, allocations: 250.2 kB / 0.8576 GB, free: 20.42 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.401e-05/0.4601, allocations: 36.86 kB / 0.8576 GB, free: 20.39 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.342e-05/0.4602, allocations: 162.5 kB / 0.8578 GB, free: 20.29 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.825e-05/0.4603, allocations: 113.7 kB / 0.8579 GB, free: 20.23 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.651e-05/0.4604, allocations: 76.11 kB / 0.858 GB, free: 20.21 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 5.928e-05/0.4604, allocations: 346.2 kB / 0.8583 GB, free: 19.9 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002365/0.4606, allocations: 227.2 kB / 0.8585 GB, free: 19.79 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002366/0.4609, allocations: 320.3 kB / 0.8588 GB, free: 19.56 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004288/0.4613, allocations: 458.2 kB / 0.8593 GB, free: 19.3 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.4613, allocations: 0.9688 kB / 0.8593 GB, free: 19.3 MB / 490.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.000557/0.4619, allocations: 0.5749 MB / 0.8598 GB, free: 19.06 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.334e-05/0.4619, allocations: 91.97 kB / 0.8599 GB, free: 18.96 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.4619, allocations: 4.031 kB / 0.8599 GB, free: 18.96 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.271e-05/0.462, allocations: 7.188 kB / 0.8599 GB, free: 18.96 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000207/0.4622, allocations: 77.67 kB / 0.86 GB, free: 18.96 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.372e-05/0.4622, allocations: 12.2 kB / 0.86 GB, free: 18.96 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001408/0.4623, allocations: 23.58 kB / 0.86 GB, free: 18.96 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.459e-05/0.4623, allocations: 15.59 kB / 0.8601 GB, free: 18.96 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.0002341/0.4626, allocations: 237.2 kB / 0.8603 GB, free: 18.79 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.416e-05/0.4626, allocations: 35.12 kB / 0.8603 GB, free: 18.77 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.546e-05/0.4627, allocations: 29.66 kB / 0.8603 GB, free: 18.76 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.4627, allocations: 5.891 kB / 0.8603 GB, free: 18.76 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.4627, allocations: 0 / 0.8603 GB, free: 18.76 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.4627, allocations: 0 / 0.8603 GB, free: 18.76 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008288/0.4635, allocations: 0.8202 MB / 0.8611 GB, free: 18.4 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.4635, allocations: 3.312 kB / 0.8611 GB, free: 18.4 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001803/0.4637, allocations: 60.8 kB / 0.8612 GB, free: 18.4 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.648e-06/0.4637, allocations: 2.094 kB / 0.8612 GB, free: 18.4 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.359e-05/0.4637, allocations: 10.34 kB / 0.8612 GB, free: 18.4 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.352e-06/0.4637, allocations: 1.891 kB / 0.8612 GB, free: 18.4 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.4637, allocations: 4.531 kB / 0.8612 GB, free: 18.39 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007545/0.4645, allocations: 0.7628 MB / 0.862 GB, free: 18.05 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.4646, allocations: 56.11 kB / 0.862 GB, free: 18.04 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.238e-05/0.4646, allocations: 15.55 kB / 0.862 GB, free: 18.04 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.4647, allocations: 18.06 kB / 0.8621 GB, free: 18.04 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/0.4648, allocations: 34.81 kB / 0.8621 GB, free: 18.03 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-05/0.4649, allocations: 12.42 kB / 0.8621 GB, free: 18.03 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001409/0.465, allocations: 183.5 kB / 0.8623 GB, free: 17.95 MB / 490.8 MB Notification: Performance of sort global known variables: time 5e-08/0.465, allocations: 0.625 kB / 0.8623 GB, free: 17.95 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002895/0.4653, allocations: 91.25 kB / 0.8624 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: 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.0001506/0.4654, allocations: 126 kB / 0.8625 GB, free: 17.86 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0006077/0.4661, allocations: 0.5929 MB / 0.8631 GB, free: 17.51 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.4661, allocations: 0.5312 kB / 0.8631 GB, free: 17.51 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000277/0.4663, allocations: 310.6 kB / 0.8634 GB, free: 17.32 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004919/0.4668, allocations: 90.67 kB / 0.8634 GB, free: 17.32 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001662/0.4685, allocations: 1.068 MB / 0.8645 GB, free: 16.79 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001556/0.4686, allocations: 162.4 kB / 0.8646 GB, free: 16.7 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.139e-05/0.4687, allocations: 29.3 kB / 0.8647 GB, free: 16.7 MB / 490.8 MB Notification: Performance of SimCode: time 6.71e-07/0.4687, allocations: 0 / 0.8647 GB, free: 16.7 MB / 490.8 MB Notification: Performance of Templates: time 0.008836/0.4776, allocations: 4.353 MB / 0.8689 GB, free: 16.31 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AB08_Fluvoxamine.Fluvoxamine.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AB08_Fluvoxamine.Fluvoxamine.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AB08_Fluvoxamine.Fluvoxamine.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AB08_Fluvoxamine.Fluvoxamine.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AB08_Fluvoxamine.Fluvoxamine.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AB08_Fluvoxamine.Fluvoxamine > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AB08_Fluvoxamine.Fluvoxamine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.80840434320271]