Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AA01_Ondansetron.Ondansetron_Chiang2021_estimate.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.0007135/0.0007135, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009238/0.001637, allocations: 443.9 kB / 10.36 MB, free: 332 kB / 10.45 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.0006906/0.0006906, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001436/0.002127, allocations: 475.7 kB / 11.72 MB, free: 2.453 MB / 13.93 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.006/1.006, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09477/1.101, allocations: 53.66 MB / 243.3 MB, free: 15.57 MB / 250.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.7912/0.7912, allocations: 291.1 MB / 0.5226 GB, free: 52.77 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05093/0.8421, allocations: 21.05 MB / 0.5431 GB, free: 31.79 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.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AA01_Ondansetron.Ondansetron_Chiang2021_estimate,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AA01_Ondansetron.Ondansetron_Chiang2021_estimate") translateModel(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AA01_Ondansetron.Ondansetron_Chiang2021_estimate,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AA01_Ondansetron.Ondansetron_Chiang2021_estimate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 0.5445 GB, free: 30.39 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.369e-05/2.568e-05, allocations: 2.312 kB / 0.5445 GB, free: 30.38 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AA01_Ondansetron.Ondansetron_Chiang2021_estimate): time 0.0039/0.003926, allocations: 2.952 MB / 0.5474 GB, free: 27.43 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006399/0.01033, allocations: 6.778 MB / 0.554 GB, free: 20.64 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002859/0.01061, allocations: 4 kB / 0.554 GB, free: 20.63 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001462/0.01076, allocations: 39.58 kB / 0.5541 GB, free: 20.59 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002348/0.01099, allocations: 123 kB / 0.5542 GB, free: 20.47 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002093/0.0112, allocations: 71.78 kB / 0.5543 GB, free: 20.4 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003014/0.0115, allocations: 401.9 kB / 0.5546 GB, free: 20.01 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001604/0.01166, allocations: 62.86 kB / 0.5547 GB, free: 19.95 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002445/0.01191, allocations: 242.6 kB / 0.5549 GB, free: 19.71 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002254/0.01213, allocations: 135.6 kB / 0.5551 GB, free: 19.58 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.769e-05/0.01217, allocations: 24 kB / 0.5551 GB, free: 19.55 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.28e-05/0.0122, allocations: 24 kB / 0.5551 GB, free: 19.53 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.676e-05/0.01224, allocations: 39.81 kB / 0.5551 GB, free: 19.49 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.03e-05/0.01233, allocations: 95.81 kB / 0.5552 GB, free: 19.4 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002677/0.0126, allocations: 191.3 kB / 0.5554 GB, free: 19.21 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.808e-05/0.01262, allocations: 8 kB / 0.5554 GB, free: 19.2 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.01262, allocations: 3.938 kB / 0.5554 GB, free: 19.2 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.362e-05/0.01263, allocations: 0 / 0.5554 GB, free: 19.2 MB / 410.7 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.0007218/0.01335, allocations: 0.6282 MB / 0.556 GB, free: 18.53 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.01339, allocations: 11.89 kB / 0.5561 GB, free: 18.52 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.179e-05/0.01345, allocations: 40.91 kB / 0.5561 GB, free: 18.48 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001852/0.01364, allocations: 189.5 kB / 0.5563 GB, free: 18.26 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/0.01366, allocations: 20.75 kB / 0.5563 GB, free: 18.24 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.328e-05/0.01369, allocations: 28.27 kB / 0.5563 GB, free: 18.21 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002241/0.01392, allocations: 240.7 kB / 0.5566 GB, free: 17.96 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.01393, allocations: 3.984 kB / 0.5566 GB, free: 17.96 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.01395, allocations: 8 kB / 0.5566 GB, free: 17.95 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.01395, allocations: 4 kB / 0.5566 GB, free: 17.95 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000108/0.01406, allocations: 138.6 kB / 0.5567 GB, free: 17.8 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005883/0.01465, allocations: 0.523 MB / 0.5572 GB, free: 17.25 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001957/0.01485, allocations: 146.2 kB / 0.5573 GB, free: 17.08 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.216e-05/0.0149, allocations: 104.5 kB / 0.5574 GB, free: 16.96 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.15e-05/0.01491, allocations: 7.938 kB / 0.5575 GB, free: 16.96 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001911/0.0151, allocations: 309.4 kB / 0.5578 GB, free: 16.61 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 3.667e-06/0.0151, allocations: 0 / 0.5578 GB, free: 16.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.0007985/0.0159, allocations: 0.8173 MB / 0.5585 GB, free: 15.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.757e-05/0.01595, allocations: 277 kB / 0.5588 GB, free: 15.37 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.01606, allocations: 229 kB / 0.559 GB, free: 15.12 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.01607, allocations: 37.7 kB / 0.5591 GB, free: 15.08 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.148e-05/0.01611, allocations: 129.3 kB / 0.5592 GB, free: 14.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.2945/0.3106, allocations: 123.3 kB / 0.5593 GB, free: 79.43 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001184/0.3107, allocations: 71.34 kB / 0.5594 GB, free: 79.41 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 6.753e-05/0.3108, allocations: 347.9 kB / 0.5597 GB, free: 79.1 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001023/0.3109, allocations: 141.4 kB / 0.5598 GB, free: 79 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/0.311, allocations: 253.4 kB / 0.5601 GB, free: 78.77 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000194/0.3112, allocations: 344.1 kB / 0.5604 GB, free: 78.52 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.3112, allocations: 1.344 kB / 0.5604 GB, free: 78.52 MB / 410.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000333/0.3115, allocations: 386.7 kB / 0.5608 GB, free: 78.29 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.121e-05/0.3116, allocations: 91.7 kB / 0.5609 GB, free: 78.2 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.3116, allocations: 5.938 kB / 0.5609 GB, free: 78.2 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.3116, allocations: 4.406 kB / 0.5609 GB, free: 78.2 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003145/0.3119, allocations: 110.2 kB / 0.561 GB, free: 78.2 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/0.3119, allocations: 10 kB / 0.561 GB, free: 78.2 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001296/0.3121, allocations: 17.25 kB / 0.561 GB, free: 78.2 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.992e-05/0.3121, allocations: 14.08 kB / 0.561 GB, free: 78.2 MB / 410.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.0001874/0.3123, allocations: 208.1 kB / 0.5612 GB, free: 78.02 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.643e-05/0.3123, allocations: 30.97 kB / 0.5613 GB, free: 78.02 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.286e-05/0.3123, allocations: 42.02 kB / 0.5613 GB, free: 78.01 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.3124, allocations: 1.312 kB / 0.5613 GB, free: 78.01 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3124, allocations: 3.75 kB / 0.5613 GB, free: 78.01 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.058e-05/0.3124, allocations: 24.31 kB / 0.5613 GB, free: 78.01 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.798e-05/0.3124, allocations: 12.08 kB / 0.5613 GB, free: 78.01 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.336e-05/0.3124, allocations: 9.375 kB / 0.5613 GB, free: 78.01 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.404e-05/0.3125, allocations: 15.34 kB / 0.5614 GB, free: 78.01 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.271e-05/0.3126, allocations: 28.7 kB / 0.5614 GB, free: 78.01 MB / 410.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003484/0.313, allocations: 389.1 kB / 0.5618 GB, free: 77.78 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003929/0.3133, allocations: 0.5958 MB / 0.5623 GB, free: 77.37 MB / 410.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001197/0.3135, allocations: 137.2 kB / 0.5625 GB, free: 77.3 MB / 410.8 MB Notification: Performance of sorting global known variables: time 9.125e-05/0.3136, allocations: 79.75 kB / 0.5625 GB, free: 77.29 MB / 410.8 MB Notification: Performance of Backend: time 3.71e-07/0.3136, allocations: 0.8125 kB / 0.5625 GB, free: 77.29 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0004857/0.314, allocations: 488.4 kB / 0.563 GB, free: 76.95 MB / 410.8 MB Notification: Performance of SimCode: time 0.007775/0.3218, allocations: 1.318 MB / 0.5643 GB, free: 76.02 MB / 410.8 MB Notification: Performance of Templates: time 0.008122/0.3299, allocations: 5.27 MB / 0.5694 GB, free: 74.98 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AA01_Ondansetron.Ondansetron_Chiang2021_estimate.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AA01_Ondansetron.Ondansetron_Chiang2021_estimate.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AA01_Ondansetron.Ondansetron_Chiang2021_estimate.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AA01_Ondansetron.Ondansetron_Chiang2021_estimate.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AA01_Ondansetron.Ondansetron_Chiang2021_estimate.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AA01_Ondansetron.Ondansetron_Chiang2021_estimate -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AA01_Ondansetron.Ondansetron_Chiang2021_estimate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.74496778100729]