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.001314/0.001314, allocations: 92.52 kB / 19.94 MB, free: 4.602 MB / 18.57 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.001576/0.001576, allocations: 166.3 kB / 23.21 MB, free: 1.332 MB / 18.57 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.9948/0.9948, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.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.6715/0.6715, allocations: 291.2 MB / 0.5382 GB, free: 51.85 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: Performance of FrontEnd - loaded program: time 2.485e-06/2.485e-06, allocations: 0 / 0.6974 GB, free: 10.4 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.796e-05/4.045e-05, allocations: 2.281 kB / 0.6974 GB, free: 10.39 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AB04_Citalopram.Citalopram_Friberg2006_reference): time 0.004876/0.004916, allocations: 3.006 MB / 0.7003 GB, free: 7.371 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.009818/0.01473, allocations: 6.65 MB / 0.7068 GB, free: 0.7109 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004756/0.01521, allocations: 0 / 0.7068 GB, free: 0.7109 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0002592/0.01547, allocations: 43.58 kB / 0.7069 GB, free: 0.668 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004118/0.01588, allocations: 127 kB / 0.707 GB, free: 0.543 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000418/0.0163, allocations: 91.7 kB / 0.7071 GB, free: 464 kB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0004567/0.01676, allocations: 425.9 kB / 0.7075 GB, free: 36 kB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002817/0.01704, allocations: 70.06 kB / 0.7076 GB, free: 15.97 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003714/0.01741, allocations: 227.5 kB / 0.7078 GB, free: 15.75 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003256/0.01773, allocations: 119.6 kB / 0.7079 GB, free: 15.63 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 6.518e-05/0.0178, allocations: 32 kB / 0.7079 GB, free: 15.6 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.713e-05/0.01785, allocations: 32 kB / 0.7079 GB, free: 15.57 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 6.195e-05/0.01791, allocations: 67.69 kB / 0.708 GB, free: 15.5 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001685/0.01808, allocations: 123.8 kB / 0.7081 GB, free: 15.38 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0004685/0.01855, allocations: 362.9 kB / 0.7085 GB, free: 15.02 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.01855, allocations: 0 / 0.7085 GB, free: 15.02 MB / 426.8 MB Notification: Performance of FrontEnd: time 2.785e-06/0.01856, allocations: 0 / 0.7085 GB, free: 15.02 MB / 426.8 MB Notification: Performance of Transformations before backend: time 1.409e-05/0.01857, allocations: 4 kB / 0.7085 GB, free: 15.02 MB / 426.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.00125/0.01982, allocations: 0.6037 MB / 0.7091 GB, free: 14.37 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 7.264e-05/0.01989, allocations: 8.031 kB / 0.7091 GB, free: 14.36 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001022/0.01999, allocations: 36.7 kB / 0.7091 GB, free: 14.32 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003574/0.02035, allocations: 232.7 kB / 0.7093 GB, free: 14.07 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.619e-05/0.02039, allocations: 12.88 kB / 0.7093 GB, free: 14.06 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.262e-05/0.02045, allocations: 28.33 kB / 0.7094 GB, free: 14.04 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005283/0.02098, allocations: 314.2 kB / 0.7097 GB, free: 13.7 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.788e-05/0.02101, allocations: 4 kB / 0.7097 GB, free: 13.7 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.032e-05/0.02104, allocations: 4 kB / 0.7097 GB, free: 13.69 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/0.02105, allocations: 11.94 kB / 0.7097 GB, free: 13.68 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004571/0.02151, allocations: 252.2 kB / 0.7099 GB, free: 13.42 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001149/0.02265, allocations: 0.6504 MB / 0.7106 GB, free: 12.73 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006064/0.02326, allocations: 270 kB / 0.7108 GB, free: 12.45 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002378/0.0235, allocations: 164.4 kB / 0.711 GB, free: 12.27 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.459e-05/0.02351, allocations: 0 / 0.711 GB, free: 12.27 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004487/0.02396, allocations: 375.2 kB / 0.7113 GB, free: 11.86 MB / 426.8 MB Notification: Performance of pre-optimization done (n=33): time 1.874e-06/0.02396, allocations: 0 / 0.7113 GB, free: 11.86 MB / 426.8 MB Notification: Performance of matching and sorting (n=35): time 0.001852/0.02581, allocations: 1.135 MB / 0.7124 GB, free: 10.63 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/0.02592, allocations: 221.6 kB / 0.7127 GB, free: 10.36 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002601/0.02618, allocations: 249.9 kB / 0.7129 GB, free: 10.11 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 3.522e-05/0.02622, allocations: 41.69 kB / 0.7129 GB, free: 10.07 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.02632, allocations: 156.9 kB / 0.7131 GB, free: 9.906 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 9.609e-05/0.02642, allocations: 115.1 kB / 0.7132 GB, free: 9.793 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001119/0.02653, allocations: 78.12 kB / 0.7133 GB, free: 9.711 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.02665, allocations: 346.7 kB / 0.7136 GB, free: 9.363 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002819/0.02693, allocations: 219.8 kB / 0.7138 GB, free: 9.129 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004691/0.0274, allocations: 330.8 kB / 0.7141 GB, free: 8.738 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005173/0.02791, allocations: 454.2 kB / 0.7146 GB, free: 8.227 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.02792, allocations: 0 / 0.7146 GB, free: 8.227 MB / 426.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0007758/0.02869, allocations: 0.5807 MB / 0.7151 GB, free: 7.602 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.352e-05/0.02877, allocations: 93.09 kB / 0.7152 GB, free: 7.492 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.02878, allocations: 4 kB / 0.7152 GB, free: 7.488 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.793e-05/0.02881, allocations: 4 kB / 0.7152 GB, free: 7.484 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002576/0.02906, allocations: 80.17 kB / 0.7153 GB, free: 7.406 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.308e-05/0.02908, allocations: 8 kB / 0.7153 GB, free: 7.398 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001703/0.02925, allocations: 23.98 kB / 0.7153 GB, free: 7.375 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.311e-05/0.02928, allocations: 16 kB / 0.7153 GB, free: 7.359 MB / 426.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.0003073/0.02959, allocations: 237.8 kB / 0.7156 GB, free: 7.109 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.053e-05/0.02964, allocations: 35.81 kB / 0.7156 GB, free: 7.074 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.632e-05/0.0297, allocations: 42.95 kB / 0.7156 GB, free: 7.031 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.02971, allocations: 4 kB / 0.7157 GB, free: 7.027 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.896e-06/0.02972, allocations: 0 / 0.7157 GB, free: 7.027 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.02973, allocations: 0 / 0.7157 GB, free: 7.027 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001121/0.03085, allocations: 0.8134 MB / 0.7164 GB, free: 6.156 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.03085, allocations: 4 kB / 0.7165 GB, free: 6.152 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002312/0.03108, allocations: 51.95 kB / 0.7165 GB, free: 6.102 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.536e-06/0.03109, allocations: 4 kB / 0.7165 GB, free: 6.098 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.018e-05/0.03112, allocations: 15.98 kB / 0.7165 GB, free: 6.082 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/0.03112, allocations: 4 kB / 0.7165 GB, free: 6.078 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.03112, allocations: 0 / 0.7165 GB, free: 6.078 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/0.03215, allocations: 0.7677 MB / 0.7173 GB, free: 5.258 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001392/0.03229, allocations: 59.77 kB / 0.7173 GB, free: 5.199 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.175e-05/0.03235, allocations: 12 kB / 0.7173 GB, free: 5.188 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001604/0.03251, allocations: 19.98 kB / 0.7174 GB, free: 5.168 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/0.03263, allocations: 23.95 kB / 0.7174 GB, free: 5.145 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.744e-05/0.03266, allocations: 23.92 kB / 0.7174 GB, free: 5.121 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.000191/0.03285, allocations: 185.2 kB / 0.7176 GB, free: 4.941 MB / 426.8 MB Notification: Performance of sort global known variables: time 7e-08/0.03285, allocations: 3.938 kB / 0.7176 GB, free: 4.938 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0004285/0.03328, allocations: 84 kB / 0.7177 GB, free: 4.855 MB / 426.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.0002526/0.03353, allocations: 134.9 kB / 0.7178 GB, free: 4.719 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0008105/0.03434, allocations: 0.5886 MB / 0.7184 GB, free: 4.062 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.03435, allocations: 0 / 0.7184 GB, free: 4.062 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003517/0.0347, allocations: 318.1 kB / 0.7187 GB, free: 3.715 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006061/0.0353, allocations: 80.69 kB / 0.7188 GB, free: 3.633 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001762/0.03707, allocations: 0.8906 MB / 0.7196 GB, free: 2.699 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001743/0.03724, allocations: 168.2 kB / 0.7198 GB, free: 2.512 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.982e-05/0.03734, allocations: 28.5 kB / 0.7198 GB, free: 2.484 MB / 426.8 MB Notification: Performance of SimCode: time 9.82e-07/0.03734, allocations: 0 / 0.7198 GB, free: 2.484 MB / 426.8 MB Notification: Performance of Templates: time 0.2193/0.2566, allocations: 4.376 MB / 0.7241 GB, free: 36.29 MB / 426.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.228826977312565]