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.001471/0.001471, 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.001428/0.001428, allocations: 165.9 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.879/0.879, allocations: 177.1 MB / 203.5 MB, free: 5.758 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.7984/0.7984, allocations: 291.1 MB / 0.5382 GB, free: 51.82 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: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.6974 GB, free: 10.4 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.405e-05/2.575e-05, allocations: 10.16 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): time 0.003789/0.003815, allocations: 3.014 MB / 0.7003 GB, free: 7.359 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.006441/0.01026, allocations: 6.654 MB / 0.7068 GB, free: 0.6953 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000161/0.01042, allocations: 4 kB / 0.7068 GB, free: 0.6914 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001278/0.01054, allocations: 35.58 kB / 0.7068 GB, free: 0.6562 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002113/0.01076, allocations: 131 kB / 0.707 GB, free: 0.5273 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002297/0.01099, allocations: 91.72 kB / 0.7071 GB, free: 448 kB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002666/0.01125, allocations: 433.8 kB / 0.7075 GB, free: 12 kB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001663/0.01142, allocations: 62.06 kB / 0.7075 GB, free: 15.95 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002089/0.01163, allocations: 223.4 kB / 0.7077 GB, free: 15.73 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002173/0.01185, allocations: 131.6 kB / 0.7079 GB, free: 15.61 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 3.862e-05/0.01188, allocations: 32 kB / 0.7079 GB, free: 15.57 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.719e-05/0.01192, allocations: 36 kB / 0.7079 GB, free: 15.54 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 4.082e-05/0.01196, allocations: 63.7 kB / 0.708 GB, free: 15.48 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 9.737e-05/0.01206, allocations: 119.8 kB / 0.7081 GB, free: 15.36 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002837/0.01234, allocations: 355 kB / 0.7084 GB, free: 15.01 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.01235, allocations: 0 / 0.7084 GB, free: 15.01 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.443e-06/0.01235, allocations: 0 / 0.7084 GB, free: 15.01 MB / 426.8 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.01235, allocations: 4 kB / 0.7084 GB, free: 15.01 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.0007955/0.01315, allocations: 0.6144 MB / 0.709 GB, free: 14.35 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.01319, allocations: 8.031 kB / 0.7091 GB, free: 14.34 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.452e-05/0.01325, allocations: 44.64 kB / 0.7091 GB, free: 14.3 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002333/0.01348, allocations: 220.7 kB / 0.7093 GB, free: 14.06 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/0.0135, allocations: 16.88 kB / 0.7093 GB, free: 14.04 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.662e-05/0.01354, allocations: 24.33 kB / 0.7093 GB, free: 14.02 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003489/0.01389, allocations: 310.2 kB / 0.7096 GB, free: 13.69 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.0139, allocations: 0 / 0.7096 GB, free: 13.69 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.971e-05/0.01392, allocations: 19.92 kB / 0.7097 GB, free: 13.67 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.01393, allocations: 4 kB / 0.7097 GB, free: 13.66 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002931/0.01422, allocations: 248.2 kB / 0.7099 GB, free: 13.41 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000756/0.01498, allocations: 0.6504 MB / 0.7105 GB, free: 12.72 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004046/0.01538, allocations: 266 kB / 0.7108 GB, free: 12.44 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001556/0.01554, allocations: 164.4 kB / 0.711 GB, free: 12.27 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.163e-05/0.01555, allocations: 4 kB / 0.711 GB, free: 12.26 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003095/0.01586, allocations: 367.4 kB / 0.7113 GB, free: 11.85 MB / 426.8 MB Notification: Performance of pre-optimization done (n=33): time 1.653e-06/0.01586, allocations: 0 / 0.7113 GB, free: 11.85 MB / 426.8 MB Notification: Performance of matching and sorting (n=35): time 0.001286/0.01715, allocations: 1.135 MB / 0.7124 GB, free: 10.62 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.487e-05/0.01722, allocations: 221.6 kB / 0.7126 GB, free: 10.36 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001774/0.0174, allocations: 249.9 kB / 0.7129 GB, free: 10.11 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/0.01742, allocations: 37.7 kB / 0.7129 GB, free: 10.06 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.529e-05/0.0175, allocations: 156.8 kB / 0.713 GB, free: 9.902 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.516e-05/0.01756, allocations: 123 kB / 0.7132 GB, free: 9.781 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.532e-05/0.01764, allocations: 70.19 kB / 0.7132 GB, free: 9.707 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 8.339e-05/0.01772, allocations: 342.8 kB / 0.7136 GB, free: 9.363 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000204/0.01793, allocations: 227.8 kB / 0.7138 GB, free: 9.121 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002268/0.01815, allocations: 330.8 kB / 0.7141 GB, free: 8.73 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003692/0.01852, allocations: 458.2 kB / 0.7145 GB, free: 8.215 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.01852, allocations: 3.938 kB / 0.7145 GB, free: 8.211 MB / 426.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0005214/0.01905, allocations: 0.5809 MB / 0.7151 GB, free: 7.586 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.688e-05/0.01909, allocations: 89.11 kB / 0.7152 GB, free: 7.48 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.0191, allocations: 4 kB / 0.7152 GB, free: 7.477 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.01911, allocations: 7.984 kB / 0.7152 GB, free: 7.469 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001696/0.01928, allocations: 79.89 kB / 0.7153 GB, free: 7.391 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.01929, allocations: 4 kB / 0.7153 GB, free: 7.387 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001134/0.0194, allocations: 19.98 kB / 0.7153 GB, free: 7.367 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.973e-05/0.01942, allocations: 16 kB / 0.7153 GB, free: 7.352 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.000181/0.0196, allocations: 255.6 kB / 0.7156 GB, free: 7.086 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.444e-05/0.01964, allocations: 31.81 kB / 0.7156 GB, free: 7.055 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.778e-05/0.01968, allocations: 26.97 kB / 0.7156 GB, free: 7.027 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.01968, allocations: 4 kB / 0.7156 GB, free: 7.023 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.01968, allocations: 3.984 kB / 0.7156 GB, free: 7.02 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.01969, allocations: 0 / 0.7156 GB, free: 7.02 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007354/0.02042, allocations: 0.8212 MB / 0.7164 GB, free: 6.141 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.02043, allocations: 0 / 0.7164 GB, free: 6.141 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001546/0.02058, allocations: 59.95 kB / 0.7165 GB, free: 6.082 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.02058, allocations: 3.938 kB / 0.7165 GB, free: 6.078 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.106e-05/0.0206, allocations: 8 kB / 0.7165 GB, free: 6.07 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.02061, allocations: 7.938 kB / 0.7165 GB, free: 6.062 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.02061, allocations: 4 kB / 0.7165 GB, free: 6.059 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006488/0.02126, allocations: 0.7717 MB / 0.7173 GB, free: 5.234 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.504e-05/0.02133, allocations: 51.78 kB / 0.7173 GB, free: 5.184 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.092e-05/0.02137, allocations: 19.98 kB / 0.7173 GB, free: 5.164 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.868e-05/0.02147, allocations: 15.98 kB / 0.7173 GB, free: 5.148 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.025e-05/0.02154, allocations: 31.95 kB / 0.7174 GB, free: 5.117 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.02156, allocations: 11.94 kB / 0.7174 GB, free: 5.105 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001215/0.02168, allocations: 185.2 kB / 0.7176 GB, free: 4.926 MB / 426.8 MB Notification: Performance of sort global known variables: time 6e-08/0.02168, allocations: 0 / 0.7176 GB, free: 4.926 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0002306/0.02191, allocations: 88 kB / 0.7176 GB, free: 4.84 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 9.958e-05/0.02201, allocations: 126.7 kB / 0.7178 GB, free: 4.711 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0004998/0.02251, allocations: 0.5881 MB / 0.7183 GB, free: 4.055 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.02251, allocations: 0 / 0.7183 GB, free: 4.055 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002205/0.02273, allocations: 310.8 kB / 0.7186 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.0003364/0.02307, allocations: 90.77 kB / 0.7187 GB, free: 3.625 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001063/0.02413, allocations: 0.8907 MB / 0.7196 GB, free: 2.691 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001184/0.02425, allocations: 164.2 kB / 0.7197 GB, free: 2.508 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.692e-05/0.02432, allocations: 36.48 kB / 0.7198 GB, free: 2.473 MB / 426.8 MB Notification: Performance of SimCode: time 6.31e-07/0.02432, allocations: 4 kB / 0.7198 GB, free: 2.469 MB / 426.8 MB Notification: Performance of Templates: time 0.1828/0.2072, allocations: 4.368 MB / 0.724 GB, free: 36.26 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 > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AB04_Citalopram.Citalopram.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.0860266527161]