Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06B_PsychostimulantsAgentsUsedForAdhdAndNootropics.N06BC01_Caffeine.Caffeine.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.001006/0.001006, allocations: 91.55 kB / 20.19 MB, free: 4.348 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.001046/0.001046, allocations: 169 kB / 23.5 MB, free: 1.043 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.9558/0.9558, allocations: 177.1 MB / 203.8 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 25.9.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 25.9.0/Examples/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: Paracetamol_Experiment Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 25.9.0/package.mo): time 1.622/1.622, allocations: 273.5 MB / 0.5213 GB, free: 14.88 MB / 458.7 MB " [Timeout remaining time 178] Using package Pharmacolibrary with version 25.09 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 25.9.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.N06B_PsychostimulantsAgentsUsedForAdhdAndNootropics.N06BC01_Caffeine.Caffeine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=144000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06B_PsychostimulantsAgentsUsedForAdhdAndNootropics.N06BC01_Caffeine.Caffeine") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N06B_PsychostimulantsAgentsUsedForAdhdAndNootropics.N06BC01_Caffeine.Caffeine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=144000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06B_PsychostimulantsAgentsUsedForAdhdAndNootropics.N06BC01_Caffeine.Caffeine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.6481 GB, free: 37.96 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.447e-05/2.605e-05, allocations: 2.312 kB / 0.6481 GB, free: 37.95 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N06B_PsychostimulantsAgentsUsedForAdhdAndNootropics.N06BC01_Caffeine.Caffeine): time 0.003684/0.00371, allocations: 4.074 MB / 0.6521 GB, free: 35.23 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0009486/0.004659, allocations: 0.7224 MB / 0.6528 GB, free: 34.75 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.502e-05/0.004754, allocations: 7.156 kB / 0.6528 GB, free: 34.75 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001286/0.004883, allocations: 36.09 kB / 0.6528 GB, free: 34.73 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001947/0.005077, allocations: 112.8 kB / 0.6529 GB, free: 34.68 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002854/0.005363, allocations: 95.27 kB / 0.653 GB, free: 34.63 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.0003016/0.005664, allocations: 383.1 kB / 0.6534 GB, free: 34.43 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001554/0.00582, allocations: 58.67 kB / 0.6534 GB, free: 34.4 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001918/0.006011, allocations: 189.1 kB / 0.6536 GB, free: 34.32 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002169/0.006228, allocations: 114.6 kB / 0.6537 GB, free: 34.29 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 3.898e-05/0.006267, allocations: 25.28 kB / 0.6537 GB, free: 34.29 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.374e-05/0.006301, allocations: 27.81 kB / 0.6538 GB, free: 34.29 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 3.78e-05/0.006339, allocations: 58.06 kB / 0.6538 GB, free: 34.25 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 9.929e-05/0.006438, allocations: 111.7 kB / 0.6539 GB, free: 34.2 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002306/0.006669, allocations: 224.8 kB / 0.6541 GB, free: 34.09 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.006672, allocations: 1 kB / 0.6541 GB, free: 34.09 MB / 0.5262 GB Notification: Performance of FrontEnd: time 9.22e-07/0.006673, allocations: 0 / 0.6541 GB, free: 34.09 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.006679, allocations: 2.25 kB / 0.6541 GB, free: 34.09 MB / 0.5262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0006427/0.007322, allocations: 0.6714 MB / 0.6548 GB, free: 33.5 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.007364, allocations: 8.125 kB / 0.6548 GB, free: 33.5 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.215e-05/0.007436, allocations: 54.09 kB / 0.6549 GB, free: 33.47 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001956/0.007631, allocations: 222.4 kB / 0.6551 GB, free: 33.28 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.007645, allocations: 14.16 kB / 0.6551 GB, free: 33.27 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.568e-05/0.007681, allocations: 26.64 kB / 0.6551 GB, free: 33.26 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002683/0.007949, allocations: 261 kB / 0.6554 GB, free: 33.09 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.007962, allocations: 0 / 0.6554 GB, free: 33.09 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.745e-05/0.00798, allocations: 14.64 kB / 0.6554 GB, free: 33.08 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.007989, allocations: 5.75 kB / 0.6554 GB, free: 33.08 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001795/0.008168, allocations: 162.2 kB / 0.6555 GB, free: 33 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007075/0.008876, allocations: 0.669 MB / 0.6562 GB, free: 32.47 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002919/0.009168, allocations: 197.8 kB / 0.6564 GB, free: 32.35 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.295e-05/0.009261, allocations: 118.1 kB / 0.6565 GB, free: 32.26 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.009282, allocations: 4.078 kB / 0.6565 GB, free: 32.26 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002266/0.009509, allocations: 330.8 kB / 0.6568 GB, free: 31.99 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=34): time 1.974e-06/0.009511, allocations: 0 / 0.6568 GB, free: 31.99 MB / 0.5262 GB Notification: Performance of matching and sorting (n=36): time 0.001248/0.01076, allocations: 0.9441 MB / 0.6577 GB, free: 31.34 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.589e-05/0.01081, allocations: 221.7 kB / 0.6579 GB, free: 31.09 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002158/0.01103, allocations: 280.6 kB / 0.6582 GB, free: 30.89 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.01105, allocations: 35.45 kB / 0.6582 GB, free: 30.86 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 7.335e-05/0.01112, allocations: 189.3 kB / 0.6584 GB, free: 30.68 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 6.225e-05/0.01119, allocations: 131.2 kB / 0.6585 GB, free: 30.58 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.877e-05/0.01126, allocations: 73.8 kB / 0.6586 GB, free: 30.54 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 6.83e-05/0.01133, allocations: 0.5137 MB / 0.6591 GB, free: 30.03 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001192/0.01145, allocations: 156.8 kB / 0.6593 GB, free: 29.91 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001437/0.0116, allocations: 300.5 kB / 0.6596 GB, free: 29.6 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003322/0.01193, allocations: 0.5292 MB / 0.6601 GB, free: 29.12 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.01193, allocations: 1 kB / 0.6601 GB, free: 29.12 MB / 0.5262 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.000389/0.01232, allocations: 487 kB / 0.6605 GB, free: 28.81 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 3.472e-05/0.01235, allocations: 89.19 kB / 0.6606 GB, free: 28.72 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.01236, allocations: 2.781 kB / 0.6606 GB, free: 28.72 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.01238, allocations: 7 kB / 0.6606 GB, free: 28.72 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001959/0.01257, allocations: 93.36 kB / 0.6607 GB, free: 28.71 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.01258, allocations: 4.219 kB / 0.6607 GB, free: 28.71 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.01269, allocations: 21.16 kB / 0.6607 GB, free: 28.7 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.131e-05/0.01271, allocations: 17.94 kB / 0.6608 GB, free: 28.7 MB / 0.5262 GB Warning: Assuming fixed start value for the following 10 variables: central.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real periodicDose.absorptionLumen.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real periodicDose.variableDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real central.Cmin:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real central.Cmax:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real periodicDose.absorptionLumen.Cmin:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real periodicDose.absorptionLumen.Cmax:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real periodicDose.absorptionLumen.rising:DISCRETE(fixed = true protected = true ) type: Boolean central.rising:DISCRETE(fixed = true protected = true ) type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.central.Cmin,central.Cmin,$PRE.central.Cmax,central.Cmax,$PRE.periodicDose.absorptionLumen.Cmin,periodicDose.absorptionLumen.Cmin,$PRE.periodicDose.absorptionLumen.Cmax,periodicDose.absorptionLumen.Cmax,$PRE.periodicDose.pulse.count,$PRE.periodicDose.pulse.T_start,$PRE.periodicDose.absorptionLumen.rising,$PRE.central.rising,periodicDose.pulse.count,periodicDose.pulse.T_start,periodicDose.absorptionLumen.rising,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 (51): * Single equations (assignments): 48 * 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.0001814/0.01289, allocations: 296.8 kB / 0.661 GB, free: 28.43 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.336e-05/0.01294, allocations: 50.8 kB / 0.6611 GB, free: 28.41 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.665e-05/0.01298, allocations: 32.56 kB / 0.6611 GB, free: 28.39 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.01299, allocations: 3.75 kB / 0.6611 GB, free: 28.39 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.01299, allocations: 0 / 0.6611 GB, free: 28.39 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.645e-05/0.01307, allocations: 50.28 kB / 0.6612 GB, free: 28.36 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.79e-05/0.0131, allocations: 16.06 kB / 0.6612 GB, free: 28.35 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.515e-05/0.01318, allocations: 15.52 kB / 0.6612 GB, free: 28.35 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.759e-05/0.01326, allocations: 30.08 kB / 0.6612 GB, free: 28.34 MB / 0.5262 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004645/0.01372, allocations: 0.5091 MB / 0.6617 GB, free: 28.01 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004952/0.01422, allocations: 0.7877 MB / 0.6625 GB, free: 27.42 MB / 0.5262 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000126/0.01434, allocations: 165.3 kB / 0.6627 GB, free: 27.32 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 8.773e-05/0.01443, allocations: 197.2 kB / 0.6628 GB, free: 27.18 MB / 0.5262 GB Notification: Performance of Backend: time 2.71e-07/0.01443, allocations: 0 / 0.6628 GB, free: 27.18 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.0005043/0.01494, allocations: 496.3 kB / 0.6633 GB, free: 26.79 MB / 0.5262 GB Notification: Performance of SimCode: time 0.00177/0.01671, allocations: 1.595 MB / 0.6649 GB, free: 25.46 MB / 0.5262 GB Notification: Performance of Templates: time 0.00673/0.02344, allocations: 4.702 MB / 0.6695 GB, free: 25.12 MB / 0.5262 GB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06B_PsychostimulantsAgentsUsedForAdhdAndNootropics.N06BC01_Caffeine.Caffeine.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06B_PsychostimulantsAgentsUsedForAdhdAndNootropics.N06BC01_Caffeine.Caffeine.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06B_PsychostimulantsAgentsUsedForAdhdAndNootropics.N06BC01_Caffeine.Caffeine.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06B_PsychostimulantsAgentsUsedForAdhdAndNootropics.N06BC01_Caffeine.Caffeine.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06B_PsychostimulantsAgentsUsedForAdhdAndNootropics.N06BC01_Caffeine.Caffeine.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06B_PsychostimulantsAgentsUsedForAdhdAndNootropics.N06BC01_Caffeine.Caffeine -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06B_PsychostimulantsAgentsUsedForAdhdAndNootropics.N06BC01_Caffeine.Caffeine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.978159086080268]