Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA05_PolymyxinB.PolymyxinB_Manchandani2018_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.002236/0.002236, allocations: 84.44 kB / 19.17 MB, free: 0.7422 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.002435/0.002435, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.57/1.57, allocations: 177.1 MB / 202.8 MB, free: 5.758 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.39/1.39, allocations: 292.9 MB / 0.5392 GB, free: 50.21 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.A07A_IntestinalAntiinfectives.A07AA05_PolymyxinB.PolymyxinB_Manchandani2018_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA05_PolymyxinB.PolymyxinB_Manchandani2018_reference") translateModel(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA05_PolymyxinB.PolymyxinB_Manchandani2018_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA05_PolymyxinB.PolymyxinB_Manchandani2018_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 0.6998 GB, free: 8.621 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.511e-05/3.722e-05, allocations: 2.281 kB / 0.6998 GB, free: 8.617 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA05_PolymyxinB.PolymyxinB_Manchandani2018_reference): time 0.002814/0.002851, allocations: 2.297 MB / 0.7021 GB, free: 6.305 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008941/0.003745, allocations: 0.5962 MB / 0.7027 GB, free: 5.707 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.709e-05/0.003843, allocations: 4 kB / 0.7027 GB, free: 5.703 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001178/0.00396, allocations: 27.66 kB / 0.7027 GB, free: 5.676 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002047/0.004165, allocations: 75.39 kB / 0.7028 GB, free: 5.602 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002022/0.004367, allocations: 63.8 kB / 0.7028 GB, free: 5.539 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002422/0.004609, allocations: 266.6 kB / 0.7031 GB, free: 5.277 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.004742, allocations: 36.5 kB / 0.7031 GB, free: 5.246 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001534/0.004895, allocations: 143.6 kB / 0.7033 GB, free: 5.105 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002083/0.005104, allocations: 83.72 kB / 0.7033 GB, free: 5.023 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.99e-05/0.005133, allocations: 16 kB / 0.7034 GB, free: 5.008 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.905e-05/0.005162, allocations: 16 kB / 0.7034 GB, free: 4.992 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 3.506e-05/0.005198, allocations: 39.84 kB / 0.7034 GB, free: 4.953 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 7.908e-05/0.005277, allocations: 75.77 kB / 0.7035 GB, free: 4.879 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002136/0.00549, allocations: 195.4 kB / 0.7037 GB, free: 4.688 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.005493, allocations: 4 kB / 0.7037 GB, free: 4.684 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.293e-06/0.005495, allocations: 0 / 0.7037 GB, free: 4.684 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.0055, allocations: 3.938 kB / 0.7037 GB, free: 4.68 MB / 410.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0007894/0.00629, allocations: 0.4891 MB / 0.7042 GB, free: 4.145 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.006331, allocations: 8.031 kB / 0.7042 GB, free: 4.137 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.094e-05/0.006392, allocations: 24.8 kB / 0.7042 GB, free: 4.113 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001974/0.006589, allocations: 178.4 kB / 0.7044 GB, free: 3.91 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.117e-05/0.00661, allocations: 16.61 kB / 0.7044 GB, free: 3.895 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.342e-05/0.006644, allocations: 12.38 kB / 0.7044 GB, free: 3.883 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000337/0.006981, allocations: 194.5 kB / 0.7046 GB, free: 3.68 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.006998, allocations: 7.953 kB / 0.7046 GB, free: 3.672 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.944e-05/0.007017, allocations: 4 kB / 0.7046 GB, free: 3.668 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.007026, allocations: 4 kB / 0.7046 GB, free: 3.664 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003138/0.007339, allocations: 150.2 kB / 0.7047 GB, free: 3.512 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006736/0.008013, allocations: 485.5 kB / 0.7052 GB, free: 3.004 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004402/0.008453, allocations: 172 kB / 0.7054 GB, free: 2.82 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001623/0.008615, allocations: 94.67 kB / 0.7054 GB, free: 2.719 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.228e-05/0.008628, allocations: 3.938 kB / 0.7054 GB, free: 2.715 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002974/0.008925, allocations: 233 kB / 0.7057 GB, free: 2.457 MB / 410.8 MB Notification: Performance of pre-optimization done (n=20): time 1.562e-06/0.008927, allocations: 7.938 kB / 0.7057 GB, free: 2.449 MB / 410.8 MB Notification: Performance of matching and sorting (n=21): time 0.00131/0.01024, allocations: 0.6985 MB / 0.7064 GB, free: 1.688 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.773e-05/0.01028, allocations: 132.5 kB / 0.7065 GB, free: 1.527 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001621/0.01045, allocations: 215 kB / 0.7067 GB, free: 1.309 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.01047, allocations: 33.7 kB / 0.7067 GB, free: 1.27 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.85e-05/0.01053, allocations: 140.5 kB / 0.7069 GB, free: 1.129 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.002e-05/0.01057, allocations: 67.42 kB / 0.7069 GB, free: 1.062 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.567e-05/0.01065, allocations: 53.69 kB / 0.707 GB, free: 1.004 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.763e-05/0.01071, allocations: 342.8 kB / 0.7073 GB, free: 0.6602 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002097/0.01092, allocations: 141 kB / 0.7074 GB, free: 0.5039 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002149/0.01113, allocations: 221.3 kB / 0.7076 GB, free: 248 kB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004019/0.01153, allocations: 282.3 kB / 0.7079 GB, free: 15.92 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.01154, allocations: 0 / 0.7079 GB, free: 15.92 MB / 426.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007213/0.01226, allocations: 396 kB / 0.7083 GB, free: 15.51 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.741e-05/0.01233, allocations: 62.22 kB / 0.7084 GB, free: 15.44 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.01234, allocations: 0 / 0.7084 GB, free: 15.44 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.382e-05/0.01237, allocations: 4 kB / 0.7084 GB, free: 15.43 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002349/0.0126, allocations: 59.83 kB / 0.7084 GB, free: 15.38 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/0.01261, allocations: 4 kB / 0.7084 GB, free: 15.37 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002008/0.01281, allocations: 19.98 kB / 0.7084 GB, free: 15.35 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.363e-05/0.01284, allocations: 8 kB / 0.7084 GB, free: 15.34 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: 8 * Number of states: 0 () * Number of discrete variables: 13 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 2 * 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.0002674/0.0131, allocations: 187.3 kB / 0.7086 GB, free: 15.15 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.029e-05/0.01314, allocations: 19.91 kB / 0.7086 GB, free: 15.13 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.618e-05/0.01321, allocations: 29.89 kB / 0.7087 GB, free: 15.1 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.01321, allocations: 4 kB / 0.7087 GB, free: 15.09 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.196e-06/0.01322, allocations: 3.938 kB / 0.7087 GB, free: 15.09 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.01322, allocations: 0 / 0.7087 GB, free: 15.09 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009746/0.0142, allocations: 0.5392 MB / 0.7092 GB, free: 14.5 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.0142, allocations: 8 kB / 0.7092 GB, free: 14.5 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002032/0.0144, allocations: 39.91 kB / 0.7092 GB, free: 14.46 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.01441, allocations: 0 / 0.7092 GB, free: 14.46 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.054e-05/0.01443, allocations: 4 kB / 0.7093 GB, free: 14.45 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.01443, allocations: 0 / 0.7093 GB, free: 14.45 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.01443, allocations: 0 / 0.7093 GB, free: 14.45 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001131/0.01556, allocations: 0.4929 MB / 0.7097 GB, free: 13.93 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.2e-05/0.01561, allocations: 19.89 kB / 0.7098 GB, free: 13.91 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.634e-05/0.01566, allocations: 12 kB / 0.7098 GB, free: 13.89 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000179/0.01584, allocations: 15.98 kB / 0.7098 GB, free: 13.88 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.006e-05/0.01593, allocations: 19.97 kB / 0.7098 GB, free: 13.86 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-05/0.01595, allocations: 4 kB / 0.7098 GB, free: 13.86 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001847/0.01613, allocations: 160.4 kB / 0.71 GB, free: 13.7 MB / 426.8 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01613, allocations: 4 kB / 0.71 GB, free: 13.7 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0003099/0.01644, allocations: 56 kB / 0.71 GB, free: 13.64 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass) * Number of discrete variables: 8 ($whenCondition1,$whenCondition2,$whenCondition3,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 6 (periodicDose.pulse.count,central.Cmin,$whenCondition3,central.Cmax,$whenCondition2,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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.0001801/0.01662, allocations: 117.6 kB / 0.7101 GB, free: 13.52 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0006732/0.01729, allocations: 383.6 kB / 0.7105 GB, free: 13.1 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.0173, allocations: 0 / 0.7105 GB, free: 13.1 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002989/0.01759, allocations: 169 kB / 0.7107 GB, free: 12.92 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004776/0.01807, allocations: 75.39 kB / 0.7107 GB, free: 12.85 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001255/0.01933, allocations: 0.5767 MB / 0.7113 GB, free: 12.24 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001539/0.01948, allocations: 129.6 kB / 0.7114 GB, free: 12.09 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 9.889e-05/0.01958, allocations: 21.95 kB / 0.7114 GB, free: 12.07 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.393e-05/0.01964, allocations: 20.5 kB / 0.7115 GB, free: 12.05 MB / 426.8 MB Notification: Performance of SimCode: time 8.21e-07/0.01964, allocations: 0 / 0.7115 GB, free: 12.05 MB / 426.8 MB Notification: Performance of Templates: time 0.008525/0.02817, allocations: 3.354 MB / 0.7147 GB, free: 8.863 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA05_PolymyxinB.PolymyxinB_Manchandani2018_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA05_PolymyxinB.PolymyxinB_Manchandani2018_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA05_PolymyxinB.PolymyxinB_Manchandani2018_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA05_PolymyxinB.PolymyxinB_Manchandani2018_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA05_PolymyxinB.PolymyxinB_Manchandani2018_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA05_PolymyxinB.PolymyxinB_Manchandani2018_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA05_PolymyxinB.PolymyxinB_Manchandani2018_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.137235965812579]