Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX05_Alfaxalone.Alfaxalone_Goodchild2020_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.006474/0.006474, allocations: 109.5 kB / 18.95 MB, free: 1.172 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.00267/0.00267, allocations: 218.2 kB / 22.25 MB, free: 3.688 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.641/1.641, allocations: 230.6 MB / 256 MB, free: 9.578 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.594/1.594, allocations: 316.8 MB / 0.6144 GB, free: 93.47 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.N01A_AnestheticsGeneral.N01AX05_Alfaxalone.Alfaxalone_Goodchild2020_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX05_Alfaxalone.Alfaxalone_Goodchild2020_reference") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX05_Alfaxalone.Alfaxalone_Goodchild2020_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX05_Alfaxalone.Alfaxalone_Goodchild2020_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.003869/0.003869, allocations: 77.34 kB / 0.775 GB, free: 14.88 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.1746, allocations: 73.99 MB / 0.8473 GB, free: 5.02 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX05_Alfaxalone.Alfaxalone_Goodchild2020_reference): time 0.004832/0.1795, allocations: 2.694 MB / 0.8499 GB, free: 2.324 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3718/0.5512, allocations: 6.599 MB / 0.8564 GB, free: 21.54 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002991/0.5515, allocations: 6.938 kB / 0.8564 GB, free: 21.54 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001939/0.5517, allocations: 38.61 kB / 0.8564 GB, free: 21.54 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003515/0.552, allocations: 120 kB / 0.8565 GB, free: 21.54 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002652/0.5523, allocations: 71.92 kB / 0.8566 GB, free: 21.54 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003904/0.5527, allocations: 377.5 kB / 0.857 GB, free: 21.47 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001964/0.5529, allocations: 51.12 kB / 0.857 GB, free: 21.47 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001801/0.5531, allocations: 145.3 kB / 0.8571 GB, free: 21.45 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002775/0.5534, allocations: 136.9 kB / 0.8573 GB, free: 21.41 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 4.813e-05/0.5534, allocations: 30.39 kB / 0.8573 GB, free: 21.41 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.582e-05/0.5535, allocations: 24 kB / 0.8573 GB, free: 21.41 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 5.182e-05/0.5535, allocations: 55.86 kB / 0.8574 GB, free: 21.4 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.000127/0.5536, allocations: 135.7 kB / 0.8575 GB, free: 21.36 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003872/0.554, allocations: 287.5 kB / 0.8578 GB, free: 21.32 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.554, allocations: 0.75 kB / 0.8578 GB, free: 21.32 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.024e-06/0.554, allocations: 0.5625 kB / 0.8578 GB, free: 21.32 MB / 490.8 MB Notification: Performance of Transformations before backend: time 8.747e-06/0.554, allocations: 0.75 kB / 0.8578 GB, free: 21.32 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.001108/0.5552, allocations: 0.6015 MB / 0.8584 GB, free: 20.85 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.5552, allocations: 8.875 kB / 0.8584 GB, free: 20.85 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.351e-05/0.5553, allocations: 37.41 kB / 0.8584 GB, free: 20.83 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003052/0.5556, allocations: 208.3 kB / 0.8586 GB, free: 20.68 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.443e-05/0.5556, allocations: 15.84 kB / 0.8586 GB, free: 20.68 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.127e-05/0.5557, allocations: 26.7 kB / 0.8586 GB, free: 20.67 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004847/0.5562, allocations: 289.7 kB / 0.8589 GB, free: 20.55 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.207e-05/0.5562, allocations: 4.547 kB / 0.8589 GB, free: 20.55 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.699e-05/0.5562, allocations: 11.25 kB / 0.8589 GB, free: 20.55 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-06/0.5562, allocations: 7.562 kB / 0.8589 GB, free: 20.55 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004411/0.5567, allocations: 234.4 kB / 0.8592 GB, free: 20.48 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00109/0.5577, allocations: 0.6767 MB / 0.8598 GB, free: 20.13 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005271/0.5583, allocations: 244.9 kB / 0.8601 GB, free: 20.04 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002217/0.5585, allocations: 147.9 kB / 0.8602 GB, free: 19.97 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.611e-05/0.5585, allocations: 1.234 kB / 0.8602 GB, free: 19.97 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004371/0.5589, allocations: 363.4 kB / 0.8606 GB, free: 19.73 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 3.066e-06/0.559, allocations: 0.625 kB / 0.8606 GB, free: 19.73 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.001867/0.5608, allocations: 1.079 MB / 0.8616 GB, free: 19.19 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.097e-05/0.5609, allocations: 221.1 kB / 0.8618 GB, free: 18.94 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002374/0.5611, allocations: 243.5 kB / 0.8621 GB, free: 18.83 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.747e-05/0.5612, allocations: 39.77 kB / 0.8621 GB, free: 18.8 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.5613, allocations: 159.4 kB / 0.8622 GB, free: 18.69 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 8.011e-05/0.5613, allocations: 113.9 kB / 0.8624 GB, free: 18.62 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.5614, allocations: 73.25 kB / 0.8624 GB, free: 18.6 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.5615, allocations: 340.9 kB / 0.8627 GB, free: 18.29 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002912/0.5618, allocations: 209.7 kB / 0.8629 GB, free: 18.19 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003466/0.5622, allocations: 318.7 kB / 0.8632 GB, free: 17.95 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000558/0.5627, allocations: 431 kB / 0.8637 GB, free: 17.69 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.5627, allocations: 2.375 kB / 0.8637 GB, free: 17.69 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008982/0.5636, allocations: 0.5513 MB / 0.8642 GB, free: 17.43 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.836e-05/0.5637, allocations: 92.17 kB / 0.8643 GB, free: 17.33 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.5637, allocations: 4.312 kB / 0.8643 GB, free: 17.33 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.64e-05/0.5638, allocations: 4.969 kB / 0.8643 GB, free: 17.33 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003166/0.5641, allocations: 81.38 kB / 0.8644 GB, free: 17.32 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.343e-05/0.5641, allocations: 5.281 kB / 0.8644 GB, free: 17.32 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002236/0.5643, allocations: 28.28 kB / 0.8644 GB, free: 17.32 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.198e-05/0.5643, allocations: 16.22 kB / 0.8644 GB, free: 17.32 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.0002541/0.5646, allocations: 223.5 kB / 0.8646 GB, free: 17.14 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.003e-05/0.5646, allocations: 33.78 kB / 0.8647 GB, free: 17.12 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.552e-05/0.5647, allocations: 31.67 kB / 0.8647 GB, free: 17.11 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/0.5647, allocations: 5.438 kB / 0.8647 GB, free: 17.11 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.5647, allocations: 3.938 kB / 0.8647 GB, free: 17.11 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.425e-06/0.5647, allocations: 7.672 kB / 0.8647 GB, free: 17.11 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00119/0.5659, allocations: 0.7628 MB / 0.8655 GB, free: 16.73 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.5659, allocations: 0.5 kB / 0.8655 GB, free: 16.73 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002754/0.5662, allocations: 53.64 kB / 0.8655 GB, free: 16.73 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.5662, allocations: 1.562 kB / 0.8655 GB, free: 16.73 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.505e-05/0.5662, allocations: 18.72 kB / 0.8655 GB, free: 16.73 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/0.5663, allocations: 1.188 kB / 0.8655 GB, free: 16.73 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.5663, allocations: 2.531 kB / 0.8655 GB, free: 16.73 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001123/0.5674, allocations: 0.7202 MB / 0.8662 GB, free: 16.38 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.038e-05/0.5674, allocations: 27.84 kB / 0.8663 GB, free: 16.37 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.266e-05/0.5675, allocations: 16.38 kB / 0.8663 GB, free: 16.36 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001996/0.5677, allocations: 16.25 kB / 0.8663 GB, free: 16.36 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/0.5678, allocations: 30.05 kB / 0.8663 GB, free: 16.36 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.025e-05/0.5678, allocations: 14.55 kB / 0.8663 GB, free: 16.36 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0002057/0.568, allocations: 182.9 kB / 0.8665 GB, free: 16.29 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.568, allocations: 0 / 0.8665 GB, free: 16.29 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003762/0.5684, allocations: 83.56 kB / 0.8666 GB, free: 16.29 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.0001532/0.5686, allocations: 121.9 kB / 0.8667 GB, free: 16.19 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0007828/0.5694, allocations: 0.5711 MB / 0.8673 GB, free: 15.83 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.5694, allocations: 0.5938 kB / 0.8673 GB, free: 15.83 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003366/0.5697, allocations: 301.1 kB / 0.8676 GB, free: 15.64 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000573/0.5703, allocations: 91 kB / 0.8676 GB, free: 15.63 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001787/0.5721, allocations: 0.9463 MB / 0.8686 GB, free: 15.15 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001706/0.5722, allocations: 159.2 kB / 0.8687 GB, free: 15.07 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001679/0.5724, allocations: 36.03 kB / 0.8688 GB, free: 15.06 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.815e-05/0.5725, allocations: 24.59 kB / 0.8688 GB, free: 15.05 MB / 490.8 MB Notification: Performance of SimCode: time 7.22e-07/0.5725, allocations: 1.719 kB / 0.8688 GB, free: 15.05 MB / 490.8 MB Notification: Performance of Templates: time 0.01277/0.5852, allocations: 4.997 MB / 0.8737 GB, free: 14.56 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX05_Alfaxalone.Alfaxalone_Goodchild2020_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX05_Alfaxalone.Alfaxalone_Goodchild2020_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX05_Alfaxalone.Alfaxalone_Goodchild2020_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX05_Alfaxalone.Alfaxalone_Goodchild2020_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX05_Alfaxalone.Alfaxalone_Goodchild2020_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX05_Alfaxalone.Alfaxalone_Goodchild2020_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX05_Alfaxalone.Alfaxalone_Goodchild2020_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.943038712022826]