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.001309/0.001309, allocations: 92.42 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.0009015/0.0009015, allocations: 166.3 kB / 23.21 MB, free: 1.324 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.9196/0.9196, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.6558/0.6558, allocations: 291.1 MB / 0.5382 GB, free: 51.89 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_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.272e-06/1.272e-06, allocations: 0 / 0.6973 GB, free: 10.38 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.674e-05/1.801e-05, allocations: 9.094 kB / 0.6974 GB, free: 10.37 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AA01_Ondansetron.Ondansetron_Chiang2021v2_reference): time 0.00254/0.002558, allocations: 2.696 MB / 0.7 GB, free: 7.656 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.004552/0.00711, allocations: 6.608 MB / 0.7064 GB, free: 1.039 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.007216, allocations: 0 / 0.7064 GB, free: 1.039 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.000106/0.007322, allocations: 47.56 kB / 0.7065 GB, free: 0.9922 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001982/0.00752, allocations: 119 kB / 0.7066 GB, free: 0.875 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001802/0.0077, allocations: 71.84 kB / 0.7067 GB, free: 0.8047 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002392/0.007939, allocations: 397.8 kB / 0.707 GB, free: 424 kB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001343/0.008074, allocations: 56.89 kB / 0.7071 GB, free: 372 kB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001526/0.008226, allocations: 203.4 kB / 0.7073 GB, free: 168 kB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001625/0.008389, allocations: 127.6 kB / 0.7074 GB, free: 40 kB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.046e-05/0.008419, allocations: 24 kB / 0.7074 GB, free: 16 kB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.888e-05/0.008468, allocations: 24.05 kB / 0.7075 GB, free: 15.99 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 3.976e-05/0.008508, allocations: 51.72 kB / 0.7075 GB, free: 15.94 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001037/0.008612, allocations: 115.7 kB / 0.7076 GB, free: 15.83 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002661/0.008878, allocations: 291.1 kB / 0.7079 GB, free: 15.54 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.00888, allocations: 4 kB / 0.7079 GB, free: 15.54 MB / 426.8 MB Notification: Performance of FrontEnd: time 9.02e-07/0.008881, allocations: 0 / 0.7079 GB, free: 15.54 MB / 426.8 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.008886, allocations: 4 kB / 0.7079 GB, free: 15.54 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.0007517/0.009637, allocations: 0.5924 MB / 0.7085 GB, free: 14.89 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.009669, allocations: 8.031 kB / 0.7085 GB, free: 14.88 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.768e-05/0.009727, allocations: 32.75 kB / 0.7085 GB, free: 14.85 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002324/0.009959, allocations: 220.6 kB / 0.7087 GB, free: 14.61 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/0.009978, allocations: 16.75 kB / 0.7088 GB, free: 14.59 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.522e-05/0.01001, allocations: 24.38 kB / 0.7088 GB, free: 14.57 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003653/0.01038, allocations: 292.5 kB / 0.7091 GB, free: 14.27 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.01039, allocations: 7.953 kB / 0.7091 GB, free: 14.26 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.816e-05/0.01041, allocations: 4 kB / 0.7091 GB, free: 14.25 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.01042, allocations: 4 kB / 0.7091 GB, free: 14.25 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000335/0.01075, allocations: 240.4 kB / 0.7093 GB, free: 14 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008531/0.01161, allocations: 0.6718 MB / 0.71 GB, free: 13.29 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004006/0.01201, allocations: 236.2 kB / 0.7102 GB, free: 13.04 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001741/0.01218, allocations: 152.4 kB / 0.7103 GB, free: 12.87 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.069e-05/0.01219, allocations: 4 kB / 0.7103 GB, free: 12.87 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000335/0.01253, allocations: 369.5 kB / 0.7107 GB, free: 12.46 MB / 426.8 MB Notification: Performance of pre-optimization done (n=32): time 1.643e-06/0.01253, allocations: 3.938 kB / 0.7107 GB, free: 12.45 MB / 426.8 MB Notification: Performance of matching and sorting (n=34): time 0.001443/0.01397, allocations: 1.08 MB / 0.7117 GB, free: 11.29 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.037e-05/0.01405, allocations: 217.6 kB / 0.7119 GB, free: 11.02 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001948/0.01425, allocations: 249.9 kB / 0.7122 GB, free: 10.77 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/0.01427, allocations: 41.64 kB / 0.7122 GB, free: 10.73 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.000137/0.01441, allocations: 156.8 kB / 0.7124 GB, free: 10.57 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.693e-05/0.01447, allocations: 115.1 kB / 0.7125 GB, free: 10.45 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.528e-05/0.01456, allocations: 70.19 kB / 0.7126 GB, free: 10.38 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 8.998e-05/0.01465, allocations: 350.7 kB / 0.7129 GB, free: 10.02 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002264/0.01488, allocations: 203.9 kB / 0.7131 GB, free: 9.805 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002585/0.01513, allocations: 315.2 kB / 0.7134 GB, free: 9.434 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004126/0.01555, allocations: 439 kB / 0.7138 GB, free: 8.938 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.01555, allocations: 0 / 0.7138 GB, free: 8.938 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007039/0.01625, allocations: 0.5457 MB / 0.7143 GB, free: 8.348 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.051e-05/0.01629, allocations: 85.11 kB / 0.7144 GB, free: 8.246 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.0163, allocations: 4.344 kB / 0.7144 GB, free: 8.242 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.01631, allocations: 8 kB / 0.7144 GB, free: 8.234 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002075/0.01652, allocations: 79.89 kB / 0.7145 GB, free: 8.156 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.01653, allocations: 11.92 kB / 0.7145 GB, free: 8.145 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001505/0.01668, allocations: 23.98 kB / 0.7145 GB, free: 8.121 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.113e-05/0.0167, allocations: 12 kB / 0.7145 GB, free: 8.109 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.0001711/0.01687, allocations: 219.1 kB / 0.7148 GB, free: 7.875 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.773e-05/0.01691, allocations: 35.81 kB / 0.7148 GB, free: 7.84 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.162e-05/0.01695, allocations: 34.95 kB / 0.7148 GB, free: 7.805 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.01695, allocations: 0 / 0.7148 GB, free: 7.805 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.01696, allocations: 3.984 kB / 0.7148 GB, free: 7.801 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.01696, allocations: 7.984 kB / 0.7148 GB, free: 7.793 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007987/0.01776, allocations: 0.76 MB / 0.7156 GB, free: 6.973 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.01776, allocations: 0 / 0.7156 GB, free: 6.973 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000184/0.01795, allocations: 51.91 kB / 0.7156 GB, free: 6.922 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.01795, allocations: 8 kB / 0.7156 GB, free: 6.914 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.038e-05/0.01797, allocations: 11.98 kB / 0.7156 GB, free: 6.902 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.01797, allocations: 0 / 0.7156 GB, free: 6.902 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.01797, allocations: 3.938 kB / 0.7157 GB, free: 6.898 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007272/0.0187, allocations: 0.7308 MB / 0.7164 GB, free: 6.109 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.039e-05/0.01874, allocations: 23.8 kB / 0.7164 GB, free: 6.086 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.242e-05/0.01878, allocations: 20.06 kB / 0.7164 GB, free: 6.066 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001331/0.01892, allocations: 15.98 kB / 0.7164 GB, free: 6.051 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.099e-05/0.01899, allocations: 35.89 kB / 0.7165 GB, free: 6.016 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.877e-05/0.01901, allocations: 15.98 kB / 0.7165 GB, free: 6 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001302/0.01914, allocations: 177.2 kB / 0.7166 GB, free: 5.828 MB / 426.8 MB Notification: Performance of sort global known variables: time 1.51e-07/0.01914, allocations: 0 / 0.7166 GB, free: 5.828 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0003081/0.01944, allocations: 87.94 kB / 0.7167 GB, free: 5.742 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.946e-05/0.01954, allocations: 130.9 kB / 0.7168 GB, free: 5.609 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0007818/0.02033, allocations: 0.5647 MB / 0.7174 GB, free: 4.98 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.02033, allocations: 0 / 0.7174 GB, free: 4.98 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002481/0.02058, allocations: 302 kB / 0.7177 GB, free: 4.648 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004204/0.021, allocations: 85.05 kB / 0.7178 GB, free: 4.566 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.02203, allocations: 0.8086 MB / 0.7186 GB, free: 3.715 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001058/0.02214, allocations: 160.3 kB / 0.7187 GB, free: 3.535 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.655e-05/0.02221, allocations: 36.5 kB / 0.7187 GB, free: 3.5 MB / 426.8 MB Notification: Performance of SimCode: time 4.61e-07/0.02221, allocations: 0 / 0.7187 GB, free: 3.5 MB / 426.8 MB Notification: Performance of Templates: time 0.171/0.1932, allocations: 4.032 MB / 0.7227 GB, free: 36.9 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 > Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AA01_Ondansetron.Ondansetron_Chiang2021v2_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.581539103761315]