Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AB03_Fentanyl.Fentanyl_3C.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.00103/0.00103, allocations: 91.55 kB / 20.19 MB, free: 4.352 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.001654/0.001654, allocations: 169.3 kB / 23.5 MB, free: 1.051 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.9646/0.9646, allocations: 177.1 MB / 203.8 MB, free: 5.629 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.585/1.585, allocations: 273.5 MB / 0.5213 GB, free: 14.86 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.N02A_Opioids.N02AB03_Fentanyl.Fentanyl_3C,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AB03_Fentanyl.Fentanyl_3C") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AB03_Fentanyl.Fentanyl_3C,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AB03_Fentanyl.Fentanyl_3C") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.6472 GB, free: 38.49 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.245e-05/2.414e-05, allocations: 6.141 kB / 0.6472 GB, free: 38.48 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AB03_Fentanyl.Fentanyl_3C): time 0.002929/0.002953, allocations: 3.335 MB / 0.6505 GB, free: 36.32 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.001298/0.004251, allocations: 0.7569 MB / 0.6512 GB, free: 35.82 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001661/0.004417, allocations: 7.312 kB / 0.6512 GB, free: 35.81 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001457/0.004563, allocations: 51.36 kB / 0.6513 GB, free: 35.79 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002793/0.004842, allocations: 140.5 kB / 0.6514 GB, free: 35.72 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002754/0.005118, allocations: 94.47 kB / 0.6515 GB, free: 35.67 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.0003807/0.005498, allocations: 480.7 kB / 0.652 GB, free: 35.41 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001711/0.005669, allocations: 77 kB / 0.652 GB, free: 35.37 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002307/0.0059, allocations: 248.5 kB / 0.6523 GB, free: 35.28 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002485/0.006149, allocations: 149 kB / 0.6524 GB, free: 35.23 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 4.713e-05/0.006196, allocations: 31.09 kB / 0.6524 GB, free: 35.23 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.74e-05/0.006243, allocations: 30.84 kB / 0.6525 GB, free: 35.23 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 4.101e-05/0.006284, allocations: 73.8 kB / 0.6525 GB, free: 35.18 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001241/0.006408, allocations: 144.6 kB / 0.6527 GB, free: 35.13 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002536/0.006662, allocations: 271.6 kB / 0.6529 GB, free: 35.01 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.006665, allocations: 4 kB / 0.6529 GB, free: 35 MB / 0.5262 GB Notification: Performance of FrontEnd: time 2.024e-06/0.006667, allocations: 5.75 kB / 0.6529 GB, free: 35 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 9.027e-06/0.006676, allocations: 5.562 kB / 0.6529 GB, free: 35 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0007153/0.007392, allocations: 0.7772 MB / 0.6537 GB, free: 34.33 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.007431, allocations: 7.719 kB / 0.6537 GB, free: 34.33 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.684e-05/0.007518, allocations: 68.62 kB / 0.6538 GB, free: 34.3 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002098/0.007728, allocations: 227 kB / 0.654 GB, free: 34.11 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.007745, allocations: 21.84 kB / 0.654 GB, free: 34.1 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.058e-05/0.007786, allocations: 29.72 kB / 0.654 GB, free: 34.09 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003348/0.00812, allocations: 353.8 kB / 0.6544 GB, free: 33.86 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.008137, allocations: 5.688 kB / 0.6544 GB, free: 33.86 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.917e-05/0.008156, allocations: 12.06 kB / 0.6544 GB, free: 33.85 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.008165, allocations: 7.156 kB / 0.6544 GB, free: 33.85 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002077/0.008373, allocations: 231.4 kB / 0.6546 GB, free: 33.74 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009151/0.009288, allocations: 0.9143 MB / 0.6555 GB, free: 33.07 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002347/0.009523, allocations: 245.8 kB / 0.6558 GB, free: 32.91 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001201/0.009643, allocations: 164.3 kB / 0.6559 GB, free: 32.79 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.009662, allocations: 6.359 kB / 0.6559 GB, free: 32.79 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003549/0.01002, allocations: 445.5 kB / 0.6563 GB, free: 32.42 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=45): time 2.996e-06/0.01002, allocations: 1.344 kB / 0.6563 GB, free: 32.42 MB / 0.5262 GB Notification: Performance of matching and sorting (n=48): time 0.001515/0.01153, allocations: 1.298 MB / 0.6576 GB, free: 31.54 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.087e-05/0.0116, allocations: 304 kB / 0.6579 GB, free: 31.19 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001877/0.01178, allocations: 304 kB / 0.6582 GB, free: 30.98 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.01181, allocations: 39.3 kB / 0.6582 GB, free: 30.95 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 7.644e-05/0.01188, allocations: 220.7 kB / 0.6584 GB, free: 30.75 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 7.614e-05/0.01196, allocations: 157.1 kB / 0.6586 GB, free: 30.62 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.832e-05/0.01206, allocations: 97.62 kB / 0.6587 GB, free: 30.57 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 8.223e-05/0.01214, allocations: 0.5181 MB / 0.6592 GB, free: 30.06 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.01229, allocations: 216.4 kB / 0.6594 GB, free: 29.89 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001857/0.01248, allocations: 390 kB / 0.6598 GB, free: 29.5 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004296/0.01291, allocations: 0.7099 MB / 0.6605 GB, free: 28.86 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.01291, allocations: 1.375 kB / 0.6605 GB, free: 28.86 MB / 0.5262 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0005181/0.01343, allocations: 0.6356 MB / 0.6611 GB, free: 28.45 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 4.201e-05/0.01347, allocations: 124 kB / 0.6612 GB, free: 28.32 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.353e-06/0.01348, allocations: 4.281 kB / 0.6612 GB, free: 28.32 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.0135, allocations: 9.188 kB / 0.6612 GB, free: 28.32 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000269/0.01377, allocations: 117.3 kB / 0.6613 GB, free: 28.3 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.504e-05/0.01378, allocations: 14.41 kB / 0.6613 GB, free: 28.3 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001488/0.01393, allocations: 20.56 kB / 0.6614 GB, free: 28.29 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.588e-05/0.01396, allocations: 22.22 kB / 0.6614 GB, free: 28.29 MB / 0.5262 GB Warning: Assuming fixed start value for the following 14 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.variableDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real peripheral.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real peripheral1.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real peripheral1.Cmin:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real peripheral1.Cmax:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real peripheral.Cmin:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real peripheral.Cmax:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) 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 peripheral1.rising:DISCRETE(fixed = true protected = true ) type: Boolean peripheral.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: 17 * Number of states: 0 () * Number of discrete variables: 29 ($PRE.peripheral1.Cmin,peripheral1.Cmin,$PRE.peripheral1.Cmax,peripheral1.Cmax,$PRE.peripheral.Cmin,peripheral.Cmin,$PRE.peripheral.Cmax,peripheral.Cmax,$PRE.central.Cmin,central.Cmin,$PRE.central.Cmax,central.Cmax,$PRE.peripheral1.rising,$PRE.peripheral.rising,$PRE.periodicDose.pulse.count,$PRE.periodicDose.pulse.T_start,$PRE.central.rising,peripheral1.rising,peripheral.rising,periodicDose.pulse.count,periodicDose.pulse.T_start,central.rising,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition7) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 4 * 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.0002351/0.01419, allocations: 336.9 kB / 0.6617 GB, free: 27.99 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.655e-05/0.01425, allocations: 62.7 kB / 0.6618 GB, free: 27.96 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.361e-05/0.01429, allocations: 37 kB / 0.6618 GB, free: 27.93 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.0143, allocations: 3.469 kB / 0.6618 GB, free: 27.93 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.0143, allocations: 5.812 kB / 0.6618 GB, free: 27.93 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.231e-05/0.01433, allocations: 24.22 kB / 0.6618 GB, free: 27.91 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.838e-05/0.01438, allocations: 21.14 kB / 0.6618 GB, free: 27.91 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.574e-05/0.01447, allocations: 12.34 kB / 0.6619 GB, free: 27.9 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.01e-05/0.01455, allocations: 42.84 kB / 0.6619 GB, free: 27.89 MB / 0.5262 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005834/0.01513, allocations: 0.6607 MB / 0.6625 GB, free: 27.47 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006152/0.01574, allocations: 0.9904 MB / 0.6635 GB, free: 26.77 MB / 0.5262 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00017/0.01591, allocations: 209 kB / 0.6637 GB, free: 26.62 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.0001025/0.01602, allocations: 209.3 kB / 0.6639 GB, free: 26.49 MB / 0.5262 GB Notification: Performance of Backend: time 3.71e-07/0.01602, allocations: 0 / 0.6639 GB, free: 26.49 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.0005903/0.01661, allocations: 0.6145 MB / 0.6645 GB, free: 25.98 MB / 0.5262 GB Notification: Performance of SimCode: time 0.00185/0.01846, allocations: 1.825 MB / 0.6663 GB, free: 24.47 MB / 0.5262 GB Notification: Performance of Templates: time 0.008155/0.02661, allocations: 5.621 MB / 0.6718 GB, free: 24.01 MB / 0.5262 GB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AB03_Fentanyl.Fentanyl_3C.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AB03_Fentanyl.Fentanyl_3C.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AB03_Fentanyl.Fentanyl_3C.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AB03_Fentanyl.Fentanyl_3C.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AB03_Fentanyl.Fentanyl_3C.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AB03_Fentanyl.Fentanyl_3C -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AB03_Fentanyl.Fentanyl_3C.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.902634451165795]