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.001929/0.001929, allocations: 84.44 kB / 19.17 MB, free: 0.7383 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.003276/0.003276, allocations: 173.9 kB / 22.46 MB, free: 2.102 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 1.842/1.842, allocations: 177.1 MB / 202.8 MB, free: 5.773 MB / 186.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.374/1.374, allocations: 292.9 MB / 0.5392 GB, free: 50.2 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.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.114e-06/2.114e-06, allocations: 0 / 0.6999 GB, free: 8.59 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.242e-05/3.454e-05, allocations: 6.219 kB / 0.6999 GB, free: 8.582 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AB04_Citalopram.Citalopram_Friberg2006_reference): time 0.004679/0.004714, allocations: 3.001 MB / 0.7028 GB, free: 5.562 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.009025/0.01374, allocations: 6.65 MB / 0.7093 GB, free: 14.9 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004397/0.01418, allocations: 4 kB / 0.7093 GB, free: 14.9 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0002351/0.01441, allocations: 35.58 kB / 0.7094 GB, free: 14.86 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0005305/0.01494, allocations: 130.9 kB / 0.7095 GB, free: 14.73 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004119/0.01536, allocations: 91.83 kB / 0.7096 GB, free: 14.64 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0007043/0.01606, allocations: 429.9 kB / 0.71 GB, free: 14.22 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002437/0.0163, allocations: 65.34 kB / 0.71 GB, free: 14.16 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004293/0.01673, allocations: 223.4 kB / 0.7103 GB, free: 13.94 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003752/0.01711, allocations: 127.6 kB / 0.7104 GB, free: 13.82 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 7.43e-05/0.01718, allocations: 32 kB / 0.7104 GB, free: 13.79 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 8.505e-05/0.01727, allocations: 36 kB / 0.7104 GB, free: 13.75 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 9.261e-05/0.01736, allocations: 63.7 kB / 0.7105 GB, free: 13.69 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0002368/0.0176, allocations: 123.7 kB / 0.7106 GB, free: 13.57 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0007074/0.0183, allocations: 366.9 kB / 0.711 GB, free: 13.21 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 8.767e-06/0.01831, allocations: 4 kB / 0.711 GB, free: 13.2 MB / 426.8 MB Notification: Performance of FrontEnd: time 2.204e-06/0.01832, allocations: 0 / 0.711 GB, free: 13.2 MB / 426.8 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.01832, allocations: 0 / 0.711 GB, free: 13.2 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.001557/0.01988, allocations: 0.6037 MB / 0.7116 GB, free: 12.55 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.335e-05/0.01993, allocations: 8.031 kB / 0.7116 GB, free: 12.54 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001213/0.02005, allocations: 36.7 kB / 0.7116 GB, free: 12.51 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004781/0.02053, allocations: 228.7 kB / 0.7118 GB, free: 12.26 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.478e-05/0.02057, allocations: 12.88 kB / 0.7118 GB, free: 12.25 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.108e-05/0.02065, allocations: 28.33 kB / 0.7119 GB, free: 12.22 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007841/0.02143, allocations: 310.2 kB / 0.7122 GB, free: 11.89 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.517e-05/0.02146, allocations: 3.984 kB / 0.7122 GB, free: 11.89 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.092e-05/0.0215, allocations: 12 kB / 0.7122 GB, free: 11.88 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.251e-05/0.02151, allocations: 4 kB / 0.7122 GB, free: 11.87 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007272/0.02224, allocations: 244.2 kB / 0.7124 GB, free: 11.62 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001609/0.02385, allocations: 0.6582 MB / 0.7131 GB, free: 10.93 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009001/0.02475, allocations: 266.8 kB / 0.7133 GB, free: 10.64 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000388/0.02513, allocations: 160.4 kB / 0.7135 GB, free: 10.47 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/0.02516, allocations: 4 kB / 0.7135 GB, free: 10.47 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007501/0.02591, allocations: 375.4 kB / 0.7138 GB, free: 10.05 MB / 426.8 MB Notification: Performance of pre-optimization done (n=33): time 2.705e-06/0.02591, allocations: 0 / 0.7138 GB, free: 10.05 MB / 426.8 MB Notification: Performance of matching and sorting (n=35): time 0.003232/0.02914, allocations: 1.127 MB / 0.7149 GB, free: 8.828 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002049/0.02934, allocations: 225.6 kB / 0.7151 GB, free: 8.559 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004153/0.02976, allocations: 257.9 kB / 0.7154 GB, free: 8.301 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 5.003e-05/0.02981, allocations: 33.7 kB / 0.7154 GB, free: 8.262 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001763/0.02999, allocations: 156.8 kB / 0.7156 GB, free: 8.102 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.000149/0.03013, allocations: 119.1 kB / 0.7157 GB, free: 7.984 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001851/0.03032, allocations: 70.19 kB / 0.7157 GB, free: 7.91 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0002282/0.03055, allocations: 342.8 kB / 0.7161 GB, free: 7.566 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004891/0.03104, allocations: 223.8 kB / 0.7163 GB, free: 7.328 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006186/0.03166, allocations: 326.9 kB / 0.7166 GB, free: 6.941 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009447/0.0326, allocations: 462.1 kB / 0.717 GB, free: 6.422 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.0326, allocations: 0 / 0.717 GB, free: 6.422 MB / 426.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001293/0.0339, allocations: 0.5768 MB / 0.7176 GB, free: 5.801 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001088/0.03401, allocations: 93.44 kB / 0.7177 GB, free: 5.691 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/0.03402, allocations: 8 kB / 0.7177 GB, free: 5.684 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.613e-05/0.03405, allocations: 4 kB / 0.7177 GB, free: 5.68 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004611/0.03452, allocations: 79.89 kB / 0.7178 GB, free: 5.602 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.785e-05/0.03453, allocations: 7.984 kB / 0.7178 GB, free: 5.594 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003491/0.03488, allocations: 19.98 kB / 0.7178 GB, free: 5.574 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.142e-05/0.03493, allocations: 19.94 kB / 0.7178 GB, free: 5.555 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.0005809/0.03551, allocations: 258.4 kB / 0.7181 GB, free: 5.289 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.171e-05/0.0356, allocations: 31.81 kB / 0.7181 GB, free: 5.258 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001047/0.0357, allocations: 30.95 kB / 0.7181 GB, free: 5.227 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.03571, allocations: 4 kB / 0.7181 GB, free: 5.223 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.03572, allocations: 0 / 0.7181 GB, free: 5.223 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.03572, allocations: 0 / 0.7181 GB, free: 5.223 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001811/0.03753, allocations: 0.825 MB / 0.7189 GB, free: 4.34 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.03754, allocations: 0 / 0.7189 GB, free: 4.34 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004142/0.03795, allocations: 63.89 kB / 0.719 GB, free: 4.277 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.85e-05/0.03797, allocations: 4 kB / 0.719 GB, free: 4.273 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.906e-05/0.03801, allocations: 8 kB / 0.719 GB, free: 4.266 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.03801, allocations: 0 / 0.719 GB, free: 4.266 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.03801, allocations: 0 / 0.719 GB, free: 4.266 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2788/0.3169, allocations: 0.7652 MB / 0.7198 GB, free: 37.25 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002875/0.3171, allocations: 52.42 kB / 0.7198 GB, free: 37.25 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.99e-05/0.3172, allocations: 13.02 kB / 0.7198 GB, free: 37.25 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002627/0.3175, allocations: 18.61 kB / 0.7198 GB, free: 37.25 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001342/0.3176, allocations: 34.34 kB / 0.7199 GB, free: 37.25 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-05/0.3176, allocations: 16.89 kB / 0.7199 GB, free: 37.25 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0002098/0.3179, allocations: 184.1 kB / 0.7201 GB, free: 37.17 MB / 426.8 MB Notification: Performance of sort global known variables: time 5e-08/0.3179, allocations: 0 / 0.7201 GB, free: 37.17 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0004729/0.3183, allocations: 85.05 kB / 0.7201 GB, free: 37.17 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.0001724/0.3185, allocations: 127.2 kB / 0.7203 GB, free: 37.09 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0008164/0.3193, allocations: 0.5822 MB / 0.7208 GB, free: 36.74 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.3193, allocations: 0 / 0.7208 GB, free: 36.74 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003627/0.3197, allocations: 319.1 kB / 0.7211 GB, free: 36.55 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005619/0.3202, allocations: 88.05 kB / 0.7212 GB, free: 36.55 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00153/0.3218, allocations: 0.8674 MB / 0.7221 GB, free: 36.11 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001721/0.3219, allocations: 163.5 kB / 0.7222 GB, free: 36.03 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0001448/0.3221, allocations: 34.78 kB / 0.7223 GB, free: 36.02 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.107e-05/0.3222, allocations: 28.78 kB / 0.7223 GB, free: 36.02 MB / 426.8 MB Notification: Performance of SimCode: time 6.51e-07/0.3222, allocations: 0 / 0.7223 GB, free: 36.02 MB / 426.8 MB Notification: Performance of Templates: time 0.01307/0.3352, allocations: 4.844 MB / 0.727 GB, free: 35.56 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AB04_Citalopram.Citalopram_Friberg2006_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.149005027953535]