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.001017/0.001017, allocations: 84.53 kB / 19.94 MB, free: 4.602 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.001037/0.001037, allocations: 173.2 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.8823/0.8823, allocations: 177.1 MB / 203.5 MB, free: 5.734 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.6792/0.6792, allocations: 291.2 MB / 0.5382 GB, free: 51.51 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.673e-06/1.673e-06, allocations: 3.938 kB / 0.6974 GB, free: 10.34 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.665e-05/2.832e-05, allocations: 2.281 kB / 0.6974 GB, free: 10.33 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AA01_Ondansetron.Ondansetron_Chiang2021_estimate): time 0.002364/0.002393, allocations: 2.692 MB / 0.7 GB, free: 7.621 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.004298/0.006691, allocations: 6.611 MB / 0.7065 GB, free: 1 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001573/0.006848, allocations: 4 kB / 0.7065 GB, free: 0.9961 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001382/0.006986, allocations: 35.58 kB / 0.7065 GB, free: 0.9609 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002298/0.007216, allocations: 127 kB / 0.7066 GB, free: 0.8359 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002317/0.007448, allocations: 71.83 kB / 0.7067 GB, free: 0.7656 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002512/0.007699, allocations: 389.9 kB / 0.7071 GB, free: 392 kB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001439/0.007843, allocations: 56.88 kB / 0.7071 GB, free: 340 kB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001574/0.008, allocations: 211.5 kB / 0.7073 GB, free: 128 kB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001833/0.008184, allocations: 119.6 kB / 0.7074 GB, free: 8 kB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 5.005e-05/0.008234, allocations: 24.05 kB / 0.7075 GB, free: 15.98 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.285e-05/0.008267, allocations: 24 kB / 0.7075 GB, free: 15.96 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 3.903e-05/0.008306, allocations: 55.72 kB / 0.7075 GB, free: 15.91 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 9.377e-05/0.008399, allocations: 119.7 kB / 0.7076 GB, free: 15.79 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002814/0.008681, allocations: 300.2 kB / 0.7079 GB, free: 15.5 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.008685, allocations: 0 / 0.7079 GB, free: 15.5 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.823e-06/0.008687, allocations: 0 / 0.7079 GB, free: 15.5 MB / 426.8 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.008693, 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.0008045/0.009497, allocations: 0.5885 MB / 0.7085 GB, free: 14.86 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.009536, allocations: 12.03 kB / 0.7085 GB, free: 14.84 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.854e-05/0.009594, allocations: 32.75 kB / 0.7086 GB, free: 14.81 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004913/0.01009, allocations: 216.7 kB / 0.7088 GB, free: 14.57 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/0.01011, allocations: 16.75 kB / 0.7088 GB, free: 14.56 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.689e-05/0.01014, allocations: 24.38 kB / 0.7088 GB, free: 14.54 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000333/0.01048, allocations: 296.4 kB / 0.7091 GB, free: 14.23 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.01049, allocations: 3.953 kB / 0.7091 GB, free: 14.22 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.155e-05/0.01051, allocations: 15.98 kB / 0.7091 GB, free: 14.21 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.01052, allocations: 4 kB / 0.7091 GB, free: 14.2 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002755/0.0108, allocations: 232.4 kB / 0.7093 GB, free: 13.96 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007929/0.01159, allocations: 0.6679 MB / 0.71 GB, free: 13.25 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004054/0.01199, allocations: 246 kB / 0.7102 GB, free: 12.99 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001439/0.01214, allocations: 144.5 kB / 0.7104 GB, free: 12.83 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.079e-05/0.01215, allocations: 0 / 0.7104 GB, free: 12.83 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003129/0.01246, allocations: 365.3 kB / 0.7107 GB, free: 12.43 MB / 426.8 MB Notification: Performance of pre-optimization done (n=32): time 1.994e-06/0.01246, allocations: 8 kB / 0.7107 GB, free: 12.42 MB / 426.8 MB Notification: Performance of matching and sorting (n=34): time 0.00125/0.01371, allocations: 1.08 MB / 0.7118 GB, free: 11.25 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003516/0.01407, allocations: 217.6 kB / 0.712 GB, free: 10.99 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000178/0.01424, allocations: 249.9 kB / 0.7122 GB, free: 10.74 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/0.01427, allocations: 37.7 kB / 0.7122 GB, free: 10.7 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.123e-05/0.01435, allocations: 160.8 kB / 0.7124 GB, free: 10.53 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.741e-05/0.01441, allocations: 115 kB / 0.7125 GB, free: 10.42 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.361e-05/0.01448, allocations: 74.2 kB / 0.7126 GB, free: 10.34 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 8.457e-05/0.01456, allocations: 342.7 kB / 0.7129 GB, free: 9.992 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001859/0.01475, allocations: 207.9 kB / 0.7131 GB, free: 9.77 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002105/0.01496, allocations: 311.2 kB / 0.7134 GB, free: 9.402 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003362/0.0153, allocations: 435 kB / 0.7138 GB, free: 8.91 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.0153, allocations: 8 kB / 0.7138 GB, free: 8.902 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004889/0.01579, allocations: 0.5457 MB / 0.7144 GB, free: 8.312 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.713e-05/0.01585, allocations: 93.09 kB / 0.7144 GB, free: 8.203 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.01585, allocations: 4 kB / 0.7144 GB, free: 8.199 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.01587, allocations: 4.344 kB / 0.7145 GB, free: 8.195 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001711/0.01604, allocations: 83.83 kB / 0.7145 GB, free: 8.113 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.01605, allocations: 8 kB / 0.7145 GB, free: 8.105 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001099/0.01616, allocations: 15.98 kB / 0.7146 GB, free: 8.09 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.922e-05/0.01618, allocations: 20 kB / 0.7146 GB, free: 8.07 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.0001871/0.01637, allocations: 221.4 kB / 0.7148 GB, free: 7.836 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.073e-05/0.0164, allocations: 35.8 kB / 0.7148 GB, free: 7.801 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.253e-05/0.01644, allocations: 30.97 kB / 0.7148 GB, free: 7.77 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.01645, allocations: 4 kB / 0.7149 GB, free: 7.766 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.01645, allocations: 0 / 0.7149 GB, free: 7.766 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.01646, allocations: 3.984 kB / 0.7149 GB, free: 7.762 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007259/0.01718, allocations: 0.7639 MB / 0.7156 GB, free: 6.938 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.01718, allocations: 0 / 0.7156 GB, free: 6.938 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001554/0.01734, allocations: 59.89 kB / 0.7157 GB, free: 6.879 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.01734, allocations: 0 / 0.7157 GB, free: 6.879 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.01736, allocations: 12 kB / 0.7157 GB, free: 6.867 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.01736, allocations: 11.88 kB / 0.7157 GB, free: 6.855 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.01736, allocations: 3.938 kB / 0.7157 GB, free: 6.852 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006192/0.01798, allocations: 0.7229 MB / 0.7164 GB, free: 6.07 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.609e-05/0.01802, allocations: 31.86 kB / 0.7164 GB, free: 6.039 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.596e-05/0.01805, allocations: 12 kB / 0.7164 GB, free: 6.027 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.589e-05/0.01815, allocations: 15.98 kB / 0.7164 GB, free: 6.012 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.584e-05/0.01823, allocations: 39.88 kB / 0.7165 GB, free: 5.973 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.01824, allocations: 8 kB / 0.7165 GB, free: 5.965 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001091/0.01835, allocations: 177.2 kB / 0.7167 GB, free: 5.793 MB / 426.8 MB Notification: Performance of sort global known variables: time 5e-08/0.01835, allocations: 0 / 0.7167 GB, free: 5.793 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0002268/0.01858, allocations: 92 kB / 0.7168 GB, free: 5.703 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.0001121/0.01869, allocations: 122.9 kB / 0.7169 GB, free: 5.578 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0004711/0.01916, allocations: 0.5687 MB / 0.7174 GB, free: 4.945 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.01916, allocations: 0 / 0.7174 GB, free: 4.945 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000206/0.01937, allocations: 298 kB / 0.7177 GB, free: 4.617 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003438/0.01971, allocations: 92.98 kB / 0.7178 GB, free: 4.527 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009864/0.0207, allocations: 0.8086 MB / 0.7186 GB, free: 3.676 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003486/0.02104, allocations: 156.3 kB / 0.7187 GB, free: 3.5 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.743e-05/0.02111, allocations: 36.42 kB / 0.7188 GB, free: 3.465 MB / 426.8 MB Notification: Performance of SimCode: time 6.82e-07/0.02111, allocations: 4 kB / 0.7188 GB, free: 3.461 MB / 426.8 MB Notification: Performance of Templates: time 0.1875/0.2086, allocations: 4.016 MB / 0.7227 GB, free: 36.95 MB / 426.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 > Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AA01_Ondansetron.Ondansetron_Chiang2021_estimate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.393071776255965]