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.002349/0.002349, allocations: 84.44 kB / 19.17 MB, free: 0.7383 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.002691/0.002691, allocations: 169.9 kB / 22.46 MB, free: 2.102 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.691/1.691, 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.471/1.471, allocations: 292.9 MB / 0.5392 GB, free: 49.8 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.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.473e-06/1.473e-06, allocations: 0 / 0.6999 GB, free: 8.551 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.339e-05/2.487e-05, allocations: 6.281 kB / 0.6999 GB, free: 8.543 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine_James2022_reference): time 0.003089/0.003114, allocations: 2.704 MB / 0.7025 GB, free: 5.82 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.005703/0.008817, allocations: 6.611 MB / 0.709 GB, free: 15.2 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001517/0.008969, allocations: 4 kB / 0.709 GB, free: 15.2 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001565/0.009125, allocations: 39.56 kB / 0.709 GB, free: 15.16 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003333/0.009459, allocations: 123 kB / 0.7092 GB, free: 15.04 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002681/0.009727, allocations: 67.84 kB / 0.7092 GB, free: 14.97 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0004913/0.01022, allocations: 393.9 kB / 0.7096 GB, free: 14.58 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001839/0.0104, allocations: 60.83 kB / 0.7097 GB, free: 14.53 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003018/0.0107, allocations: 211.5 kB / 0.7099 GB, free: 14.32 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002776/0.01098, allocations: 115.6 kB / 0.71 GB, free: 14.21 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 5.044e-05/0.01103, allocations: 24 kB / 0.71 GB, free: 14.18 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.832e-05/0.01109, allocations: 24 kB / 0.71 GB, free: 14.16 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 6.604e-05/0.01116, allocations: 55.75 kB / 0.7101 GB, free: 14.11 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001727/0.01133, allocations: 123.6 kB / 0.7102 GB, free: 13.98 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0004027/0.01173, allocations: 291.1 kB / 0.7105 GB, free: 13.7 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.01174, allocations: 0 / 0.7105 GB, free: 13.7 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.312e-06/0.01174, allocations: 0 / 0.7105 GB, free: 13.7 MB / 426.8 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.01174, allocations: 4 kB / 0.7105 GB, free: 13.7 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.001346/0.01309, allocations: 0.5924 MB / 0.711 GB, free: 13.05 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.01313, allocations: 11.97 kB / 0.7111 GB, free: 13.04 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.579e-05/0.01321, allocations: 32.75 kB / 0.7111 GB, free: 13.01 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003491/0.01356, allocations: 216.7 kB / 0.7113 GB, free: 12.77 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.846e-05/0.01359, allocations: 16.75 kB / 0.7113 GB, free: 12.75 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.336e-05/0.01364, allocations: 24.38 kB / 0.7113 GB, free: 12.73 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000566/0.01421, allocations: 288.7 kB / 0.7116 GB, free: 12.43 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.146e-05/0.01423, allocations: 3.953 kB / 0.7116 GB, free: 12.43 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.013e-05/0.01426, allocations: 12 kB / 0.7116 GB, free: 12.41 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.01427, allocations: 4 kB / 0.7116 GB, free: 12.41 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005412/0.01481, allocations: 240.4 kB / 0.7119 GB, free: 12.16 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001312/0.01612, allocations: 0.6718 MB / 0.7125 GB, free: 11.45 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006275/0.01675, allocations: 238 kB / 0.7127 GB, free: 11.19 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002828/0.01703, allocations: 148.4 kB / 0.7129 GB, free: 11.03 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.01705, allocations: 4 kB / 0.7129 GB, free: 11.03 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000566/0.01762, allocations: 373.2 kB / 0.7132 GB, free: 10.62 MB / 426.8 MB Notification: Performance of pre-optimization done (n=32): time 1.603e-06/0.01762, allocations: 0 / 0.7132 GB, free: 10.62 MB / 426.8 MB Notification: Performance of matching and sorting (n=34): time 0.002256/0.01988, allocations: 1.072 MB / 0.7143 GB, free: 9.453 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001807/0.02006, allocations: 225.6 kB / 0.7145 GB, free: 9.184 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003217/0.02038, allocations: 237.9 kB / 0.7147 GB, free: 8.945 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 4.905e-05/0.02043, allocations: 41.69 kB / 0.7148 GB, free: 8.898 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001643/0.02059, allocations: 160.8 kB / 0.7149 GB, free: 8.734 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.000132/0.02072, allocations: 107.1 kB / 0.715 GB, free: 8.629 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001441/0.02087, allocations: 74.19 kB / 0.7151 GB, free: 8.547 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0002058/0.02107, allocations: 342.8 kB / 0.7154 GB, free: 8.203 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003871/0.02146, allocations: 215.8 kB / 0.7156 GB, free: 7.973 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000451/0.02191, allocations: 315.1 kB / 0.7159 GB, free: 7.602 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007022/0.02262, allocations: 435.1 kB / 0.7163 GB, free: 7.109 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.02262, allocations: 0 / 0.7163 GB, free: 7.109 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009786/0.0236, allocations: 0.5497 MB / 0.7169 GB, free: 6.516 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.563e-05/0.02369, allocations: 95.91 kB / 0.717 GB, free: 6.406 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.0237, allocations: 352 / 0.717 GB, free: 6.406 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.42e-05/0.02372, allocations: 12 kB / 0.717 GB, free: 6.395 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003326/0.02406, allocations: 75.83 kB / 0.7171 GB, free: 6.32 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.356e-05/0.02407, allocations: 7.984 kB / 0.7171 GB, free: 6.312 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002398/0.02431, allocations: 23.98 kB / 0.7171 GB, free: 6.289 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.297e-05/0.02434, allocations: 16 kB / 0.7171 GB, free: 6.273 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.0004241/0.02477, allocations: 230.9 kB / 0.7173 GB, free: 6.027 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.332e-05/0.02482, allocations: 31.81 kB / 0.7173 GB, free: 5.996 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.739e-05/0.0249, allocations: 34.95 kB / 0.7174 GB, free: 5.961 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.0249, allocations: 4 kB / 0.7174 GB, free: 5.957 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.02491, allocations: 0 / 0.7174 GB, free: 5.957 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.02491, allocations: 0 / 0.7174 GB, free: 5.957 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001307/0.02622, allocations: 0.7639 MB / 0.7181 GB, free: 5.133 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.02622, allocations: 0 / 0.7181 GB, free: 5.133 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003024/0.02652, allocations: 51.97 kB / 0.7182 GB, free: 5.082 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.638e-06/0.02653, allocations: 12 kB / 0.7182 GB, free: 5.07 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.071e-05/0.02656, allocations: 11.98 kB / 0.7182 GB, free: 5.059 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.02656, allocations: 0 / 0.7182 GB, free: 5.059 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.02656, allocations: 3.938 kB / 0.7182 GB, free: 5.055 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001251/0.02782, allocations: 0.7229 MB / 0.7189 GB, free: 4.273 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.972e-05/0.02787, allocations: 31.86 kB / 0.7189 GB, free: 4.242 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.65e-05/0.02794, allocations: 8 kB / 0.719 GB, free: 4.234 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002204/0.02816, allocations: 19.98 kB / 0.719 GB, free: 4.215 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.02826, allocations: 31.89 kB / 0.719 GB, free: 4.184 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.918e-05/0.02829, allocations: 15.98 kB / 0.719 GB, free: 4.168 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.00021/0.0285, allocations: 177.2 kB / 0.7192 GB, free: 3.996 MB / 426.8 MB Notification: Performance of sort global known variables: time 8.1e-08/0.0285, allocations: 0 / 0.7192 GB, free: 3.996 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0003731/0.02888, allocations: 84 kB / 0.7193 GB, free: 3.914 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.0002008/0.02908, allocations: 130.9 kB / 0.7194 GB, free: 3.781 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0009235/0.03, allocations: 0.5648 MB / 0.7199 GB, free: 3.148 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.03, allocations: 0 / 0.7199 GB, free: 3.148 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.2144/0.2445, allocations: 291.4 kB / 0.7202 GB, free: 37.12 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008213/0.2453, allocations: 89.19 kB / 0.7203 GB, free: 37.12 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001759/0.247, allocations: 0.7936 MB / 0.7211 GB, free: 36.73 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001888/0.2472, allocations: 155.5 kB / 0.7212 GB, free: 36.66 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.000185/0.2474, allocations: 35.88 kB / 0.7213 GB, free: 36.65 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.873e-05/0.2475, allocations: 31.61 kB / 0.7213 GB, free: 36.63 MB / 426.8 MB Notification: Performance of SimCode: time 1.904e-06/0.2475, allocations: 2.344 kB / 0.7213 GB, free: 36.63 MB / 426.8 MB Notification: Performance of Templates: time 0.01176/0.2593, allocations: 4.553 MB / 0.7257 GB, free: 36.23 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine_James2022_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.159521288005635]