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.001826/0.001826, 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.002914/0.002914, allocations: 173.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.652/1.652, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.411/1.411, allocations: 292.9 MB / 0.5392 GB, free: 50.19 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_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.793e-06/1.793e-06, allocations: 0 / 0.6999 GB, free: 8.484 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.081e-05/3.26e-05, allocations: 2.281 kB / 0.6999 GB, free: 8.48 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine_Ber2020_reference): time 0.004825/0.004858, allocations: 2.698 MB / 0.7025 GB, free: 5.766 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.008904/0.01376, allocations: 6.611 MB / 0.709 GB, free: 15.14 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002221/0.01398, allocations: 4 kB / 0.709 GB, free: 15.14 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.000219/0.0142, allocations: 35.58 kB / 0.709 GB, free: 15.11 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004963/0.0147, allocations: 130.9 kB / 0.7092 GB, free: 14.98 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004436/0.01514, allocations: 71.83 kB / 0.7092 GB, free: 14.91 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0006942/0.01584, allocations: 393.9 kB / 0.7096 GB, free: 14.52 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002458/0.01608, allocations: 64.81 kB / 0.7097 GB, free: 14.46 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004179/0.0165, allocations: 195.6 kB / 0.7098 GB, free: 14.27 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004119/0.01691, allocations: 119.6 kB / 0.71 GB, free: 14.15 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 7.254e-05/0.01699, allocations: 24 kB / 0.71 GB, free: 14.13 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 8.699e-05/0.01707, allocations: 24 kB / 0.71 GB, free: 14.11 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001061/0.01718, allocations: 63.64 kB / 0.7101 GB, free: 14.04 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0002273/0.01741, allocations: 111.8 kB / 0.7102 GB, free: 13.93 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0006093/0.01801, allocations: 299.1 kB / 0.7105 GB, free: 13.64 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.01802, allocations: 4 kB / 0.7105 GB, free: 13.64 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.974e-06/0.01802, allocations: 0 / 0.7105 GB, free: 13.64 MB / 426.8 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.01803, allocations: 3.938 kB / 0.7105 GB, free: 13.63 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.001752/0.01978, allocations: 0.5924 MB / 0.711 GB, free: 12.99 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/0.01983, allocations: 8.031 kB / 0.7111 GB, free: 12.98 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001276/0.01996, allocations: 32.75 kB / 0.7111 GB, free: 12.95 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000491/0.02045, allocations: 212.7 kB / 0.7113 GB, free: 12.71 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.729e-05/0.02049, allocations: 16.75 kB / 0.7113 GB, free: 12.7 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.086e-05/0.02057, allocations: 24.38 kB / 0.7113 GB, free: 12.68 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008374/0.02141, allocations: 296.7 kB / 0.7116 GB, free: 12.37 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.95e-05/0.02144, allocations: 3.953 kB / 0.7116 GB, free: 12.36 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.382e-05/0.02148, allocations: 11.98 kB / 0.7116 GB, free: 12.35 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.763e-05/0.0215, allocations: 8 kB / 0.7116 GB, free: 12.34 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008156/0.02231, allocations: 232.4 kB / 0.7119 GB, free: 12.1 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001966/0.02428, allocations: 0.6795 MB / 0.7125 GB, free: 11.38 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009244/0.0252, allocations: 234 kB / 0.7127 GB, free: 11.13 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004352/0.02564, allocations: 148.5 kB / 0.7129 GB, free: 10.97 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.564e-05/0.02566, allocations: 4 kB / 0.7129 GB, free: 10.96 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008296/0.02649, allocations: 368.8 kB / 0.7132 GB, free: 10.56 MB / 426.8 MB Notification: Performance of pre-optimization done (n=32): time 2.314e-06/0.0265, allocations: 0 / 0.7132 GB, free: 10.56 MB / 426.8 MB Notification: Performance of matching and sorting (n=34): time 0.003559/0.03005, allocations: 1.08 MB / 0.7143 GB, free: 9.387 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002299/0.03028, allocations: 217.6 kB / 0.7145 GB, free: 9.125 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004453/0.03073, allocations: 241.9 kB / 0.7147 GB, free: 8.883 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 6.056e-05/0.03079, allocations: 33.7 kB / 0.7148 GB, free: 8.844 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002073/0.031, allocations: 160.8 kB / 0.7149 GB, free: 8.68 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001644/0.03116, allocations: 115.1 kB / 0.715 GB, free: 8.566 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001886/0.03135, allocations: 66.2 kB / 0.7151 GB, free: 8.492 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0002587/0.03161, allocations: 346.7 kB / 0.7154 GB, free: 8.145 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005457/0.03215, allocations: 211.9 kB / 0.7156 GB, free: 7.918 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006667/0.03282, allocations: 315.1 kB / 0.7159 GB, free: 7.547 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001052/0.03387, allocations: 439.1 kB / 0.7163 GB, free: 7.051 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.03388, allocations: 0 / 0.7163 GB, free: 7.051 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001446/0.03532, allocations: 0.5457 MB / 0.7169 GB, free: 6.461 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001083/0.03543, allocations: 93.44 kB / 0.717 GB, free: 6.352 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.03544, allocations: 4 kB / 0.717 GB, free: 6.348 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.559e-05/0.03547, allocations: 8 kB / 0.717 GB, free: 6.34 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005153/0.03598, allocations: 79.83 kB / 0.717 GB, free: 6.262 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.549e-05/0.036, allocations: 4 kB / 0.7171 GB, free: 6.258 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003713/0.03637, allocations: 19.98 kB / 0.7171 GB, free: 6.238 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.811e-05/0.03642, allocations: 19.94 kB / 0.7171 GB, free: 6.219 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.0004421/0.03686, allocations: 231 kB / 0.7173 GB, free: 5.973 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.647e-05/0.03694, allocations: 31.8 kB / 0.7173 GB, free: 5.941 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.869e-05/0.03704, allocations: 30.97 kB / 0.7174 GB, free: 5.91 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.114e-06/0.03705, allocations: 4 kB / 0.7174 GB, free: 5.906 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.03706, allocations: 0 / 0.7174 GB, free: 5.906 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.03707, allocations: 3.984 kB / 0.7174 GB, free: 5.902 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001941/0.03901, allocations: 0.7677 MB / 0.7181 GB, free: 5.074 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.03901, allocations: 3.984 kB / 0.7181 GB, free: 5.07 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004773/0.03949, allocations: 63.95 kB / 0.7182 GB, free: 5.008 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.0395, allocations: 0 / 0.7182 GB, free: 5.008 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.281e-05/0.03954, allocations: 8 kB / 0.7182 GB, free: 5 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.03954, allocations: 0 / 0.7182 GB, free: 5 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/0.03955, allocations: 3.938 kB / 0.7182 GB, free: 4.996 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001869/0.04141, allocations: 0.723 MB / 0.7189 GB, free: 4.215 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.463e-05/0.0415, allocations: 27.8 kB / 0.7189 GB, free: 4.188 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.8e-05/0.04159, allocations: 8.062 kB / 0.7189 GB, free: 4.18 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000355/0.04194, allocations: 23.98 kB / 0.719 GB, free: 4.156 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001539/0.0421, allocations: 35.88 kB / 0.719 GB, free: 4.121 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.631e-05/0.04213, allocations: 8 kB / 0.719 GB, free: 4.113 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0003303/0.04246, allocations: 181.2 kB / 0.7192 GB, free: 3.938 MB / 426.8 MB Notification: Performance of sort global known variables: time 1.4e-07/0.04246, allocations: 0 / 0.7192 GB, free: 3.938 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0006611/0.04312, allocations: 84 kB / 0.7193 GB, free: 3.855 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.000246/0.04337, allocations: 126.9 kB / 0.7194 GB, free: 3.727 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.1915/0.2348, allocations: 0.5583 MB / 0.7199 GB, free: 37.05 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/0.2348, allocations: 5.25 kB / 0.7199 GB, free: 37.05 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0004485/0.2353, allocations: 300.2 kB / 0.7202 GB, free: 36.86 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006516/0.2359, allocations: 88.7 kB / 0.7203 GB, free: 36.86 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001554/0.2375, allocations: 0.7901 MB / 0.7211 GB, free: 36.46 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001462/0.2376, allocations: 159.1 kB / 0.7212 GB, free: 36.38 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0001443/0.2378, allocations: 37.36 kB / 0.7213 GB, free: 36.38 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.834e-05/0.2379, allocations: 31.64 kB / 0.7213 GB, free: 36.36 MB / 426.8 MB Notification: Performance of SimCode: time 1.142e-06/0.2379, allocations: 0 / 0.7213 GB, free: 36.36 MB / 426.8 MB Notification: Performance of Templates: time 0.01148/0.2493, allocations: 4.546 MB / 0.7257 GB, free: 35.95 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine_Ber2020_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.954569163965061]