Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide_Bouillon2004_reference.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.001889/0.001889, allocations: 105.5 kB / 18.95 MB, free: 1.176 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.002103/0.002103, allocations: 215.5 kB / 22.25 MB, free: 3.566 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.763/1.763, allocations: 230.6 MB / 256 MB, free: 9.598 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.563/1.563, allocations: 316.7 MB / 0.6144 GB, free: 92.83 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.N02A_Opioids.N02AC03_Piritramide.Piritramide_Bouillon2004_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=345600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide_Bouillon2004_reference") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide_Bouillon2004_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=345600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide_Bouillon2004_reference") [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.003882/0.003882, allocations: 73.36 kB / 0.775 GB, free: 14.62 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.1875, allocations: 74 MB / 0.8472 GB, free: 4.762 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide_Bouillon2004_reference): time 0.004802/0.1923, allocations: 2.7 MB / 0.8499 GB, free: 2.062 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.2839/0.4762, allocations: 6.6 MB / 0.8563 GB, free: 22.07 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001989/0.4764, allocations: 2.781 kB / 0.8563 GB, free: 22.07 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001575/0.4765, allocations: 37.27 kB / 0.8564 GB, free: 22.07 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002765/0.4768, allocations: 121.1 kB / 0.8565 GB, free: 22.07 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002348/0.477, allocations: 80.05 kB / 0.8566 GB, free: 22.06 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003118/0.4773, allocations: 374.8 kB / 0.8569 GB, free: 21.98 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001528/0.4775, allocations: 54.66 kB / 0.857 GB, free: 21.98 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000151/0.4776, allocations: 140.8 kB / 0.8571 GB, free: 21.96 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002425/0.4779, allocations: 138.3 kB / 0.8572 GB, free: 21.92 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 4.392e-05/0.4779, allocations: 26.09 kB / 0.8573 GB, free: 21.92 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.737e-05/0.478, allocations: 27.22 kB / 0.8573 GB, free: 21.92 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.202e-05/0.478, allocations: 53.81 kB / 0.8573 GB, free: 21.9 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001208/0.4782, allocations: 137.4 kB / 0.8575 GB, free: 21.87 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002972/0.4784, allocations: 287.7 kB / 0.8577 GB, free: 21.81 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.4785, allocations: 2.375 kB / 0.8577 GB, free: 21.81 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.462e-06/0.4785, allocations: 0 / 0.8577 GB, free: 21.81 MB / 490.8 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.4785, allocations: 0.75 kB / 0.8577 GB, free: 21.81 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0009018/0.4794, allocations: 0.5966 MB / 0.8583 GB, free: 21.34 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.4794, allocations: 8.875 kB / 0.8583 GB, free: 21.34 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.318e-05/0.4795, allocations: 35.42 kB / 0.8584 GB, free: 21.33 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002574/0.4797, allocations: 214.3 kB / 0.8586 GB, free: 21.16 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.4797, allocations: 18.22 kB / 0.8586 GB, free: 21.16 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.691e-05/0.4798, allocations: 25.28 kB / 0.8586 GB, free: 21.16 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004236/0.4802, allocations: 286.5 kB / 0.8589 GB, free: 21.04 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.997e-05/0.4802, allocations: 5.922 kB / 0.8589 GB, free: 21.04 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.205e-05/0.4802, allocations: 10.38 kB / 0.8589 GB, free: 21.04 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.4803, allocations: 4.531 kB / 0.8589 GB, free: 21.04 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004062/0.4807, allocations: 237.5 kB / 0.8591 GB, free: 20.97 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009783/0.4816, allocations: 0.6686 MB / 0.8598 GB, free: 20.61 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004912/0.4821, allocations: 242.4 kB / 0.86 GB, free: 20.52 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002182/0.4823, allocations: 155.8 kB / 0.8602 GB, free: 20.45 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.607e-05/0.4824, allocations: 3.406 kB / 0.8602 GB, free: 20.45 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003939/0.4828, allocations: 355.2 kB / 0.8605 GB, free: 20.2 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 1.904e-06/0.4828, allocations: 3.938 kB / 0.8605 GB, free: 20.2 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.001712/0.4845, allocations: 1.081 MB / 0.8616 GB, free: 19.66 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.663e-05/0.4845, allocations: 220.5 kB / 0.8618 GB, free: 19.41 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001965/0.4847, allocations: 247.6 kB / 0.862 GB, free: 19.3 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/0.4847, allocations: 36.86 kB / 0.8621 GB, free: 19.27 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.056e-05/0.4848, allocations: 156.8 kB / 0.8622 GB, free: 19.16 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.578e-05/0.4849, allocations: 119.8 kB / 0.8623 GB, free: 19.09 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.528e-05/0.485, allocations: 70.94 kB / 0.8624 GB, free: 19.07 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 5.758e-05/0.485, allocations: 343.6 kB / 0.8627 GB, free: 18.76 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002689/0.4853, allocations: 204.9 kB / 0.8629 GB, free: 18.66 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003013/0.4856, allocations: 324.7 kB / 0.8632 GB, free: 18.42 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004912/0.4861, allocations: 429.9 kB / 0.8636 GB, free: 18.16 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.4861, allocations: 1.281 kB / 0.8636 GB, free: 18.16 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007479/0.4868, allocations: 0.5489 MB / 0.8642 GB, free: 17.9 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.372e-05/0.4869, allocations: 91.23 kB / 0.8642 GB, free: 17.8 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.4869, allocations: 4.75 kB / 0.8643 GB, free: 17.8 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/0.4869, allocations: 3.844 kB / 0.8643 GB, free: 17.8 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003071/0.4872, allocations: 82.55 kB / 0.8643 GB, free: 17.8 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.4872, allocations: 6.922 kB / 0.8643 GB, free: 17.8 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002339/0.4875, allocations: 25.16 kB / 0.8644 GB, free: 17.79 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.048e-05/0.4875, allocations: 17.16 kB / 0.8644 GB, free: 17.79 MB / 490.8 MB Warning: Assuming fixed start value for the following 1 variables: periodicDose.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 (peripheral.Cmin,$PRE.peripheral.Cmin,peripheral.Cmax,$PRE.peripheral.Cmax,central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,peripheral.rising,$PRE.peripheral.rising,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 46 * 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.0001944/0.4877, allocations: 225.9 kB / 0.8646 GB, free: 17.61 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.371e-05/0.4877, allocations: 32.41 kB / 0.8646 GB, free: 17.59 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.1e-05/0.4878, allocations: 33.53 kB / 0.8647 GB, free: 17.59 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.4878, allocations: 8.047 kB / 0.8647 GB, free: 17.58 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.4878, allocations: 0.5625 kB / 0.8647 GB, free: 17.58 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.4878, allocations: 6.969 kB / 0.8647 GB, free: 17.58 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001054/0.4889, allocations: 0.7616 MB / 0.8654 GB, free: 17.2 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.4889, allocations: 5.656 kB / 0.8654 GB, free: 17.2 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002729/0.4891, allocations: 52.39 kB / 0.8655 GB, free: 17.2 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.4892, allocations: 3.328 kB / 0.8655 GB, free: 17.2 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.924e-05/0.4892, allocations: 14.2 kB / 0.8655 GB, free: 17.19 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.4892, allocations: 2.359 kB / 0.8655 GB, free: 17.19 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.4892, allocations: 0.625 kB / 0.8655 GB, free: 17.19 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/0.4902, allocations: 0.7236 MB / 0.8662 GB, free: 16.84 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.817e-05/0.4903, allocations: 27.11 kB / 0.8662 GB, free: 16.83 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.148e-05/0.4903, allocations: 17.86 kB / 0.8662 GB, free: 16.82 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002031/0.4905, allocations: 15.39 kB / 0.8663 GB, free: 16.82 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.4906, allocations: 30.08 kB / 0.8663 GB, free: 16.82 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.527e-05/0.4906, allocations: 13.73 kB / 0.8663 GB, free: 16.82 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001704/0.4908, allocations: 179.7 kB / 0.8665 GB, free: 16.75 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4908, allocations: 0 / 0.8665 GB, free: 16.75 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003693/0.4912, allocations: 86.34 kB / 0.8666 GB, free: 16.75 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,peripheral.C,peripheral.AUC) * Number of discrete variables: 13 ($whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count,peripheral.Cmax,peripheral.Cmin,peripheral.rising) * Number of discrete states: 11 (periodicDose.pulse.count,peripheral.Cmin,$whenCondition4,peripheral.Cmax,$whenCondition3,peripheral.rising,central.Cmin,$whenCondition2,central.Cmax,$whenCondition1,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * 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.000133/0.4913, allocations: 123.4 kB / 0.8667 GB, free: 16.65 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0007325/0.4921, allocations: 0.5716 MB / 0.8672 GB, free: 16.29 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.4921, allocations: 0.5 kB / 0.8672 GB, free: 16.29 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003384/0.4924, allocations: 299.4 kB / 0.8675 GB, free: 16.1 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005384/0.4929, allocations: 93.11 kB / 0.8676 GB, free: 16.09 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001584/0.4945, allocations: 0.9403 MB / 0.8685 GB, free: 15.59 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001629/0.4947, allocations: 160.2 kB / 0.8687 GB, free: 15.51 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.000157/0.4948, allocations: 35.08 kB / 0.8687 GB, free: 15.5 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.16e-05/0.4949, allocations: 26.55 kB / 0.8687 GB, free: 15.5 MB / 490.8 MB Notification: Performance of SimCode: time 5.41e-07/0.4949, allocations: 0 / 0.8687 GB, free: 15.5 MB / 490.8 MB Notification: Performance of Templates: time 0.01111/0.506, allocations: 4.99 MB / 0.8736 GB, free: 15 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide_Bouillon2004_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide_Bouillon2004_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide_Bouillon2004_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide_Bouillon2004_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide_Bouillon2004_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide_Bouillon2004_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide_Bouillon2004_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.208912202855572]