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.001115/0.001115, allocations: 92.52 kB / 19.94 MB, free: 4.602 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.001146/0.001146, allocations: 165.9 kB / 23.21 MB, free: 1.332 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.9111/0.9111, allocations: 177.1 MB / 203.5 MB, free: 5.773 MB / 186.7 MB " [Timeout remaining time 179] 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 0.644/0.644, allocations: 291.2 MB / 0.5382 GB, free: 51.73 MB / 410.7 MB " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.6974 GB, free: 10.38 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.848e-05/3.003e-05, allocations: 9.234 kB / 0.6974 GB, free: 10.38 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX05_Alfaxalone.Alfaxalone_Goodchild2020_reference): time 0.00292/0.00295, allocations: 2.706 MB / 0.7 GB, free: 7.652 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.00451/0.007459, allocations: 6.611 MB / 0.7065 GB, free: 1.031 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001212/0.00758, allocations: 4 kB / 0.7065 GB, free: 1.027 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001344/0.007715, allocations: 39.56 kB / 0.7065 GB, free: 0.9883 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002371/0.007952, allocations: 119 kB / 0.7067 GB, free: 0.8711 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002126/0.008164, allocations: 67.84 kB / 0.7067 GB, free: 0.8047 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002701/0.008435, allocations: 393.9 kB / 0.7071 GB, free: 428 kB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001465/0.008581, allocations: 64.81 kB / 0.7072 GB, free: 368 kB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001628/0.008744, allocations: 211.5 kB / 0.7074 GB, free: 156 kB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001871/0.008931, allocations: 115.6 kB / 0.7075 GB, free: 40 kB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.389e-05/0.008965, allocations: 24 kB / 0.7075 GB, free: 16 kB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.875e-05/0.009014, allocations: 24.05 kB / 0.7075 GB, free: 15.99 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 4.579e-05/0.009059, allocations: 55.7 kB / 0.7076 GB, free: 15.94 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001129/0.009172, allocations: 119.7 kB / 0.7077 GB, free: 15.82 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002805/0.009453, allocations: 291.1 kB / 0.708 GB, free: 15.54 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.009456, allocations: 0 / 0.708 GB, free: 15.54 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.272e-06/0.009457, allocations: 0 / 0.708 GB, free: 15.54 MB / 426.8 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.009461, allocations: 4 kB / 0.708 GB, free: 15.53 MB / 426.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.0007371/0.0102, allocations: 0.5885 MB / 0.7085 GB, free: 14.89 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.01023, allocations: 8.031 kB / 0.7085 GB, free: 14.88 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.314e-05/0.01029, allocations: 32.75 kB / 0.7086 GB, free: 14.85 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002084/0.01049, allocations: 220.7 kB / 0.7088 GB, free: 14.61 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.01051, allocations: 20.73 kB / 0.7088 GB, free: 14.59 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.324e-05/0.01055, allocations: 24.38 kB / 0.7088 GB, free: 14.57 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003095/0.01086, allocations: 288.7 kB / 0.7091 GB, free: 14.27 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.01087, allocations: 3.953 kB / 0.7091 GB, free: 14.26 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.813e-05/0.01089, allocations: 12 kB / 0.7091 GB, free: 14.25 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.0109, allocations: 4 kB / 0.7091 GB, free: 14.25 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002733/0.01117, allocations: 232.4 kB / 0.7093 GB, free: 14 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000766/0.01193, allocations: 0.6718 MB / 0.71 GB, free: 13.29 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003798/0.01231, allocations: 242.6 kB / 0.7102 GB, free: 13.03 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001352/0.01245, allocations: 148.4 kB / 0.7104 GB, free: 12.87 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.124e-05/0.01246, allocations: 4 kB / 0.7104 GB, free: 12.87 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002866/0.01275, allocations: 365.5 kB / 0.7107 GB, free: 12.46 MB / 426.8 MB Notification: Performance of pre-optimization done (n=32): time 1.713e-06/0.01275, allocations: 0 / 0.7107 GB, free: 12.46 MB / 426.8 MB Notification: Performance of matching and sorting (n=34): time 0.00127/0.01402, allocations: 1.087 MB / 0.7118 GB, free: 11.29 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.855e-05/0.0141, allocations: 225.6 kB / 0.712 GB, free: 11.02 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001682/0.01427, allocations: 237.9 kB / 0.7122 GB, free: 10.78 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.01429, allocations: 41.64 kB / 0.7123 GB, free: 10.73 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.183e-05/0.01437, allocations: 160.8 kB / 0.7124 GB, free: 10.57 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002311/0.0146, allocations: 115.1 kB / 0.7125 GB, free: 10.45 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.923e-05/0.01467, allocations: 74.19 kB / 0.7126 GB, free: 10.37 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 7.821e-05/0.01475, allocations: 342.8 kB / 0.7129 GB, free: 10.03 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001865/0.01493, allocations: 211.9 kB / 0.7131 GB, free: 9.801 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000208/0.01514, allocations: 307.2 kB / 0.7134 GB, free: 9.441 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000333/0.01548, allocations: 439 kB / 0.7138 GB, free: 8.945 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.01548, allocations: 0 / 0.7138 GB, free: 8.945 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004694/0.01595, allocations: 0.5497 MB / 0.7144 GB, free: 8.352 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.187e-05/0.016, allocations: 93.09 kB / 0.7145 GB, free: 8.242 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.016, allocations: 352 / 0.7145 GB, free: 8.242 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.01602, allocations: 12 kB / 0.7145 GB, free: 8.23 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000162/0.01618, allocations: 75.83 kB / 0.7146 GB, free: 8.156 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.01619, allocations: 4 kB / 0.7146 GB, free: 8.152 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001097/0.0163, allocations: 23.98 kB / 0.7146 GB, free: 8.129 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.126e-05/0.01632, allocations: 19.98 kB / 0.7146 GB, free: 8.109 MB / 426.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.0001692/0.01649, allocations: 219.1 kB / 0.7148 GB, free: 7.871 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.712e-05/0.01652, allocations: 31.81 kB / 0.7148 GB, free: 7.84 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.762e-05/0.01656, allocations: 34.95 kB / 0.7149 GB, free: 7.805 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.01656, allocations: 4 kB / 0.7149 GB, free: 7.801 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.01656, allocations: 3.938 kB / 0.7149 GB, free: 7.797 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.01657, allocations: 0 / 0.7149 GB, free: 7.797 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006681/0.01723, allocations: 0.7561 MB / 0.7156 GB, free: 6.98 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.01724, allocations: 3.984 kB / 0.7156 GB, free: 6.977 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001413/0.01738, allocations: 55.91 kB / 0.7157 GB, free: 6.922 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.01738, allocations: 8 kB / 0.7157 GB, free: 6.914 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.694e-05/0.0174, allocations: 8 kB / 0.7157 GB, free: 6.906 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.0174, allocations: 3.984 kB / 0.7157 GB, free: 6.902 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.0174, allocations: 3.938 kB / 0.7157 GB, free: 6.898 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006504/0.01805, allocations: 0.7268 MB / 0.7164 GB, free: 6.113 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.043e-05/0.01808, allocations: 31.86 kB / 0.7164 GB, free: 6.082 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.442e-05/0.01812, allocations: 12.12 kB / 0.7165 GB, free: 6.07 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.563e-05/0.01821, allocations: 23.98 kB / 0.7165 GB, free: 6.047 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.836e-05/0.01828, allocations: 27.89 kB / 0.7165 GB, free: 6.02 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.529e-05/0.0183, allocations: 12 kB / 0.7165 GB, free: 6.008 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001039/0.0184, allocations: 181.2 kB / 0.7167 GB, free: 5.832 MB / 426.8 MB Notification: Performance of sort global known variables: time 1.6e-07/0.0184, allocations: 3.938 kB / 0.7167 GB, free: 5.828 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0002102/0.01861, allocations: 84 kB / 0.7168 GB, free: 5.746 MB / 426.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.0001024/0.01871, allocations: 129.2 kB / 0.7169 GB, free: 5.617 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0005073/0.01922, allocations: 0.557 MB / 0.7174 GB, free: 4.992 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01922, allocations: 0 / 0.7174 GB, free: 4.992 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002042/0.01943, allocations: 309.8 kB / 0.7177 GB, free: 4.656 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003253/0.01975, allocations: 89.11 kB / 0.7178 GB, free: 4.57 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009097/0.02066, allocations: 0.8125 MB / 0.7186 GB, free: 3.715 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.628e-05/0.02075, allocations: 152.3 kB / 0.7188 GB, free: 3.543 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.909e-05/0.02082, allocations: 36.5 kB / 0.7188 GB, free: 3.508 MB / 426.8 MB Notification: Performance of SimCode: time 6.32e-07/0.02082, allocations: 0 / 0.7188 GB, free: 3.508 MB / 426.8 MB Notification: Performance of Templates: time 0.1687/0.1896, allocations: 4.025 MB / 0.7227 GB, free: 36.81 MB / 426.8 MB " [Timeout remaining time 660] 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 > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX05_Alfaxalone.Alfaxalone_Goodchild2020_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.593820204026997]