Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AA01_Ondansetron.Ondansetron_Chiang2021v2_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.001999/0.001999, 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.002087/0.002087, 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.67/1.67, 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.338/1.338, allocations: 292.9 MB / 0.5392 GB, free: 49.79 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.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AA01_Ondansetron.Ondansetron_Chiang2021v2_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AA01_Ondansetron.Ondansetron_Chiang2021v2_reference") translateModel(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AA01_Ondansetron.Ondansetron_Chiang2021v2_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AA01_Ondansetron.Ondansetron_Chiang2021v2_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.973e-06/1.973e-06, allocations: 3.938 kB / 0.6999 GB, free: 8.547 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.861e-05/4.059e-05, allocations: 5.094 kB / 0.6999 GB, free: 8.543 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AA01_Ondansetron.Ondansetron_Chiang2021v2_reference): time 0.004189/0.00423, allocations: 2.711 MB / 0.7025 GB, free: 5.812 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.006555/0.01078, allocations: 6.607 MB / 0.709 GB, free: 15.2 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001922/0.01098, allocations: 0 / 0.709 GB, free: 15.2 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001773/0.01115, allocations: 39.58 kB / 0.709 GB, free: 15.16 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003413/0.0115, allocations: 122.9 kB / 0.7092 GB, free: 15.04 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003267/0.01182, allocations: 71.89 kB / 0.7092 GB, free: 14.96 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0005213/0.01234, allocations: 389.9 kB / 0.7096 GB, free: 14.58 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001921/0.01254, allocations: 64.75 kB / 0.7097 GB, free: 14.52 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002894/0.01282, allocations: 203.5 kB / 0.7099 GB, free: 14.32 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002958/0.01312, allocations: 123.6 kB / 0.71 GB, free: 14.2 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 5.114e-05/0.01317, allocations: 24 kB / 0.71 GB, free: 14.18 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.511e-05/0.01323, allocations: 24 kB / 0.71 GB, free: 14.16 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 7.165e-05/0.0133, allocations: 59.69 kB / 0.7101 GB, free: 14.1 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001609/0.01346, allocations: 119.7 kB / 0.7102 GB, free: 13.98 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0004049/0.01386, allocations: 287.1 kB / 0.7105 GB, free: 13.7 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.01387, allocations: 4 kB / 0.7105 GB, free: 13.7 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.703e-06/0.01387, allocations: 0 / 0.7105 GB, free: 13.7 MB / 426.8 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.01388, allocations: 0 / 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.001226/0.0151, allocations: 0.5963 MB / 0.711 GB, free: 13.05 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.01514, allocations: 8.031 kB / 0.7111 GB, free: 13.04 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.606e-05/0.01523, allocations: 32.75 kB / 0.7111 GB, free: 13.01 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003719/0.0156, allocations: 212.7 kB / 0.7113 GB, free: 12.77 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.457e-05/0.01564, allocations: 24.69 kB / 0.7113 GB, free: 12.75 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.139e-05/0.01569, allocations: 20.36 kB / 0.7113 GB, free: 12.73 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007102/0.0164, allocations: 300.5 kB / 0.7116 GB, free: 12.42 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.259e-05/0.01642, allocations: 7.953 kB / 0.7116 GB, free: 12.41 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.672e-05/0.01645, allocations: 8 kB / 0.7116 GB, free: 12.4 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.01646, allocations: 8 kB / 0.7116 GB, free: 12.39 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005631/0.01702, allocations: 228.5 kB / 0.7119 GB, free: 12.16 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001413/0.01843, allocations: 0.6718 MB / 0.7125 GB, free: 11.45 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007101/0.01914, allocations: 252.7 kB / 0.7128 GB, free: 11.18 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003031/0.01945, allocations: 148.4 kB / 0.7129 GB, free: 11.02 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/0.01947, allocations: 4 kB / 0.7129 GB, free: 11.02 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006344/0.0201, allocations: 353.6 kB / 0.7132 GB, free: 10.62 MB / 426.8 MB Notification: Performance of pre-optimization done (n=32): time 1.723e-06/0.0201, allocations: 4 kB / 0.7132 GB, free: 10.62 MB / 426.8 MB Notification: Performance of matching and sorting (n=34): time 0.002335/0.02244, allocations: 1.08 MB / 0.7143 GB, free: 9.445 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001817/0.02262, allocations: 217.6 kB / 0.7145 GB, free: 9.184 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000321/0.02294, allocations: 241.9 kB / 0.7147 GB, free: 8.941 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 4.73e-05/0.02299, allocations: 41.7 kB / 0.7148 GB, free: 8.895 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001551/0.02314, allocations: 160.8 kB / 0.7149 GB, free: 8.73 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/0.02326, allocations: 115.1 kB / 0.715 GB, free: 8.617 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001309/0.02339, allocations: 74.19 kB / 0.7151 GB, free: 8.535 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001986/0.02359, allocations: 342.8 kB / 0.7154 GB, free: 8.191 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003676/0.02395, allocations: 207.9 kB / 0.7156 GB, free: 7.969 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004442/0.0244, allocations: 311.2 kB / 0.7159 GB, free: 7.602 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000698/0.0251, allocations: 435 kB / 0.7163 GB, free: 7.109 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.0251, allocations: 4 kB / 0.7164 GB, free: 7.105 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009736/0.02607, allocations: 0.5457 MB / 0.7169 GB, free: 6.516 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.237e-05/0.02616, allocations: 97.09 kB / 0.717 GB, free: 6.402 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.02617, allocations: 0 / 0.717 GB, free: 6.402 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.02619, allocations: 4.344 kB / 0.717 GB, free: 6.398 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00032/0.02651, allocations: 79.89 kB / 0.7171 GB, free: 6.32 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.491e-05/0.02653, allocations: 7.938 kB / 0.7171 GB, free: 6.312 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002544/0.02678, allocations: 27.98 kB / 0.7171 GB, free: 6.285 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.521e-05/0.02682, allocations: 16 kB / 0.7171 GB, free: 6.27 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.0002993/0.02712, allocations: 227 kB / 0.7173 GB, free: 6.027 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.59e-05/0.02717, allocations: 31.81 kB / 0.7174 GB, free: 5.996 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.081e-05/0.02725, allocations: 38.95 kB / 0.7174 GB, free: 5.957 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.02726, allocations: 0 / 0.7174 GB, free: 5.957 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.02726, allocations: 0 / 0.7174 GB, free: 5.957 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.02727, allocations: 4 kB / 0.7174 GB, free: 5.953 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001354/0.02862, allocations: 0.7599 MB / 0.7181 GB, free: 5.133 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.02862, allocations: 0 / 0.7181 GB, free: 5.133 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003333/0.02896, allocations: 59.89 kB / 0.7182 GB, free: 5.074 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/0.02897, allocations: 7.984 kB / 0.7182 GB, free: 5.066 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.251e-05/0.029, allocations: 12 kB / 0.7182 GB, free: 5.055 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.029, allocations: 0 / 0.7182 GB, free: 5.055 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.029, allocations: 3.938 kB / 0.7182 GB, free: 5.051 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001372/0.03038, allocations: 0.723 MB / 0.7189 GB, free: 4.27 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.743e-05/0.03043, allocations: 27.88 kB / 0.7189 GB, free: 4.242 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.98e-05/0.03051, allocations: 11.98 kB / 0.719 GB, free: 4.23 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002117/0.03072, allocations: 15.98 kB / 0.719 GB, free: 4.215 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.03084, allocations: 35.88 kB / 0.719 GB, free: 4.18 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.632e-05/0.03086, allocations: 16 kB / 0.719 GB, free: 4.164 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0002136/0.03108, allocations: 181.2 kB / 0.7192 GB, free: 3.988 MB / 426.8 MB Notification: Performance of sort global known variables: time 1.3e-07/0.03108, allocations: 0 / 0.7192 GB, free: 3.988 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0003889/0.03147, allocations: 84 kB / 0.7193 GB, free: 3.906 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.0001928/0.03166, allocations: 126.9 kB / 0.7194 GB, free: 3.777 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0009395/0.0326, allocations: 0.5612 MB / 0.7199 GB, free: 3.148 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.0326, allocations: 0 / 0.7199 GB, free: 3.148 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.2478/0.2804, allocations: 299 kB / 0.7202 GB, free: 37.14 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008446/0.2812, allocations: 86.95 kB / 0.7203 GB, free: 37.14 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001887/0.2831, allocations: 0.7952 MB / 0.7211 GB, free: 36.75 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002048/0.2833, allocations: 158.7 kB / 0.7212 GB, free: 36.67 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0001802/0.2835, allocations: 36.91 kB / 0.7213 GB, free: 36.66 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.078e-05/0.2836, allocations: 27.02 kB / 0.7213 GB, free: 36.65 MB / 426.8 MB Notification: Performance of SimCode: time 1.643e-06/0.2836, allocations: 8.969 kB / 0.7213 GB, free: 36.64 MB / 426.8 MB Notification: Performance of Templates: time 0.01179/0.2954, allocations: 4.556 MB / 0.7258 GB, free: 36.24 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AA01_Ondansetron.Ondansetron_Chiang2021v2_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AA01_Ondansetron.Ondansetron_Chiang2021v2_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AA01_Ondansetron.Ondansetron_Chiang2021v2_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AA01_Ondansetron.Ondansetron_Chiang2021v2_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AA01_Ondansetron.Ondansetron_Chiang2021v2_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AA01_Ondansetron.Ondansetron_Chiang2021v2_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AA01_Ondansetron.Ondansetron_Chiang2021v2_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.96796161099337]