Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine_James2022_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.001055/0.001055, 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.001928/0.001928, 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.8491/0.8491, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.6382/0.6382, allocations: 291.1 MB / 0.5382 GB, free: 51.8 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.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine_James2022_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine_James2022_reference") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine_James2022_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine_James2022_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 3.938 kB / 0.6974 GB, free: 10.39 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.326e-05/1.441e-05, allocations: 10.16 kB / 0.6974 GB, free: 10.38 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine_James2022_reference): time 0.001943/0.001958, allocations: 2.696 MB / 0.7 GB, free: 7.664 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.003377/0.005335, allocations: 6.611 MB / 0.7065 GB, free: 1.043 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.793e-05/0.005423, allocations: 8 kB / 0.7065 GB, free: 1.035 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001036/0.005526, allocations: 35.58 kB / 0.7065 GB, free: 1 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001709/0.005697, allocations: 123 kB / 0.7066 GB, free: 0.8789 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001646/0.005862, allocations: 75.83 kB / 0.7067 GB, free: 0.8047 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002001/0.006062, allocations: 385.9 kB / 0.7071 GB, free: 436 kB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.006181, allocations: 60.88 kB / 0.7071 GB, free: 380 kB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001369/0.006318, allocations: 207.4 kB / 0.7073 GB, free: 172 kB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000149/0.006467, allocations: 119.6 kB / 0.7074 GB, free: 52 kB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.626e-05/0.006493, allocations: 24 kB / 0.7074 GB, free: 28 kB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.541e-05/0.006519, allocations: 24 kB / 0.7075 GB, free: 4 kB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 4.86e-05/0.006567, allocations: 63.73 kB / 0.7075 GB, free: 15.94 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 8.172e-05/0.006649, allocations: 115.7 kB / 0.7076 GB, free: 15.83 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002208/0.00687, allocations: 295.1 kB / 0.7079 GB, free: 15.54 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.006872, allocations: 0 / 0.7079 GB, free: 15.54 MB / 426.8 MB Notification: Performance of FrontEnd: time 7.52e-07/0.006873, allocations: 0 / 0.7079 GB, free: 15.54 MB / 426.8 MB Notification: Performance of Transformations before backend: time 4.018e-06/0.006877, allocations: 0 / 0.7079 GB, free: 15.54 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.0006627/0.007539, allocations: 0.5925 MB / 0.7085 GB, free: 14.89 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.007572, allocations: 12.03 kB / 0.7085 GB, free: 14.88 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.949e-05/0.007621, allocations: 32.75 kB / 0.7085 GB, free: 14.85 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001959/0.007817, allocations: 212.7 kB / 0.7087 GB, free: 14.62 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.007836, allocations: 16.69 kB / 0.7088 GB, free: 14.6 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.188e-05/0.007868, allocations: 28.36 kB / 0.7088 GB, free: 14.57 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002947/0.008163, allocations: 288.7 kB / 0.7091 GB, free: 14.27 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.008177, allocations: 7.953 kB / 0.7091 GB, free: 14.27 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.008193, allocations: 8 kB / 0.7091 GB, free: 14.26 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.008199, allocations: 4 kB / 0.7091 GB, free: 14.25 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000259/0.008458, allocations: 232.4 kB / 0.7093 GB, free: 14.01 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007044/0.009162, allocations: 0.6757 MB / 0.71 GB, free: 13.3 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003287/0.009491, allocations: 246 kB / 0.7102 GB, free: 13.03 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001352/0.009626, allocations: 152.4 kB / 0.7103 GB, free: 12.87 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.368e-06/0.009635, allocations: 0 / 0.7103 GB, free: 12.87 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002677/0.009903, allocations: 361.3 kB / 0.7107 GB, free: 12.47 MB / 426.8 MB Notification: Performance of pre-optimization done (n=32): time 1.172e-06/0.009904, allocations: 0 / 0.7107 GB, free: 12.47 MB / 426.8 MB Notification: Performance of matching and sorting (n=34): time 0.001142/0.01105, allocations: 1.083 MB / 0.7117 GB, free: 11.29 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.278e-05/0.01112, allocations: 221.6 kB / 0.712 GB, free: 11.03 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.01128, allocations: 245.9 kB / 0.7122 GB, free: 10.78 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.0113, allocations: 33.7 kB / 0.7122 GB, free: 10.74 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.048e-05/0.01137, allocations: 156.8 kB / 0.7124 GB, free: 10.58 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.576e-05/0.01142, allocations: 123 kB / 0.7125 GB, free: 10.46 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.747e-05/0.01149, allocations: 74.19 kB / 0.7126 GB, free: 10.38 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 7.511e-05/0.01157, allocations: 338.8 kB / 0.7129 GB, free: 10.04 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001809/0.01175, allocations: 211.9 kB / 0.7131 GB, free: 9.812 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002056/0.01195, allocations: 311.2 kB / 0.7134 GB, free: 9.445 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003365/0.01229, allocations: 435 kB / 0.7138 GB, free: 8.953 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.01229, allocations: 4 kB / 0.7138 GB, free: 8.949 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004457/0.01274, allocations: 0.5457 MB / 0.7143 GB, free: 8.359 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.915e-05/0.01278, allocations: 93.09 kB / 0.7144 GB, free: 8.25 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.01278, allocations: 4 kB / 0.7144 GB, free: 8.246 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.0128, allocations: 4 kB / 0.7144 GB, free: 8.242 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001575/0.01295, allocations: 76.23 kB / 0.7145 GB, free: 8.168 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.01296, allocations: 15.94 kB / 0.7145 GB, free: 8.152 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/0.01307, allocations: 19.98 kB / 0.7145 GB, free: 8.133 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.03e-05/0.01309, allocations: 16 kB / 0.7146 GB, free: 8.117 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.0001518/0.01324, allocations: 221.3 kB / 0.7148 GB, free: 7.883 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.629e-05/0.01327, allocations: 31.81 kB / 0.7148 GB, free: 7.852 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.768e-05/0.0133, allocations: 38.94 kB / 0.7148 GB, free: 7.812 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.01331, allocations: 4 kB / 0.7148 GB, free: 7.809 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.01331, allocations: 4 kB / 0.7148 GB, free: 7.805 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.01331, allocations: 0 / 0.7148 GB, free: 7.805 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006413/0.01395, allocations: 0.7639 MB / 0.7156 GB, free: 6.98 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.01396, allocations: 0 / 0.7156 GB, free: 6.98 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001453/0.0141, allocations: 55.89 kB / 0.7156 GB, free: 6.926 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.0141, allocations: 0 / 0.7156 GB, free: 6.926 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/0.01412, allocations: 8 kB / 0.7156 GB, free: 6.918 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.01412, allocations: 8 kB / 0.7157 GB, free: 6.91 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.01412, allocations: 11.88 kB / 0.7157 GB, free: 6.898 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00058/0.0147, allocations: 0.7268 MB / 0.7164 GB, free: 6.113 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.765e-05/0.01473, allocations: 23.81 kB / 0.7164 GB, free: 6.09 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.469e-05/0.01477, allocations: 19.98 kB / 0.7164 GB, free: 6.07 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.257e-05/0.01486, allocations: 15.98 kB / 0.7164 GB, free: 6.055 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.731e-05/0.01493, allocations: 35.89 kB / 0.7165 GB, free: 6.02 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/0.01494, allocations: 4 kB / 0.7165 GB, free: 6.016 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001077/0.01504, allocations: 185.2 kB / 0.7166 GB, free: 5.836 MB / 426.8 MB Notification: Performance of sort global known variables: time 7e-08/0.01504, allocations: 4 kB / 0.7167 GB, free: 5.832 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.000209/0.01525, allocations: 88 kB / 0.7167 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 8.692e-05/0.01534, allocations: 122.9 kB / 0.7169 GB, free: 5.621 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0004311/0.01577, allocations: 0.5615 MB / 0.7174 GB, free: 4.992 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.01577, allocations: 4.125 kB / 0.7174 GB, free: 4.988 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001947/0.01597, allocations: 309.5 kB / 0.7177 GB, free: 4.652 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003071/0.01628, allocations: 82.44 kB / 0.7178 GB, free: 4.574 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008466/0.01712, allocations: 0.8125 MB / 0.7186 GB, free: 3.719 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.377e-05/0.01721, allocations: 164.3 kB / 0.7187 GB, free: 3.535 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.197e-05/0.01727, allocations: 28.5 kB / 0.7188 GB, free: 3.508 MB / 426.8 MB Notification: Performance of SimCode: time 6.21e-07/0.01727, allocations: 0 / 0.7188 GB, free: 3.508 MB / 426.8 MB Notification: Performance of Templates: time 0.1613/0.1785, allocations: 4.018 MB / 0.7227 GB, free: 36.83 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine_James2022_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine_James2022_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine_James2022_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine_James2022_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine_James2022_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine_James2022_reference > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine_James2022_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.647026247344911]