Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AB04_Citalopram.Citalopram.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.0009891/0.0009891, allocations: 112.3 kB / 19.71 MB, free: 432 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.001242/0.001242, allocations: 216.4 kB / 23.01 MB, free: 2.957 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.986/0.986, allocations: 230.6 MB / 256.8 MB, free: 9.586 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.7371/0.7371, allocations: 312.3 MB / 0.6108 GB, free: 97.19 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,tolerance=1e-09,outputFormat="empty",numberOfIntervals=777600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AB04_Citalopram.Citalopram") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AB04_Citalopram.Citalopram,tolerance=1e-09,outputFormat="empty",numberOfIntervals=777600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AB04_Citalopram.Citalopram") [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.001614/0.001614, allocations: 81.86 kB / 0.7699 GB, free: 19.64 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1348, allocations: 73.99 MB / 0.8421 GB, free: 9.785 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AB04_Citalopram.Citalopram): time 0.003292/0.1381, allocations: 3.023 MB / 0.8451 GB, free: 6.766 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.005389/0.1434, allocations: 6.641 MB / 0.8516 GB, free: 128 kB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001833/0.1436, allocations: 4.594 kB / 0.8516 GB, free: 124 kB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001469/0.1438, allocations: 39.62 kB / 0.8516 GB, free: 84 kB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002708/0.144, allocations: 124.2 kB / 0.8517 GB, free: 15.96 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.00025/0.1443, allocations: 81.05 kB / 0.8518 GB, free: 15.88 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003253/0.1446, allocations: 418 kB / 0.8522 GB, free: 15.47 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001584/0.1448, allocations: 58.23 kB / 0.8523 GB, free: 15.41 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001465/0.1449, allocations: 156 kB / 0.8524 GB, free: 15.26 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002125/0.1451, allocations: 147.8 kB / 0.8526 GB, free: 15.12 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.384e-05/0.1452, allocations: 32 kB / 0.8526 GB, free: 15.09 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.69e-05/0.1452, allocations: 36.62 kB / 0.8526 GB, free: 15.05 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.69e-05/0.1453, allocations: 59.78 kB / 0.8527 GB, free: 14.99 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001122/0.1454, allocations: 144 kB / 0.8528 GB, free: 14.85 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002945/0.1457, allocations: 367.2 kB / 0.8532 GB, free: 14.49 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1457, allocations: 3.938 kB / 0.8532 GB, free: 14.49 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1457, allocations: 0.5 kB / 0.8532 GB, free: 14.49 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.1457, allocations: 0.5625 kB / 0.8532 GB, free: 14.49 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.0008312/0.1465, allocations: 0.6014 MB / 0.8538 GB, free: 13.84 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.1465, allocations: 12.69 kB / 0.8538 GB, free: 13.83 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.534e-05/0.1466, allocations: 36.7 kB / 0.8538 GB, free: 13.79 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000281/0.1469, allocations: 233.6 kB / 0.854 GB, free: 13.54 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.1469, allocations: 16.81 kB / 0.8541 GB, free: 13.52 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.521e-05/0.147, allocations: 36.44 kB / 0.8541 GB, free: 13.49 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003714/0.1473, allocations: 297.6 kB / 0.8544 GB, free: 13.17 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.13e-05/0.1474, allocations: 0.5 kB / 0.8544 GB, free: 13.17 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.068e-05/0.1474, allocations: 12.69 kB / 0.8544 GB, free: 13.16 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.1474, allocations: 4 kB / 0.8544 GB, free: 13.16 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003005/0.1477, allocations: 245.5 kB / 0.8546 GB, free: 12.9 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007777/0.1485, allocations: 0.6483 MB / 0.8553 GB, free: 12.22 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2943/0.4427, allocations: 266.1 kB / 0.8555 GB, free: 21.11 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000221/0.4429, allocations: 159.8 kB / 0.8557 GB, free: 21.04 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.403e-05/0.443, allocations: 2.531 kB / 0.8557 GB, free: 21.04 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003455/0.4433, allocations: 371.9 kB / 0.856 GB, free: 20.8 MB / 490.8 MB Notification: Performance of pre-optimization done (n=33): time 3.616e-06/0.4433, allocations: 2.281 kB / 0.856 GB, free: 20.8 MB / 490.8 MB Notification: Performance of matching and sorting (n=35): time 0.001434/0.4447, allocations: 1.135 MB / 0.8571 GB, free: 20.3 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.388e-05/0.4448, allocations: 223.3 kB / 0.8573 GB, free: 20.05 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000197/0.445, allocations: 252.2 kB / 0.8576 GB, free: 19.95 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.445, allocations: 44.47 kB / 0.8576 GB, free: 19.92 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.444e-05/0.4451, allocations: 154.7 kB / 0.8578 GB, free: 19.82 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.022e-05/0.4452, allocations: 117.8 kB / 0.8579 GB, free: 19.77 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.607e-05/0.4452, allocations: 71.52 kB / 0.858 GB, free: 19.75 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 5.568e-05/0.4453, allocations: 345.1 kB / 0.8583 GB, free: 19.43 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002104/0.4455, allocations: 223.2 kB / 0.8585 GB, free: 19.33 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002059/0.4457, allocations: 326 kB / 0.8588 GB, free: 19.09 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003457/0.4461, allocations: 453.6 kB / 0.8592 GB, free: 18.84 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.4461, allocations: 6 kB / 0.8592 GB, free: 18.84 MB / 490.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0005134/0.4466, allocations: 0.574 MB / 0.8598 GB, free: 18.59 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.119e-05/0.4466, allocations: 90.64 kB / 0.8599 GB, free: 18.5 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/0.4466, allocations: 7.625 kB / 0.8599 GB, free: 18.5 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.4466, allocations: 7.094 kB / 0.8599 GB, free: 18.5 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001876/0.4468, allocations: 77.8 kB / 0.86 GB, free: 18.5 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.4468, allocations: 9.203 kB / 0.86 GB, free: 18.5 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001285/0.447, allocations: 23.41 kB / 0.86 GB, free: 18.5 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.035e-05/0.447, allocations: 20.17 kB / 0.86 GB, free: 18.5 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.0002157/0.4472, allocations: 229.8 kB / 0.8603 GB, free: 18.32 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.6e-05/0.4472, allocations: 31.12 kB / 0.8603 GB, free: 18.3 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.189e-05/0.4473, allocations: 33.7 kB / 0.8603 GB, free: 18.3 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.4473, allocations: 9.312 kB / 0.8603 GB, free: 18.29 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.4473, allocations: 0 / 0.8603 GB, free: 18.29 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.4473, allocations: 6.141 kB / 0.8603 GB, free: 18.29 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007572/0.4481, allocations: 0.8095 MB / 0.8611 GB, free: 17.93 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.4481, allocations: 7.375 kB / 0.8611 GB, free: 17.93 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001876/0.4483, allocations: 59.53 kB / 0.8612 GB, free: 17.93 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.4483, allocations: 0.5938 kB / 0.8612 GB, free: 17.93 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/0.4483, allocations: 16.89 kB / 0.8612 GB, free: 17.93 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.4483, allocations: 0 / 0.8612 GB, free: 17.93 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.4483, allocations: 1.344 kB / 0.8612 GB, free: 17.93 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006575/0.4489, allocations: 0.7697 MB / 0.862 GB, free: 17.58 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.829e-05/0.449, allocations: 59.25 kB / 0.862 GB, free: 17.56 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.976e-05/0.4491, allocations: 12.34 kB / 0.862 GB, free: 17.56 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/0.4492, allocations: 18.09 kB / 0.862 GB, free: 17.56 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.267e-05/0.4493, allocations: 34.09 kB / 0.8621 GB, free: 17.56 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.71e-05/0.4493, allocations: 13.2 kB / 0.8621 GB, free: 17.56 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001176/0.4494, allocations: 183.3 kB / 0.8623 GB, free: 17.48 MB / 490.8 MB Notification: Performance of sort global known variables: time 6e-08/0.4494, allocations: 0.5625 kB / 0.8623 GB, free: 17.48 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002427/0.4496, allocations: 89.59 kB / 0.8623 GB, free: 17.48 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.0001085/0.4498, allocations: 124.4 kB / 0.8625 GB, free: 17.39 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0004963/0.4503, allocations: 0.5921 MB / 0.863 GB, free: 17.04 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.4503, allocations: 0.5 kB / 0.863 GB, free: 17.04 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002228/0.4505, allocations: 316.2 kB / 0.8633 GB, free: 16.86 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000386/0.4509, allocations: 89.22 kB / 0.8634 GB, free: 16.86 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001401/0.4523, allocations: 1.062 MB / 0.8645 GB, free: 16.32 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001458/0.4524, allocations: 163 kB / 0.8646 GB, free: 16.24 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.45e-05/0.4525, allocations: 32.31 kB / 0.8647 GB, free: 16.23 MB / 490.8 MB Notification: Performance of SimCode: time 5.91e-07/0.4525, allocations: 0 / 0.8647 GB, free: 16.23 MB / 490.8 MB Notification: Performance of Templates: time 0.007932/0.4604, allocations: 4.354 MB / 0.8689 GB, free: 15.83 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AB04_Citalopram.Citalopram.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AB04_Citalopram.Citalopram.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AB04_Citalopram.Citalopram.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AB04_Citalopram.Citalopram.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AB04_Citalopram.Citalopram.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AB04_Citalopram.Citalopram > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AB04_Citalopram.Citalopram.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.400913608260453]