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.001916/0.001916, allocations: 84.44 kB / 19.17 MB, free: 0.7422 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.002106/0.002106, allocations: 173.9 kB / 22.46 MB, free: 2.105 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.732/1.732, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.358/1.358, allocations: 292.9 MB / 0.5392 GB, free: 49.8 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,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: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.6999 GB, free: 8.52 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.962e-05/3.136e-05, allocations: 6.281 kB / 0.6999 GB, free: 8.512 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AB04_Citalopram.Citalopram): time 0.003836/0.003868, allocations: 3.017 MB / 0.7029 GB, free: 5.473 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.007951/0.01182, allocations: 6.647 MB / 0.7093 GB, free: 14.82 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004148/0.01223, allocations: 4 kB / 0.7094 GB, free: 14.81 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0002368/0.01247, allocations: 39.58 kB / 0.7094 GB, free: 14.77 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004524/0.01292, allocations: 126.9 kB / 0.7095 GB, free: 14.65 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003637/0.01329, allocations: 87.83 kB / 0.7096 GB, free: 14.56 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0005958/0.01388, allocations: 437.8 kB / 0.71 GB, free: 14.13 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000233/0.01412, allocations: 70 kB / 0.7101 GB, free: 14.07 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003483/0.01446, allocations: 223.4 kB / 0.7103 GB, free: 13.85 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003123/0.01478, allocations: 127.6 kB / 0.7104 GB, free: 13.72 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 6.185e-05/0.01484, allocations: 35.94 kB / 0.7104 GB, free: 13.69 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.482e-05/0.0149, allocations: 32 kB / 0.7105 GB, free: 13.66 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 7.894e-05/0.01498, allocations: 59.77 kB / 0.7105 GB, free: 13.6 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001937/0.01518, allocations: 127.7 kB / 0.7107 GB, free: 13.47 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0005449/0.01572, allocations: 359 kB / 0.711 GB, free: 13.12 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.01572, allocations: 0 / 0.711 GB, free: 13.12 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.623e-06/0.01573, allocations: 4 kB / 0.711 GB, free: 13.12 MB / 426.8 MB Notification: Performance of Transformations before backend: time 7.283e-06/0.01573, allocations: 0 / 0.711 GB, free: 13.12 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.001527/0.01726, allocations: 0.6037 MB / 0.7116 GB, free: 12.46 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/0.01731, allocations: 12.03 kB / 0.7116 GB, free: 12.45 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001186/0.01743, allocations: 36.7 kB / 0.7116 GB, free: 12.42 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004148/0.01784, allocations: 224.7 kB / 0.7119 GB, free: 12.18 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.238e-05/0.01788, allocations: 12.88 kB / 0.7119 GB, free: 12.16 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.094e-05/0.01795, allocations: 32.33 kB / 0.7119 GB, free: 12.13 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006597/0.01861, allocations: 314.1 kB / 0.7122 GB, free: 11.8 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.254e-05/0.01863, allocations: 0 / 0.7122 GB, free: 11.8 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.297e-05/0.01866, allocations: 12 kB / 0.7122 GB, free: 11.79 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.747e-06/0.01867, allocations: 4 kB / 0.7122 GB, free: 11.78 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005702/0.01924, allocations: 248.2 kB / 0.7124 GB, free: 11.53 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001404/0.02065, allocations: 0.6543 MB / 0.7131 GB, free: 10.84 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007749/0.02142, allocations: 270 kB / 0.7133 GB, free: 10.55 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003008/0.02172, allocations: 156.4 kB / 0.7135 GB, free: 10.38 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.598e-05/0.02174, allocations: 4 kB / 0.7135 GB, free: 10.38 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006293/0.02237, allocations: 378.1 kB / 0.7139 GB, free: 9.961 MB / 426.8 MB Notification: Performance of pre-optimization done (n=33): time 1.774e-06/0.02237, allocations: 3.938 kB / 0.7139 GB, free: 9.957 MB / 426.8 MB Notification: Performance of matching and sorting (n=35): time 0.002675/0.02504, allocations: 1.127 MB / 0.715 GB, free: 8.734 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002218/0.02527, allocations: 221.6 kB / 0.7152 GB, free: 8.469 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004031/0.02567, allocations: 249.9 kB / 0.7154 GB, free: 8.219 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 5.083e-05/0.02572, allocations: 41.7 kB / 0.7155 GB, free: 8.172 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001769/0.0259, allocations: 160.8 kB / 0.7156 GB, free: 8.008 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001364/0.02603, allocations: 115.1 kB / 0.7157 GB, free: 7.895 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00017/0.0262, allocations: 74.19 kB / 0.7158 GB, free: 7.816 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0002583/0.02646, allocations: 342.7 kB / 0.7161 GB, free: 7.473 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004346/0.0269, allocations: 223.8 kB / 0.7163 GB, free: 7.234 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005418/0.02744, allocations: 326.9 kB / 0.7166 GB, free: 6.848 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008272/0.02826, allocations: 458.1 kB / 0.7171 GB, free: 6.332 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.02827, allocations: 0 / 0.7171 GB, free: 6.332 MB / 426.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001108/0.02938, allocations: 0.5807 MB / 0.7176 GB, free: 5.707 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001061/0.02948, allocations: 93.09 kB / 0.7177 GB, free: 5.598 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.958e-06/0.02949, allocations: 0 / 0.7177 GB, free: 5.598 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.934e-05/0.02952, allocations: 11.94 kB / 0.7177 GB, free: 5.586 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003512/0.02987, allocations: 84.23 kB / 0.7178 GB, free: 5.504 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/0.02988, allocations: 4 kB / 0.7178 GB, free: 5.5 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002822/0.03017, allocations: 19.98 kB / 0.7178 GB, free: 5.48 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.897e-05/0.03021, allocations: 16 kB / 0.7179 GB, free: 5.465 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.0005468/0.03075, allocations: 245.8 kB / 0.7181 GB, free: 5.207 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.65e-05/0.03083, allocations: 43.75 kB / 0.7181 GB, free: 5.164 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.424e-05/0.03092, allocations: 34.95 kB / 0.7182 GB, free: 5.129 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.03093, allocations: 0 / 0.7182 GB, free: 5.129 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.03094, allocations: 0 / 0.7182 GB, free: 5.129 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.03094, allocations: 4 kB / 0.7182 GB, free: 5.125 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001462/0.0324, allocations: 0.8134 MB / 0.719 GB, free: 4.254 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.03241, allocations: 0 / 0.719 GB, free: 4.254 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003247/0.03273, allocations: 63.89 kB / 0.719 GB, free: 4.191 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.03274, allocations: 0 / 0.719 GB, free: 4.191 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.355e-05/0.03277, allocations: 16 kB / 0.719 GB, free: 4.176 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.03277, allocations: 0 / 0.719 GB, free: 4.176 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.03278, allocations: 3.984 kB / 0.719 GB, free: 4.172 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001346/0.03412, allocations: 0.7601 MB / 0.7198 GB, free: 3.359 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001337/0.03426, allocations: 55.77 kB / 0.7198 GB, free: 3.305 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.305e-05/0.03433, allocations: 16 kB / 0.7199 GB, free: 3.289 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002232/0.03455, allocations: 15.98 kB / 0.7199 GB, free: 3.273 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/0.03467, allocations: 35.95 kB / 0.7199 GB, free: 3.238 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.409e-05/0.03471, allocations: 15.92 kB / 0.7199 GB, free: 3.223 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0002624/0.03497, allocations: 185.2 kB / 0.7201 GB, free: 3.043 MB / 426.8 MB Notification: Performance of sort global known variables: time 7e-08/0.03497, allocations: 0 / 0.7201 GB, free: 3.043 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.2984/0.3334, allocations: 82.98 kB / 0.7202 GB, free: 37.06 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.0002377/0.3336, allocations: 125.9 kB / 0.7203 GB, free: 36.98 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.00119/0.3348, allocations: 0.5859 MB / 0.7209 GB, free: 36.63 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3348, allocations: 0 / 0.7209 GB, free: 36.63 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0004931/0.3353, allocations: 322.1 kB / 0.7212 GB, free: 36.44 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000878/0.3362, allocations: 98.61 kB / 0.7213 GB, free: 36.44 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00212/0.3383, allocations: 0.8578 MB / 0.7221 GB, free: 36.01 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002235/0.3385, allocations: 166.1 kB / 0.7223 GB, free: 35.93 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0002227/0.3388, allocations: 37.22 kB / 0.7223 GB, free: 35.91 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001146/0.3389, allocations: 32.77 kB / 0.7223 GB, free: 35.91 MB / 426.8 MB Notification: Performance of SimCode: time 8.22e-07/0.3389, allocations: 0 / 0.7223 GB, free: 35.91 MB / 426.8 MB Notification: Performance of Templates: time 0.01529/0.3542, allocations: 4.831 MB / 0.7271 GB, free: 35.45 MB / 426.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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AB04_Citalopram.Citalopram.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.118079508887604]