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.002423/0.002423, allocations: 84.44 kB / 19.17 MB, free: 0.7344 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.003124/0.003124, allocations: 173.9 kB / 22.46 MB, free: 2.098 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 1.715/1.715, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.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.363/1.363, allocations: 292.9 MB / 0.5392 GB, free: 49.82 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: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.6999 GB, free: 8.551 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.824e-05/2.995e-05, allocations: 5.234 kB / 0.6999 GB, free: 8.547 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX05_Alfaxalone.Alfaxalone_Goodchild2020_reference): time 0.003249/0.003279, allocations: 2.708 MB / 0.7025 GB, free: 5.82 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0067/0.009979, allocations: 6.6 MB / 0.709 GB, free: 15.21 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002522/0.01023, allocations: 4 kB / 0.709 GB, free: 15.21 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001956/0.01043, allocations: 43.56 kB / 0.709 GB, free: 15.16 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003681/0.01079, allocations: 130.9 kB / 0.7092 GB, free: 15.04 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003014/0.0111, allocations: 71.84 kB / 0.7092 GB, free: 14.96 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0005197/0.01162, allocations: 389.9 kB / 0.7096 GB, free: 14.58 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002028/0.01182, allocations: 60.81 kB / 0.7096 GB, free: 14.53 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003045/0.01212, allocations: 199.6 kB / 0.7098 GB, free: 14.33 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003202/0.01244, allocations: 123.6 kB / 0.71 GB, free: 14.21 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 5.156e-05/0.01249, allocations: 24 kB / 0.71 GB, free: 14.19 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.566e-05/0.01255, allocations: 24 kB / 0.71 GB, free: 14.16 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 6.576e-05/0.01262, allocations: 59.7 kB / 0.7101 GB, free: 14.11 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001635/0.01278, allocations: 119.7 kB / 0.7102 GB, free: 13.99 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0004126/0.01319, allocations: 287.1 kB / 0.7104 GB, free: 13.71 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.0132, allocations: 0 / 0.7104 GB, free: 13.71 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.463e-06/0.0132, allocations: 0 / 0.7104 GB, free: 13.71 MB / 426.8 MB Notification: Performance of Transformations before backend: time 6.673e-06/0.01321, allocations: 0 / 0.7104 GB, free: 13.71 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.001274/0.01448, allocations: 0.5963 MB / 0.711 GB, free: 13.06 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.01453, allocations: 16.03 kB / 0.711 GB, free: 13.04 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.804e-05/0.01462, allocations: 36.73 kB / 0.7111 GB, free: 13.01 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003528/0.01498, allocations: 216.7 kB / 0.7113 GB, free: 12.77 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.92e-05/0.01501, allocations: 12.75 kB / 0.7113 GB, free: 12.76 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001989/0.01521, allocations: 24.38 kB / 0.7113 GB, free: 12.74 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000576/0.01578, allocations: 288.7 kB / 0.7116 GB, free: 12.43 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.443e-05/0.01581, allocations: 7.938 kB / 0.7116 GB, free: 12.43 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.683e-05/0.01583, allocations: 8 kB / 0.7116 GB, free: 12.42 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.01584, allocations: 4 kB / 0.7116 GB, free: 12.41 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005364/0.01638, allocations: 236.4 kB / 0.7118 GB, free: 12.17 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001338/0.01771, allocations: 0.6756 MB / 0.7125 GB, free: 11.45 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006351/0.01835, allocations: 238 kB / 0.7127 GB, free: 11.2 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002857/0.01864, allocations: 156.4 kB / 0.7129 GB, free: 11.03 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/0.01865, allocations: 0 / 0.7129 GB, free: 11.03 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000582/0.01923, allocations: 358.2 kB / 0.7132 GB, free: 10.63 MB / 426.8 MB Notification: Performance of pre-optimization done (n=32): time 1.694e-06/0.01924, allocations: 0 / 0.7132 GB, free: 10.63 MB / 426.8 MB Notification: Performance of matching and sorting (n=34): time 0.002397/0.02163, allocations: 1.078 MB / 0.7143 GB, free: 9.457 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001929/0.02183, allocations: 221.6 kB / 0.7145 GB, free: 9.191 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003198/0.02214, allocations: 241.9 kB / 0.7147 GB, free: 8.949 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 5.735e-05/0.0222, allocations: 37.7 kB / 0.7148 GB, free: 8.906 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001525/0.02235, allocations: 160.8 kB / 0.7149 GB, free: 8.742 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/0.02246, allocations: 107.1 kB / 0.715 GB, free: 8.637 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001352/0.0226, allocations: 74.19 kB / 0.7151 GB, free: 8.555 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001989/0.0228, allocations: 342.8 kB / 0.7154 GB, free: 8.211 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003717/0.02317, allocations: 215.9 kB / 0.7156 GB, free: 7.98 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000431/0.0236, allocations: 311.1 kB / 0.7159 GB, free: 7.617 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006812/0.02428, allocations: 431.1 kB / 0.7163 GB, free: 7.129 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.02428, allocations: 0 / 0.7163 GB, free: 7.129 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009459/0.02523, allocations: 0.5537 MB / 0.7169 GB, free: 6.531 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.909e-05/0.02532, allocations: 89.09 kB / 0.7169 GB, free: 6.426 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.02533, allocations: 4 kB / 0.7169 GB, free: 6.422 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.454e-05/0.02535, allocations: 4 kB / 0.717 GB, free: 6.418 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003348/0.02569, allocations: 79.83 kB / 0.717 GB, free: 6.34 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.356e-05/0.0257, allocations: 8 kB / 0.717 GB, free: 6.332 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002349/0.02594, allocations: 19.98 kB / 0.7171 GB, free: 6.312 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.425e-05/0.02598, allocations: 20.17 kB / 0.7171 GB, free: 6.293 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.0003273/0.02631, allocations: 242.5 kB / 0.7173 GB, free: 6.035 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.756e-05/0.02637, allocations: 31.81 kB / 0.7173 GB, free: 6.004 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.138e-05/0.02645, allocations: 30.95 kB / 0.7174 GB, free: 5.973 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.02645, allocations: 4 kB / 0.7174 GB, free: 5.969 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.02646, allocations: 0 / 0.7174 GB, free: 5.969 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.02647, allocations: 3.938 kB / 0.7174 GB, free: 5.965 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001438/0.0279, allocations: 0.7677 MB / 0.7181 GB, free: 5.137 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.02791, allocations: 4 kB / 0.7181 GB, free: 5.133 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002937/0.0282, allocations: 47.97 kB / 0.7182 GB, free: 5.086 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.0282, allocations: 0 / 0.7182 GB, free: 5.086 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.08e-05/0.02823, allocations: 11.98 kB / 0.7182 GB, free: 5.074 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.232e-06/0.02824, allocations: 4 kB / 0.7182 GB, free: 5.07 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.148e-06/0.02825, allocations: 7.922 kB / 0.7182 GB, free: 5.062 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0012/0.02945, allocations: 0.723 MB / 0.7189 GB, free: 4.281 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.399e-05/0.0295, allocations: 27.8 kB / 0.7189 GB, free: 4.254 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.973e-05/0.02956, allocations: 12.06 kB / 0.7189 GB, free: 4.242 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002031/0.02977, allocations: 19.98 kB / 0.719 GB, free: 4.223 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/0.02987, allocations: 27.89 kB / 0.719 GB, free: 4.195 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.898e-05/0.0299, allocations: 15.98 kB / 0.719 GB, free: 4.18 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0002213/0.03012, allocations: 177.2 kB / 0.7192 GB, free: 4.008 MB / 426.8 MB Notification: Performance of sort global known variables: time 6e-08/0.03012, allocations: 0 / 0.7192 GB, free: 4.008 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0003604/0.03048, allocations: 84 kB / 0.7192 GB, free: 3.926 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.0001894/0.03067, allocations: 133.2 kB / 0.7194 GB, free: 3.793 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0009134/0.03158, allocations: 0.5648 MB / 0.7199 GB, free: 3.16 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.03159, allocations: 0 / 0.7199 GB, free: 3.16 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.2336/0.2651, allocations: 292.7 kB / 0.7202 GB, free: 37.13 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007692/0.2659, allocations: 90.55 kB / 0.7203 GB, free: 37.13 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001541/0.2675, allocations: 0.7959 MB / 0.7211 GB, free: 36.73 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001519/0.2676, allocations: 158.8 kB / 0.7212 GB, free: 36.65 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.00015/0.2678, allocations: 34.22 kB / 0.7213 GB, free: 36.64 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.693e-05/0.2678, allocations: 33.84 kB / 0.7213 GB, free: 36.63 MB / 426.8 MB Notification: Performance of SimCode: time 1.673e-06/0.2678, allocations: 0 / 0.7213 GB, free: 36.63 MB / 426.8 MB Notification: Performance of Templates: time 0.011/0.2788, allocations: 4.552 MB / 0.7257 GB, free: 36.21 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 -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.027743221027777]