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.002009/0.002009, allocations: 105.5 kB / 18.95 MB, free: 1.18 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.002406/0.002406, allocations: 211.6 kB / 22.25 MB, free: 3.57 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 1.757/1.757, allocations: 230.6 MB / 256 MB, free: 9.629 MB / 202.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.601/1.601, allocations: 316.7 MB / 0.6144 GB, free: 93.53 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: 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.003983/0.003983, allocations: 73.73 kB / 0.775 GB, free: 14.98 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1854/0.1894, allocations: 73.99 MB / 0.8473 GB, free: 5.121 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AB04_Citalopram.Citalopram): time 0.005321/0.1947, allocations: 3.013 MB / 0.8502 GB, free: 2.105 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3496/0.5444, allocations: 6.645 MB / 0.8567 GB, free: 21.86 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002705/0.5446, allocations: 1.812 kB / 0.8567 GB, free: 21.86 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001929/0.5448, allocations: 38.91 kB / 0.8567 GB, free: 21.86 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003226/0.5451, allocations: 125.4 kB / 0.8568 GB, free: 21.86 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002663/0.5454, allocations: 86.73 kB / 0.8569 GB, free: 21.86 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003858/0.5458, allocations: 409.3 kB / 0.8573 GB, free: 21.82 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001732/0.546, allocations: 68.8 kB / 0.8574 GB, free: 21.82 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001743/0.5461, allocations: 151.9 kB / 0.8575 GB, free: 21.8 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002602/0.5464, allocations: 142.8 kB / 0.8577 GB, free: 21.76 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 5.204e-05/0.5465, allocations: 31.44 kB / 0.8577 GB, free: 21.76 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.945e-05/0.5465, allocations: 33.22 kB / 0.8577 GB, free: 21.76 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 5.126e-05/0.5466, allocations: 65.42 kB / 0.8578 GB, free: 21.75 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001451/0.5467, allocations: 147.2 kB / 0.8579 GB, free: 21.71 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003667/0.5471, allocations: 364.5 kB / 0.8583 GB, free: 21.66 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.5471, allocations: 0 / 0.8583 GB, free: 21.66 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.623e-06/0.5471, allocations: 0.75 kB / 0.8583 GB, free: 21.66 MB / 490.8 MB Notification: Performance of Transformations before backend: time 7.644e-06/0.5471, allocations: 0 / 0.8583 GB, free: 21.66 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.0009691/0.5481, allocations: 0.6106 MB / 0.8589 GB, free: 21.2 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.5481, allocations: 9.719 kB / 0.8589 GB, free: 21.2 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.067e-05/0.5482, allocations: 39.2 kB / 0.8589 GB, free: 21.18 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002726/0.5484, allocations: 218.7 kB / 0.8591 GB, free: 21.02 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/0.5485, allocations: 18.56 kB / 0.8591 GB, free: 21.02 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.583e-05/0.5485, allocations: 38.52 kB / 0.8592 GB, free: 21 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004847/0.549, allocations: 295.7 kB / 0.8595 GB, free: 20.89 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.293e-05/0.549, allocations: 8.938 kB / 0.8595 GB, free: 20.88 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.423e-05/0.549, allocations: 6.312 kB / 0.8595 GB, free: 20.88 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.5491, allocations: 4.703 kB / 0.8595 GB, free: 20.88 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004455/0.5495, allocations: 249.1 kB / 0.8597 GB, free: 20.82 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009627/0.5505, allocations: 0.6492 MB / 0.8604 GB, free: 20.5 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005925/0.5511, allocations: 269.7 kB / 0.8606 GB, free: 20.41 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000231/0.5513, allocations: 158.8 kB / 0.8608 GB, free: 20.34 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.481e-05/0.5513, allocations: 3.188 kB / 0.8608 GB, free: 20.34 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004161/0.5517, allocations: 376.3 kB / 0.8611 GB, free: 20.1 MB / 490.8 MB Notification: Performance of pre-optimization done (n=33): time 1.634e-06/0.5517, allocations: 0.625 kB / 0.8611 GB, free: 20.1 MB / 490.8 MB Notification: Performance of matching and sorting (n=35): time 0.001867/0.5536, allocations: 1.138 MB / 0.8622 GB, free: 19.55 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.276e-05/0.5536, allocations: 214.5 kB / 0.8624 GB, free: 19.3 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002318/0.5539, allocations: 250.1 kB / 0.8627 GB, free: 19.2 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.959e-05/0.5539, allocations: 40.05 kB / 0.8627 GB, free: 19.17 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.658e-05/0.554, allocations: 159.1 kB / 0.8629 GB, free: 19.06 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.735e-05/0.554, allocations: 116.1 kB / 0.863 GB, free: 18.99 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001/0.5541, allocations: 72.58 kB / 0.8631 GB, free: 18.98 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 6.129e-05/0.5542, allocations: 347.3 kB / 0.8634 GB, free: 18.66 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003075/0.5545, allocations: 221.9 kB / 0.8636 GB, free: 18.55 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003512/0.5549, allocations: 329 kB / 0.8639 GB, free: 18.32 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005442/0.5554, allocations: 453 kB / 0.8643 GB, free: 18.05 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.5554, allocations: 1.156 kB / 0.8643 GB, free: 18.05 MB / 490.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.000831/0.5562, allocations: 0.582 MB / 0.8649 GB, free: 17.79 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.687e-05/0.5563, allocations: 91.27 kB / 0.865 GB, free: 17.7 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.5563, allocations: 3.812 kB / 0.865 GB, free: 17.7 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/0.5563, allocations: 9.25 kB / 0.865 GB, free: 17.69 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003221/0.5566, allocations: 78.58 kB / 0.8651 GB, free: 17.69 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/0.5567, allocations: 6.047 kB / 0.8651 GB, free: 17.69 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002431/0.5569, allocations: 23.28 kB / 0.8651 GB, free: 17.69 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.224e-05/0.5569, allocations: 21.64 kB / 0.8651 GB, free: 17.68 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.0002233/0.5572, allocations: 236.2 kB / 0.8654 GB, free: 17.5 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.617e-05/0.5572, allocations: 31.53 kB / 0.8654 GB, free: 17.48 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.515e-05/0.5573, allocations: 34.77 kB / 0.8654 GB, free: 17.48 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.5573, allocations: 4.625 kB / 0.8654 GB, free: 17.48 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.5573, allocations: 1.641 kB / 0.8654 GB, free: 17.48 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.992e-06/0.5573, allocations: 1.594 kB / 0.8654 GB, free: 17.48 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001139/0.5584, allocations: 0.8105 MB / 0.8662 GB, free: 17.11 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.5584, allocations: 0.5156 kB / 0.8662 GB, free: 17.11 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003127/0.5587, allocations: 52.86 kB / 0.8663 GB, free: 17.11 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.5587, allocations: 3.062 kB / 0.8663 GB, free: 17.11 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.055e-05/0.5588, allocations: 16.84 kB / 0.8663 GB, free: 17.11 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.5588, allocations: 6.188 kB / 0.8663 GB, free: 17.11 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.5588, allocations: 0.5625 kB / 0.8663 GB, free: 17.11 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/0.5598, allocations: 0.7725 MB / 0.867 GB, free: 16.75 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/0.5599, allocations: 57.22 kB / 0.8671 GB, free: 16.73 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.203e-05/0.56, allocations: 9.922 kB / 0.8671 GB, free: 16.73 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002129/0.5602, allocations: 25.39 kB / 0.8671 GB, free: 16.73 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.5603, allocations: 33.05 kB / 0.8672 GB, free: 16.73 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.521e-05/0.5603, allocations: 17.28 kB / 0.8672 GB, free: 16.73 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001626/0.5605, allocations: 184.4 kB / 0.8674 GB, free: 16.64 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.5605, allocations: 0 / 0.8674 GB, free: 16.64 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003692/0.5609, allocations: 86.94 kB / 0.8674 GB, free: 16.64 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.0001233/0.561, allocations: 125.4 kB / 0.8676 GB, free: 16.55 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0007351/0.5617, allocations: 0.595 MB / 0.8681 GB, free: 16.19 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.5617, allocations: 1.125 kB / 0.8681 GB, free: 16.19 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003319/0.5621, allocations: 314.4 kB / 0.8684 GB, free: 16 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005681/0.5626, allocations: 98.25 kB / 0.8685 GB, free: 15.99 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00159/0.5642, allocations: 1.049 MB / 0.8696 GB, free: 15.46 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001199/0.5643, allocations: 162 kB / 0.8697 GB, free: 15.38 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001556/0.5645, allocations: 35.3 kB / 0.8698 GB, free: 15.37 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.833e-05/0.5646, allocations: 26.2 kB / 0.8698 GB, free: 15.36 MB / 490.8 MB Notification: Performance of SimCode: time 6.02e-07/0.5646, allocations: 0 / 0.8698 GB, free: 15.36 MB / 490.8 MB Notification: Performance of Templates: time 0.01042/0.575, allocations: 5.277 MB / 0.8749 GB, free: 14.85 MB / 490.8 MB " [Timeout remaining time 659] 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.785464223939925]