Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine_Ber2020_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.0009911/0.0009911, allocations: 92.52 kB / 19.94 MB, free: 4.598 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.0009294/0.0009294, allocations: 169.9 kB / 23.21 MB, free: 1.328 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.8712/0.8712, allocations: 177.1 MB / 203.5 MB, free: 5.77 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.6495/0.6495, allocations: 291.1 MB / 0.5382 GB, free: 51.83 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_Ber2020_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine_Ber2020_reference") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine_Ber2020_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine_Ber2020_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.502e-06/1.502e-06, allocations: 3.984 kB / 0.6974 GB, free: 10.34 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.374e-05/1.524e-05, allocations: 2.281 kB / 0.6974 GB, free: 10.34 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine_Ber2020_reference): time 0.001949/0.001964, allocations: 2.7 MB / 0.7 GB, free: 7.621 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.003408/0.005372, allocations: 6.604 MB / 0.7064 GB, free: 1.008 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.855e-05/0.005461, allocations: 4 kB / 0.7064 GB, free: 1.004 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001077/0.005568, allocations: 43.56 kB / 0.7065 GB, free: 0.9609 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001726/0.005741, allocations: 127 kB / 0.7066 GB, free: 0.8359 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001597/0.005901, allocations: 67.8 kB / 0.7067 GB, free: 0.7695 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002018/0.006102, allocations: 389.9 kB / 0.707 GB, free: 396 kB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.006219, allocations: 56.88 kB / 0.7071 GB, free: 344 kB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001222/0.006341, allocations: 211.4 kB / 0.7073 GB, free: 132 kB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001551/0.006496, allocations: 119.6 kB / 0.7074 GB, free: 12 kB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 4.801e-05/0.006544, allocations: 24.05 kB / 0.7074 GB, free: 15.98 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.655e-05/0.00658, allocations: 24 kB / 0.7075 GB, free: 15.96 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 3.552e-05/0.006616, allocations: 63.64 kB / 0.7075 GB, free: 15.9 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 8.332e-05/0.006699, allocations: 115.8 kB / 0.7076 GB, free: 15.79 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002198/0.006919, allocations: 291.1 kB / 0.7079 GB, free: 15.5 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.764e-06/0.006921, allocations: 0 / 0.7079 GB, free: 15.5 MB / 426.8 MB Notification: Performance of FrontEnd: time 8.42e-07/0.006922, allocations: 0 / 0.7079 GB, free: 15.5 MB / 426.8 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.006926, allocations: 0 / 0.7079 GB, free: 15.5 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.0006646/0.007591, allocations: 0.5885 MB / 0.7085 GB, free: 14.86 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.007624, allocations: 16.02 kB / 0.7085 GB, free: 14.85 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.214e-05/0.007676, allocations: 32.75 kB / 0.7085 GB, free: 14.82 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000197/0.007873, allocations: 220.7 kB / 0.7087 GB, free: 14.57 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.00789, allocations: 12.75 kB / 0.7088 GB, free: 14.56 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.099e-05/0.007921, allocations: 24.38 kB / 0.7088 GB, free: 14.54 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002956/0.008217, allocations: 288.7 kB / 0.7091 GB, free: 14.24 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.00823, allocations: 3.953 kB / 0.7091 GB, free: 14.23 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/0.008247, allocations: 8 kB / 0.7091 GB, free: 14.23 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.008253, allocations: 4 kB / 0.7091 GB, free: 14.22 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002679/0.008521, allocations: 240.4 kB / 0.7093 GB, free: 13.97 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006978/0.009218, allocations: 0.664 MB / 0.7099 GB, free: 13.27 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003378/0.009556, allocations: 238 kB / 0.7102 GB, free: 13.01 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001362/0.009692, allocations: 156.4 kB / 0.7103 GB, free: 12.84 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.182e-05/0.009704, allocations: 4 kB / 0.7103 GB, free: 12.84 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002698/0.009974, allocations: 367.7 kB / 0.7107 GB, free: 12.44 MB / 426.8 MB Notification: Performance of pre-optimization done (n=32): time 1.322e-06/0.009975, allocations: 3.938 kB / 0.7107 GB, free: 12.43 MB / 426.8 MB Notification: Performance of matching and sorting (n=34): time 0.001144/0.01112, allocations: 1.086 MB / 0.7117 GB, free: 11.25 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.325e-05/0.01119, allocations: 221.6 kB / 0.712 GB, free: 10.99 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001663/0.01136, allocations: 237.9 kB / 0.7122 GB, free: 10.75 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.01138, allocations: 37.7 kB / 0.7122 GB, free: 10.71 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.414e-05/0.01145, allocations: 164.8 kB / 0.7124 GB, free: 10.54 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.432e-05/0.01151, allocations: 111.1 kB / 0.7125 GB, free: 10.43 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.959e-05/0.01158, allocations: 70.19 kB / 0.7125 GB, free: 10.35 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 7.965e-05/0.01166, allocations: 346.8 kB / 0.7129 GB, free: 10 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001829/0.01184, allocations: 215.9 kB / 0.7131 GB, free: 9.773 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002016/0.01204, allocations: 307.2 kB / 0.7134 GB, free: 9.41 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00037/0.01241, allocations: 435 kB / 0.7138 GB, free: 8.918 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.01241, allocations: 0 / 0.7138 GB, free: 8.918 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004926/0.0129, allocations: 0.5576 MB / 0.7143 GB, free: 8.316 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.905e-05/0.01294, allocations: 89.09 kB / 0.7144 GB, free: 8.211 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.01295, allocations: 0 / 0.7144 GB, free: 8.211 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.01296, allocations: 8 kB / 0.7144 GB, free: 8.203 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001659/0.01313, allocations: 79.83 kB / 0.7145 GB, free: 8.125 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.01313, allocations: 4 kB / 0.7145 GB, free: 8.121 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001121/0.01325, allocations: 27.97 kB / 0.7145 GB, free: 8.094 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.639e-05/0.01326, allocations: 12.19 kB / 0.7145 GB, free: 8.082 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.0001526/0.01342, allocations: 227.1 kB / 0.7148 GB, free: 7.84 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.49e-05/0.01344, allocations: 27.81 kB / 0.7148 GB, free: 7.812 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.498e-05/0.01348, allocations: 34.95 kB / 0.7148 GB, free: 7.777 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.01348, allocations: 4 kB / 0.7148 GB, free: 7.773 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.01348, allocations: 0 / 0.7148 GB, free: 7.773 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.01348, allocations: 0 / 0.7148 GB, free: 7.773 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006317/0.01412, allocations: 0.7716 MB / 0.7156 GB, free: 6.941 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.01412, allocations: 0 / 0.7156 GB, free: 6.941 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001382/0.01426, allocations: 55.91 kB / 0.7156 GB, free: 6.887 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.01426, allocations: 0 / 0.7156 GB, free: 6.887 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.01428, allocations: 11.98 kB / 0.7156 GB, free: 6.875 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.01428, allocations: 0 / 0.7156 GB, free: 6.875 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.01428, allocations: 3.938 kB / 0.7156 GB, free: 6.871 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005605/0.01484, allocations: 0.7308 MB / 0.7164 GB, free: 6.082 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.775e-05/0.01487, allocations: 27.92 kB / 0.7164 GB, free: 6.055 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.377e-05/0.0149, allocations: 16.06 kB / 0.7164 GB, free: 6.039 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.363e-05/0.01499, allocations: 19.98 kB / 0.7164 GB, free: 6.02 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.178e-05/0.01506, allocations: 27.89 kB / 0.7164 GB, free: 5.992 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.42e-05/0.01507, allocations: 15.98 kB / 0.7165 GB, free: 5.977 MB / 426.8 MB Notification: Performance of sorting global known variables: time 9.869e-05/0.01517, allocations: 177.2 kB / 0.7166 GB, free: 5.805 MB / 426.8 MB Notification: Performance of sort global known variables: time 5e-08/0.01517, allocations: 0 / 0.7166 GB, free: 5.805 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0002099/0.01538, allocations: 87.94 kB / 0.7167 GB, free: 5.719 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 9.314e-05/0.01547, allocations: 130.9 kB / 0.7168 GB, free: 5.586 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.000424/0.0159, allocations: 0.5609 MB / 0.7174 GB, free: 4.957 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.0159, allocations: 0 / 0.7174 GB, free: 4.957 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001953/0.01609, allocations: 306.2 kB / 0.7177 GB, free: 4.625 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003159/0.01641, allocations: 81.38 kB / 0.7178 GB, free: 4.547 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008501/0.01726, allocations: 0.8164 MB / 0.7186 GB, free: 3.688 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.308e-05/0.01734, allocations: 160.3 kB / 0.7187 GB, free: 3.508 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.03e-05/0.0174, allocations: 32.5 kB / 0.7187 GB, free: 3.477 MB / 426.8 MB Notification: Performance of SimCode: time 5.91e-07/0.0174, allocations: 0 / 0.7187 GB, free: 3.477 MB / 426.8 MB Notification: Performance of Templates: time 0.163/0.1804, allocations: 4.023 MB / 0.7227 GB, free: 36.81 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine_Ber2020_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine_Ber2020_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine_Ber2020_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine_Ber2020_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine_Ber2020_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine_Ber2020_reference > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine_Ber2020_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.735487833619118]