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.00159/0.00159, allocations: 92.52 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.001822/0.001822, allocations: 169.9 kB / 23.21 MB, free: 1.332 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.9873/0.9873, allocations: 177.1 MB / 203.5 MB, free: 5.766 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.6456/0.6456, allocations: 291.1 MB / 0.5382 GB, free: 51.84 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.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 1.363e-06/1.363e-06, allocations: 0 / 0.6973 GB, free: 10.43 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.543e-05/2.679e-05, allocations: 2.281 kB / 0.6973 GB, free: 10.43 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA05_PolymyxinB.PolymyxinB_Manchandani2018_reference): time 0.002139/0.002166, allocations: 2.301 MB / 0.6996 GB, free: 8.113 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0006623/0.002828, allocations: 0.5922 MB / 0.7001 GB, free: 7.52 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.405e-05/0.002902, allocations: 0 / 0.7001 GB, free: 7.52 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.000102/0.003004, allocations: 31.72 kB / 0.7002 GB, free: 7.488 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001577/0.003162, allocations: 83.31 kB / 0.7002 GB, free: 7.406 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001768/0.003339, allocations: 51.81 kB / 0.7003 GB, free: 7.355 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.000193/0.003532, allocations: 262.6 kB / 0.7005 GB, free: 7.098 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.003656, allocations: 40.56 kB / 0.7006 GB, free: 7.062 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001162/0.003772, allocations: 139.6 kB / 0.7007 GB, free: 6.926 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001507/0.003923, allocations: 79.73 kB / 0.7008 GB, free: 6.848 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.512e-05/0.003948, allocations: 20 kB / 0.7008 GB, free: 6.828 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.086e-05/0.003969, allocations: 20 kB / 0.7008 GB, free: 6.809 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 2.797e-05/0.003997, allocations: 39.83 kB / 0.7009 GB, free: 6.77 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 6.061e-05/0.004057, allocations: 79.78 kB / 0.7009 GB, free: 6.691 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001558/0.004213, allocations: 199.4 kB / 0.7011 GB, free: 6.496 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.004216, allocations: 0 / 0.7011 GB, free: 6.496 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.423e-06/0.004217, allocations: 0 / 0.7011 GB, free: 6.496 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.004222, allocations: 0 / 0.7011 GB, free: 6.496 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.0005509/0.004773, allocations: 0.4913 MB / 0.7016 GB, free: 5.961 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.004808, allocations: 8.031 kB / 0.7016 GB, free: 5.953 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.504e-05/0.004853, allocations: 24.8 kB / 0.7016 GB, free: 5.93 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/0.004998, allocations: 178.4 kB / 0.7018 GB, free: 5.727 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.005012, allocations: 8.609 kB / 0.7018 GB, free: 5.719 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.615e-05/0.005038, allocations: 16.38 kB / 0.7018 GB, free: 5.703 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002245/0.005263, allocations: 194.5 kB / 0.702 GB, free: 5.5 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.005274, allocations: 7.938 kB / 0.702 GB, free: 5.492 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.005289, allocations: 11.98 kB / 0.702 GB, free: 5.48 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.005294, allocations: 4 kB / 0.702 GB, free: 5.477 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00018/0.005474, allocations: 146.2 kB / 0.7022 GB, free: 5.328 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004608/0.005935, allocations: 481.4 kB / 0.7026 GB, free: 4.824 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000284/0.006219, allocations: 187.9 kB / 0.7028 GB, free: 4.625 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.721e-05/0.006306, allocations: 86.53 kB / 0.7029 GB, free: 4.531 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.568e-06/0.006316, allocations: 8 kB / 0.7029 GB, free: 4.523 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002469/0.006563, allocations: 236.4 kB / 0.7031 GB, free: 4.262 MB / 410.8 MB Notification: Performance of pre-optimization done (n=20): time 1.713e-06/0.006564, allocations: 0 / 0.7031 GB, free: 4.262 MB / 410.8 MB Notification: Performance of matching and sorting (n=21): time 0.001068/0.007632, allocations: 0.7066 MB / 0.7038 GB, free: 3.492 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/0.007674, allocations: 136.5 kB / 0.704 GB, free: 3.328 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000151/0.007825, allocations: 219 kB / 0.7042 GB, free: 3.105 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.007841, allocations: 33.7 kB / 0.7042 GB, free: 3.066 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.566e-05/0.007896, allocations: 132.5 kB / 0.7043 GB, free: 2.934 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.804e-05/0.007934, allocations: 67.44 kB / 0.7044 GB, free: 2.867 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.69e-05/0.008001, allocations: 53.69 kB / 0.7044 GB, free: 2.809 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.399e-05/0.008055, allocations: 330.8 kB / 0.7048 GB, free: 2.477 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001672/0.008223, allocations: 145 kB / 0.7049 GB, free: 2.316 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001285/0.008351, allocations: 233.8 kB / 0.7051 GB, free: 2.043 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000201/0.008552, allocations: 278.2 kB / 0.7054 GB, free: 1.73 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.008554, allocations: 0 / 0.7054 GB, free: 1.73 MB / 410.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002936/0.008847, allocations: 388 kB / 0.7058 GB, free: 1.32 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.738e-05/0.008875, allocations: 65.75 kB / 0.7058 GB, free: 1.246 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.008881, allocations: 4 kB / 0.7058 GB, free: 1.242 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.008896, allocations: 4 kB / 0.7058 GB, free: 1.238 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.009007, allocations: 51.84 kB / 0.7059 GB, free: 1.188 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.009014, allocations: 8.203 kB / 0.7059 GB, free: 1.18 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.505e-05/0.009099, allocations: 19.98 kB / 0.7059 GB, free: 1.16 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/0.009112, allocations: 12 kB / 0.7059 GB, free: 1.148 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: 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.0001335/0.009246, allocations: 174.5 kB / 0.7061 GB, free: 0.9648 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.171e-05/0.009268, allocations: 19.91 kB / 0.7061 GB, free: 0.9453 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.047e-05/0.009298, allocations: 21.97 kB / 0.7061 GB, free: 0.9219 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.0093, allocations: 4 kB / 0.7061 GB, free: 0.918 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.009305, allocations: 7.875 kB / 0.7061 GB, free: 0.9102 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.00931, allocations: 7.984 kB / 0.7061 GB, free: 0.9023 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004152/0.009725, allocations: 0.5432 MB / 0.7067 GB, free: 320 kB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.009727, allocations: 0 / 0.7067 GB, free: 320 kB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001199/0.009847, allocations: 35.92 kB / 0.7067 GB, free: 284 kB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.00985, allocations: 0 / 0.7067 GB, free: 284 kB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.301e-05/0.009863, allocations: 11.98 kB / 0.7067 GB, free: 272 kB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.009864, allocations: 0 / 0.7067 GB, free: 272 kB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.009865, allocations: 0 / 0.7067 GB, free: 272 kB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004255/0.01029, allocations: 0.4907 MB / 0.7072 GB, free: 15.74 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.655e-05/0.01032, allocations: 23.95 kB / 0.7072 GB, free: 15.72 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.822e-05/0.01035, allocations: 12.03 kB / 0.7072 GB, free: 15.71 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.198e-05/0.01043, allocations: 15.97 kB / 0.7072 GB, free: 15.69 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.499e-05/0.01049, allocations: 23.97 kB / 0.7073 GB, free: 15.67 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/0.0105, allocations: 8 kB / 0.7073 GB, free: 15.66 MB / 426.8 MB Notification: Performance of sorting global known variables: time 9.181e-05/0.0106, allocations: 160.4 kB / 0.7074 GB, free: 15.5 MB / 426.8 MB Notification: Performance of sort global known variables: time 6e-08/0.0106, allocations: 0 / 0.7074 GB, free: 15.5 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0001885/0.01078, allocations: 56 kB / 0.7075 GB, free: 15.45 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.000104/0.01089, allocations: 119.1 kB / 0.7076 GB, free: 15.32 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0003554/0.01124, allocations: 382.4 kB / 0.708 GB, free: 14.91 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.01124, allocations: 0 / 0.708 GB, free: 14.91 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001419/0.01139, allocations: 173.4 kB / 0.7081 GB, free: 14.72 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000291/0.01168, allocations: 63.89 kB / 0.7082 GB, free: 14.66 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00079/0.01247, allocations: 0.6016 MB / 0.7088 GB, free: 14.02 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.837e-05/0.01255, allocations: 125.6 kB / 0.7089 GB, free: 13.88 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.157e-05/0.0126, allocations: 28.5 kB / 0.7089 GB, free: 13.85 MB / 426.8 MB Notification: Performance of SimCode: time 6.11e-07/0.0126, allocations: 0 / 0.7089 GB, free: 13.85 MB / 426.8 MB Notification: Performance of Templates: time 0.003418/0.01602, allocations: 2.94 MB / 0.7118 GB, free: 10.94 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 > Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA05_PolymyxinB.PolymyxinB_Manchandani2018_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.504640746861696]