Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA05_PolymyxinB.PolymyxinB.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.002871/0.002871, allocations: 84.44 kB / 19.17 MB, free: 0.7383 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.003444/0.003444, allocations: 169.9 kB / 22.46 MB, free: 2.102 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.644/1.644, allocations: 177.1 MB / 202.8 MB, free: 5.762 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.351/1.351, allocations: 292.9 MB / 0.5392 GB, free: 49.12 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,tolerance=1e-09,outputFormat="empty",numberOfIntervals=118800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA05_PolymyxinB.PolymyxinB") translateModel(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA05_PolymyxinB.PolymyxinB,tolerance=1e-09,outputFormat="empty",numberOfIntervals=118800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA05_PolymyxinB.PolymyxinB") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 0.6999 GB, free: 8.52 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.637e-05/2.765e-05, allocations: 11.56 kB / 0.6999 GB, free: 8.508 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA05_PolymyxinB.PolymyxinB): time 0.002791/0.002818, allocations: 2.297 MB / 0.7021 GB, free: 6.195 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008749/0.003693, allocations: 0.5999 MB / 0.7027 GB, free: 5.594 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001026/0.003796, allocations: 4 kB / 0.7027 GB, free: 5.59 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001169/0.003913, allocations: 23.72 kB / 0.7027 GB, free: 5.566 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001886/0.004101, allocations: 83.28 kB / 0.7028 GB, free: 5.484 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001981/0.004299, allocations: 59.84 kB / 0.7029 GB, free: 5.426 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002227/0.004522, allocations: 254.6 kB / 0.7031 GB, free: 5.176 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.004646, allocations: 40.5 kB / 0.7032 GB, free: 5.141 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001599/0.004806, allocations: 139.6 kB / 0.7033 GB, free: 5.004 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001805/0.004986, allocations: 87.78 kB / 0.7034 GB, free: 4.918 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.151e-05/0.005018, allocations: 16 kB / 0.7034 GB, free: 4.902 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.105e-05/0.005049, allocations: 20 kB / 0.7034 GB, free: 4.883 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 3.304e-05/0.005082, allocations: 43.7 kB / 0.7035 GB, free: 4.84 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 7.895e-05/0.005161, allocations: 75.83 kB / 0.7035 GB, free: 4.766 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001967/0.005358, allocations: 195.3 kB / 0.7037 GB, free: 4.574 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.00536, allocations: 0 / 0.7037 GB, free: 4.574 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.513e-06/0.005362, allocations: 4 kB / 0.7037 GB, free: 4.57 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.005366, allocations: 0 / 0.7037 GB, free: 4.57 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.0007914/0.006158, allocations: 496.8 kB / 0.7042 GB, free: 4.039 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.006196, allocations: 12.03 kB / 0.7042 GB, free: 4.027 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.455e-05/0.006261, allocations: 24.78 kB / 0.7042 GB, free: 4.004 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002126/0.006473, allocations: 186.4 kB / 0.7044 GB, free: 3.793 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.006491, allocations: 12.55 kB / 0.7044 GB, free: 3.781 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.582e-05/0.006527, allocations: 12.38 kB / 0.7044 GB, free: 3.77 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003394/0.006867, allocations: 198.5 kB / 0.7046 GB, free: 3.562 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.006882, allocations: 7.953 kB / 0.7046 GB, free: 3.555 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.806e-05/0.006901, allocations: 4 kB / 0.7046 GB, free: 3.551 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.006906, allocations: 4 kB / 0.7046 GB, free: 3.547 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003136/0.007219, allocations: 146.2 kB / 0.7048 GB, free: 3.398 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006983/0.007917, allocations: 485.4 kB / 0.7052 GB, free: 2.891 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004633/0.008381, allocations: 176.2 kB / 0.7054 GB, free: 2.703 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000162/0.008543, allocations: 94.66 kB / 0.7055 GB, free: 2.602 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.304e-05/0.008556, allocations: 3.938 kB / 0.7055 GB, free: 2.598 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003045/0.00886, allocations: 236.4 kB / 0.7057 GB, free: 2.336 MB / 410.8 MB Notification: Performance of pre-optimization done (n=20): time 1.323e-06/0.008862, allocations: 0 / 0.7057 GB, free: 2.336 MB / 410.8 MB Notification: Performance of matching and sorting (n=21): time 0.001331/0.01019, allocations: 0.7013 MB / 0.7064 GB, free: 1.574 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.177e-05/0.01025, allocations: 140.5 kB / 0.7065 GB, free: 1.406 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001657/0.01042, allocations: 211 kB / 0.7067 GB, free: 1.191 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.01044, allocations: 33.7 kB / 0.7068 GB, free: 1.152 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.827e-05/0.01052, allocations: 128.5 kB / 0.7069 GB, free: 1.023 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.747e-05/0.01057, allocations: 79.41 kB / 0.707 GB, free: 0.9453 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.625e-05/0.01064, allocations: 49.7 kB / 0.707 GB, free: 0.8906 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 7.283e-05/0.01071, allocations: 338.8 kB / 0.7073 GB, free: 0.5508 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002025/0.01092, allocations: 145 kB / 0.7075 GB, free: 400 kB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002116/0.01113, allocations: 221.3 kB / 0.7077 GB, free: 132 kB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004777/0.01161, allocations: 282.3 kB / 0.708 GB, free: 15.81 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.01161, allocations: 7.938 kB / 0.708 GB, free: 15.8 MB / 426.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006949/0.0123, allocations: 387.9 kB / 0.7083 GB, free: 15.39 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.54e-05/0.01237, allocations: 63.39 kB / 0.7084 GB, free: 15.32 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.01237, allocations: 0 / 0.7084 GB, free: 15.32 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.01239, allocations: 4.219 kB / 0.7084 GB, free: 15.31 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002346/0.01262, allocations: 63.84 kB / 0.7085 GB, free: 15.25 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.01263, allocations: 0 / 0.7085 GB, free: 15.25 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001865/0.01282, allocations: 19.98 kB / 0.7085 GB, free: 15.23 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.184e-05/0.01284, allocations: 11.94 kB / 0.7085 GB, free: 15.22 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.0002342/0.01307, allocations: 176.3 kB / 0.7087 GB, free: 15.03 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.667e-05/0.01311, allocations: 19.91 kB / 0.7087 GB, free: 15.01 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.102e-05/0.01317, allocations: 21.95 kB / 0.7087 GB, free: 14.99 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.01317, allocations: 4 kB / 0.7087 GB, free: 14.98 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/0.01318, allocations: 3.938 kB / 0.7087 GB, free: 14.98 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.01319, allocations: 4 kB / 0.7087 GB, free: 14.98 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001229/0.01442, allocations: 0.5392 MB / 0.7092 GB, free: 14.39 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.01442, allocations: 0 / 0.7092 GB, free: 14.39 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002039/0.01462, allocations: 35.95 kB / 0.7093 GB, free: 14.36 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.501e-06/0.01463, allocations: 4 kB / 0.7093 GB, free: 14.36 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.14e-05/0.01465, allocations: 7.984 kB / 0.7093 GB, free: 14.35 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.01465, allocations: 4 kB / 0.7093 GB, free: 14.34 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.01465, allocations: 4 kB / 0.7093 GB, free: 14.34 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009185/0.01557, allocations: 0.4965 MB / 0.7098 GB, free: 13.81 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.327e-05/0.01561, allocations: 19.89 kB / 0.7098 GB, free: 13.79 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.464e-05/0.01566, allocations: 8 kB / 0.7098 GB, free: 13.79 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001785/0.01584, allocations: 15.98 kB / 0.7098 GB, free: 13.77 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.314e-05/0.01593, allocations: 27.95 kB / 0.7099 GB, free: 13.74 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.628e-05/0.01595, allocations: 8 kB / 0.7099 GB, free: 13.73 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.000183/0.01613, allocations: 160.4 kB / 0.71 GB, free: 13.58 MB / 426.8 MB Notification: Performance of sort global known variables: time 7e-08/0.01613, allocations: 0 / 0.71 GB, free: 13.58 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.000316/0.01645, allocations: 55.94 kB / 0.7101 GB, free: 13.52 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.000167/0.01661, allocations: 115.2 kB / 0.7102 GB, free: 13.4 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0007025/0.01732, allocations: 386.6 kB / 0.7105 GB, free: 12.98 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.01732, allocations: 4.125 kB / 0.7105 GB, free: 12.98 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002952/0.01761, allocations: 169 kB / 0.7107 GB, free: 12.8 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004741/0.01809, allocations: 67.77 kB / 0.7108 GB, free: 12.73 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001251/0.01934, allocations: 0.5694 MB / 0.7113 GB, free: 12.13 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001429/0.01948, allocations: 125.6 kB / 0.7114 GB, free: 11.99 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0001034/0.01958, allocations: 25.92 kB / 0.7115 GB, free: 11.96 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.778e-05/0.01965, allocations: 24.5 kB / 0.7115 GB, free: 11.94 MB / 426.8 MB Notification: Performance of SimCode: time 6.51e-07/0.01965, allocations: 4 kB / 0.7115 GB, free: 11.93 MB / 426.8 MB Notification: Performance of Templates: time 0.008398/0.02805, allocations: 3.338 MB / 0.7148 GB, free: 8.758 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA05_PolymyxinB.PolymyxinB.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA05_PolymyxinB.PolymyxinB.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA05_PolymyxinB.PolymyxinB.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA05_PolymyxinB.PolymyxinB.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA05_PolymyxinB.PolymyxinB.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA05_PolymyxinB.PolymyxinB -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA05_PolymyxinB.PolymyxinB.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.10279153008014]