Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX05_Alfaxalone.Alfaxalone.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.002651/0.002651, allocations: 101.5 kB / 18.95 MB, free: 1.18 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.0021/0.0021, allocations: 214.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.68/1.68, allocations: 230.6 MB / 256 MB, free: 9.586 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.677/1.677, allocations: 316.7 MB / 0.6144 GB, free: 93.32 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,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX05_Alfaxalone.Alfaxalone") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX05_Alfaxalone.Alfaxalone,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX05_Alfaxalone.Alfaxalone") [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.003988/0.003988, allocations: 81.61 kB / 0.775 GB, free: 14.88 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1933/0.1973, allocations: 73.99 MB / 0.8472 GB, free: 5.039 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX05_Alfaxalone.Alfaxalone): time 0.004208/0.2015, allocations: 2.305 MB / 0.8495 GB, free: 2.734 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3692/0.5707, allocations: 6.519 MB / 0.8558 GB, free: 21.81 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003259/0.571, allocations: 2.25 kB / 0.8558 GB, free: 21.81 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001871/0.5712, allocations: 29.2 kB / 0.8559 GB, free: 21.81 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002939/0.5715, allocations: 82.69 kB / 0.856 GB, free: 21.81 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002672/0.5718, allocations: 59.25 kB / 0.856 GB, free: 21.81 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.000304/0.5721, allocations: 255.5 kB / 0.8563 GB, free: 21.77 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001607/0.5722, allocations: 35.22 kB / 0.8563 GB, free: 21.76 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001639/0.5724, allocations: 101.6 kB / 0.8564 GB, free: 21.75 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000249/0.5727, allocations: 97.22 kB / 0.8565 GB, free: 21.72 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 4.013e-05/0.5727, allocations: 18 kB / 0.8565 GB, free: 21.72 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.107e-05/0.5727, allocations: 16.53 kB / 0.8565 GB, free: 21.72 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.818e-05/0.5728, allocations: 37.42 kB / 0.8565 GB, free: 21.71 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001115/0.5729, allocations: 98.5 kB / 0.8566 GB, free: 21.69 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002747/0.5732, allocations: 192.4 kB / 0.8568 GB, free: 21.66 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.5732, allocations: 2.625 kB / 0.8568 GB, free: 21.66 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.954e-06/0.5732, allocations: 3.562 kB / 0.8568 GB, free: 21.66 MB / 490.8 MB Notification: Performance of Transformations before backend: time 8.436e-06/0.5732, allocations: 0 / 0.8568 GB, free: 21.66 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0009395/0.5741, allocations: 0.4904 MB / 0.8573 GB, free: 21.26 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.5742, allocations: 8.344 kB / 0.8573 GB, free: 21.26 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.428e-05/0.5742, allocations: 23.3 kB / 0.8573 GB, free: 21.25 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002505/0.5745, allocations: 186.3 kB / 0.8575 GB, free: 21.09 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.5745, allocations: 14.36 kB / 0.8575 GB, free: 21.09 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.608e-05/0.5745, allocations: 23.39 kB / 0.8576 GB, free: 21.08 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003825/0.5749, allocations: 188.1 kB / 0.8577 GB, free: 21 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.5749, allocations: 2.391 kB / 0.8577 GB, free: 21 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.002e-05/0.575, allocations: 4.625 kB / 0.8577 GB, free: 21 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.575, allocations: 3.969 kB / 0.8577 GB, free: 21 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003562/0.5753, allocations: 146.1 kB / 0.8579 GB, free: 20.97 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007612/0.5761, allocations: 485.9 kB / 0.8583 GB, free: 20.67 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005051/0.5766, allocations: 172 kB / 0.8585 GB, free: 20.62 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000168/0.5768, allocations: 94.17 kB / 0.8586 GB, free: 20.58 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.292e-05/0.5768, allocations: 2.812 kB / 0.8586 GB, free: 20.58 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003378/0.5771, allocations: 230.6 kB / 0.8588 GB, free: 20.43 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 2.555e-06/0.5771, allocations: 0.5938 kB / 0.8588 GB, free: 20.43 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001444/0.5786, allocations: 0.7026 MB / 0.8595 GB, free: 20.07 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.974e-05/0.5786, allocations: 134.9 kB / 0.8596 GB, free: 19.91 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000204/0.5788, allocations: 221.7 kB / 0.8598 GB, free: 19.81 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/0.5788, allocations: 31.64 kB / 0.8599 GB, free: 19.78 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.606e-05/0.5789, allocations: 132.9 kB / 0.86 GB, free: 19.68 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.913e-05/0.579, allocations: 72.83 kB / 0.8601 GB, free: 19.64 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.91e-05/0.579, allocations: 52.2 kB / 0.8601 GB, free: 19.62 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 6.709e-05/0.5791, allocations: 339 kB / 0.8604 GB, free: 19.3 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002283/0.5793, allocations: 143.2 kB / 0.8606 GB, free: 19.23 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002414/0.5796, allocations: 224.7 kB / 0.8608 GB, free: 19.06 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003747/0.58, allocations: 282.4 kB / 0.8611 GB, free: 18.9 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.58, allocations: 0.5 kB / 0.8611 GB, free: 18.9 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005474/0.5805, allocations: 387.7 kB / 0.8614 GB, free: 18.72 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.837e-05/0.5805, allocations: 61.44 kB / 0.8615 GB, free: 18.66 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.5805, allocations: 3.938 kB / 0.8615 GB, free: 18.65 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.226e-05/0.5806, allocations: 7.953 kB / 0.8615 GB, free: 18.65 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002032/0.5808, allocations: 55.56 kB / 0.8616 GB, free: 18.64 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.283e-05/0.5808, allocations: 8.469 kB / 0.8616 GB, free: 18.64 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001765/0.581, allocations: 20.91 kB / 0.8616 GB, free: 18.64 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.007e-05/0.581, allocations: 10.12 kB / 0.8616 GB, free: 18.64 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: 8 * Number of states: 0 () * Number of discrete variables: 13 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 2 * 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.0002056/0.5812, allocations: 179.3 kB / 0.8618 GB, free: 18.49 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.573e-05/0.5812, allocations: 21.69 kB / 0.8618 GB, free: 18.48 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.881e-05/0.5813, allocations: 28.09 kB / 0.8618 GB, free: 18.46 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.5813, allocations: 4.75 kB / 0.8618 GB, free: 18.46 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.5813, allocations: 0 / 0.8618 GB, free: 18.46 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.5813, allocations: 4.188 kB / 0.8618 GB, free: 18.46 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007236/0.582, allocations: 0.5338 MB / 0.8623 GB, free: 18.16 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.582, allocations: 0 / 0.8623 GB, free: 18.16 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001852/0.5822, allocations: 41.8 kB / 0.8624 GB, free: 18.16 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.5822, allocations: 2.312 kB / 0.8624 GB, free: 18.16 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.782e-05/0.5822, allocations: 4.031 kB / 0.8624 GB, free: 18.16 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.5822, allocations: 7.875 kB / 0.8624 GB, free: 18.15 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.5822, allocations: 2.188 kB / 0.8624 GB, free: 18.15 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007028/0.5829, allocations: 0.4935 MB / 0.8629 GB, free: 17.91 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.348e-05/0.583, allocations: 17.48 kB / 0.8629 GB, free: 17.9 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.375e-05/0.583, allocations: 7.781 kB / 0.8629 GB, free: 17.9 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000167/0.5832, allocations: 17.86 kB / 0.8629 GB, free: 17.9 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.662e-05/0.5833, allocations: 21.31 kB / 0.8629 GB, free: 17.9 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.937e-05/0.5833, allocations: 8.625 kB / 0.863 GB, free: 17.9 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001462/0.5834, allocations: 156.2 kB / 0.8631 GB, free: 17.82 MB / 490.8 MB Notification: Performance of sort global known variables: time 1e-07/0.5834, allocations: 0.5938 kB / 0.8631 GB, free: 17.82 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003128/0.5838, allocations: 63.14 kB / 0.8632 GB, free: 17.82 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass) * Number of discrete variables: 8 ($whenCondition1,$whenCondition2,$whenCondition3,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 6 (periodicDose.pulse.count,central.Cmin,$whenCondition3,central.Cmax,$whenCondition2,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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.000127/0.5839, allocations: 115.2 kB / 0.8633 GB, free: 17.72 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005962/0.5845, allocations: 383.2 kB / 0.8636 GB, free: 17.49 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.5845, allocations: 1.562 kB / 0.8636 GB, free: 17.49 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00024/0.5847, allocations: 170.9 kB / 0.8638 GB, free: 17.39 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000515/0.5852, allocations: 71.12 kB / 0.8639 GB, free: 17.39 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001578/0.5868, allocations: 0.6815 MB / 0.8645 GB, free: 17.07 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002043/0.587, allocations: 127.3 kB / 0.8647 GB, free: 16.99 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001451/0.5872, allocations: 22.3 kB / 0.8647 GB, free: 16.99 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.949e-05/0.5872, allocations: 25.3 kB / 0.8647 GB, free: 16.98 MB / 490.8 MB Notification: Performance of SimCode: time 1.693e-06/0.5872, allocations: 0 / 0.8647 GB, free: 16.98 MB / 490.8 MB Notification: Performance of Templates: time 0.01006/0.5973, allocations: 3.621 MB / 0.8682 GB, free: 16.66 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX05_Alfaxalone.Alfaxalone.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX05_Alfaxalone.Alfaxalone.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX05_Alfaxalone.Alfaxalone.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX05_Alfaxalone.Alfaxalone.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX05_Alfaxalone.Alfaxalone.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX05_Alfaxalone.Alfaxalone -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX05_Alfaxalone.Alfaxalone.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.924677321920171]