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.001185/0.001185, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0019/0.003085, allocations: 443.9 kB / 10.36 MB, free: 332 kB / 10.45 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.0009256/0.0009256, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001088/0.002013, allocations: 475.7 kB / 11.72 MB, free: 2.453 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.177/1.177, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09767/1.275, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.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.773/0.773, allocations: 291.1 MB / 0.5226 GB, free: 52.77 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03298/0.8059, allocations: 21.05 MB / 0.5431 GB, free: 31.79 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.884e-06/1.884e-06, allocations: 0 / 0.5445 GB, free: 30.38 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.391e-05/2.579e-05, allocations: 6.25 kB / 0.5445 GB, free: 30.37 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AB04_Citalopram.Citalopram): time 0.004359/0.004385, allocations: 3.308 MB / 0.5478 GB, free: 27.05 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005527/0.009912, allocations: 6.813 MB / 0.5544 GB, free: 20.22 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002768/0.01019, allocations: 0 / 0.5544 GB, free: 20.22 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001336/0.01032, allocations: 43.56 kB / 0.5545 GB, free: 20.18 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002814/0.0106, allocations: 131 kB / 0.5546 GB, free: 20.05 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002496/0.01085, allocations: 87.77 kB / 0.5547 GB, free: 19.96 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004048/0.01126, allocations: 437.8 kB / 0.5551 GB, free: 19.54 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001689/0.01143, allocations: 71.36 kB / 0.5552 GB, free: 19.46 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002924/0.01172, allocations: 266.6 kB / 0.5554 GB, free: 19.2 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002033/0.01192, allocations: 127.6 kB / 0.5555 GB, free: 19.08 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.89e-05/0.01196, allocations: 32 kB / 0.5556 GB, free: 19.05 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.16e-05/0.01199, allocations: 32 kB / 0.5556 GB, free: 19.02 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.804e-05/0.01203, allocations: 47.81 kB / 0.5556 GB, free: 18.97 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.672e-05/0.01212, allocations: 107.8 kB / 0.5557 GB, free: 18.86 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002455/0.01236, allocations: 223.2 kB / 0.556 GB, free: 18.64 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.76e-05/0.01238, allocations: 0 / 0.556 GB, free: 18.64 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.01238, allocations: 0 / 0.556 GB, free: 18.64 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.753e-05/0.0124, allocations: 0 / 0.556 GB, free: 18.64 MB / 410.7 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.0007558/0.01316, allocations: 0.6434 MB / 0.5566 GB, free: 17.96 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.0132, allocations: 11.89 kB / 0.5566 GB, free: 17.95 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.606e-05/0.01326, allocations: 40.89 kB / 0.5566 GB, free: 17.91 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002035/0.01347, allocations: 201.5 kB / 0.5568 GB, free: 17.69 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.266e-05/0.01349, allocations: 12.88 kB / 0.5568 GB, free: 17.68 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.766e-05/0.01353, allocations: 28.33 kB / 0.5569 GB, free: 17.65 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002363/0.01376, allocations: 246.1 kB / 0.5571 GB, free: 17.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.01378, allocations: 4 kB / 0.5571 GB, free: 17.38 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.01379, allocations: 4 kB / 0.5571 GB, free: 17.37 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.0138, allocations: 8 kB / 0.5571 GB, free: 17.36 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001211/0.01392, allocations: 138.5 kB / 0.5573 GB, free: 17.21 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005642/0.01448, allocations: 473.9 kB / 0.5577 GB, free: 16.73 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002311/0.01471, allocations: 180 kB / 0.5579 GB, free: 16.54 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.013e-05/0.01477, allocations: 107.2 kB / 0.558 GB, free: 16.42 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.212e-05/0.01479, allocations: 11.92 kB / 0.558 GB, free: 16.41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001999/0.01499, allocations: 331.4 kB / 0.5583 GB, free: 16.04 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 3.226e-06/0.01499, allocations: 0 / 0.5583 GB, free: 16.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=35): time 0.0008144/0.0158, allocations: 0.8384 MB / 0.5591 GB, free: 15.11 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.3289/0.3447, allocations: 270.3 kB / 0.5594 GB, free: 78.49 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002256/0.3449, allocations: 231.4 kB / 0.5596 GB, free: 78.38 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 5.879e-05/0.345, allocations: 35.95 kB / 0.5596 GB, free: 78.35 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.097e-05/0.345, allocations: 138.8 kB / 0.5598 GB, free: 78.27 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.22e-05/0.3451, allocations: 121.1 kB / 0.5599 GB, free: 78.23 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.76e-05/0.3452, allocations: 77.28 kB / 0.56 GB, free: 78.21 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.316e-05/0.3452, allocations: 345 kB / 0.5603 GB, free: 77.9 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001169/0.3453, allocations: 149 kB / 0.5604 GB, free: 77.8 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001271/0.3455, allocations: 250.7 kB / 0.5607 GB, free: 77.57 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002231/0.3457, allocations: 337 kB / 0.561 GB, free: 77.32 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.3457, allocations: 1.094 kB / 0.561 GB, free: 77.32 MB / 410.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0003148/0.346, allocations: 391.3 kB / 0.5614 GB, free: 77.09 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.631e-05/0.3461, allocations: 91.81 kB / 0.5615 GB, free: 77 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.916e-06/0.3461, allocations: 3.656 kB / 0.5615 GB, free: 77 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.3461, allocations: 5.25 kB / 0.5615 GB, free: 77 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003478/0.3464, allocations: 113.6 kB / 0.5616 GB, free: 77 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.3465, allocations: 6.969 kB / 0.5616 GB, free: 77 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001274/0.3466, allocations: 22.41 kB / 0.5616 GB, free: 77 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.037e-05/0.3466, allocations: 15.19 kB / 0.5616 GB, free: 77 MB / 410.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.0001792/0.3468, allocations: 212 kB / 0.5618 GB, free: 76.82 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.647e-05/0.3468, allocations: 39.81 kB / 0.5619 GB, free: 76.82 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.518e-05/0.3469, allocations: 37.06 kB / 0.5619 GB, free: 76.82 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.3469, allocations: 1.266 kB / 0.5619 GB, free: 76.82 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.3469, allocations: 2.719 kB / 0.5619 GB, free: 76.82 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.032e-05/0.347, allocations: 31.92 kB / 0.5619 GB, free: 76.8 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.889e-05/0.347, allocations: 11.05 kB / 0.5619 GB, free: 76.8 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.694e-05/0.347, allocations: 15.75 kB / 0.5619 GB, free: 76.8 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.202e-05/0.3471, allocations: 14.69 kB / 0.562 GB, free: 76.8 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.884e-05/0.3472, allocations: 26.22 kB / 0.562 GB, free: 76.8 MB / 410.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003963/0.3476, allocations: 399.7 kB / 0.5624 GB, free: 76.57 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004157/0.348, allocations: 0.6078 MB / 0.563 GB, free: 76.17 MB / 410.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001263/0.3481, allocations: 147.5 kB / 0.5631 GB, free: 76.09 MB / 410.8 MB Notification: Performance of sorting global known variables: time 9.027e-05/0.3482, allocations: 82.36 kB / 0.5632 GB, free: 76.08 MB / 410.8 MB Notification: Performance of Backend: time 5.51e-07/0.3482, allocations: 0 / 0.5632 GB, free: 76.08 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0004788/0.3487, allocations: 482.5 kB / 0.5636 GB, free: 75.74 MB / 410.8 MB Notification: Performance of SimCode: time 0.008173/0.3569, allocations: 1.36 MB / 0.565 GB, free: 74.79 MB / 410.8 MB Notification: Performance of Templates: time 0.009107/0.366, allocations: 5.54 MB / 0.5704 GB, free: 73.63 MB / 410.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 -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AB04_Citalopram.Citalopram.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.615690640173852]