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.001542/0.001542, allocations: 92.42 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.001712/0.001712, allocations: 169.9 kB / 23.21 MB, free: 1.328 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.8903/0.8903, 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.7413/0.7413, allocations: 291.1 MB / 0.5382 GB, free: 51.88 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,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.253e-06/1.253e-06, allocations: 0 / 0.6973 GB, free: 10.4 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.062e-05/2.187e-05, allocations: 6.219 kB / 0.6973 GB, free: 10.39 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA05_PolymyxinB.PolymyxinB): time 0.002015/0.002037, allocations: 2.301 MB / 0.6996 GB, free: 8.078 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0006309/0.002667, allocations: 0.6038 MB / 0.7002 GB, free: 7.473 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.716e-05/0.002745, allocations: 0 / 0.7002 GB, free: 7.473 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 9.929e-05/0.002844, allocations: 23.72 kB / 0.7002 GB, free: 7.449 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001474/0.002991, allocations: 91.25 kB / 0.7003 GB, free: 7.359 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001634/0.003155, allocations: 51.81 kB / 0.7003 GB, free: 7.309 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001744/0.003329, allocations: 262.6 kB / 0.7006 GB, free: 7.051 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.003439, allocations: 40.55 kB / 0.7006 GB, free: 7.016 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001051/0.003544, allocations: 135.7 kB / 0.7008 GB, free: 6.883 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001419/0.003686, allocations: 83.72 kB / 0.7008 GB, free: 6.801 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.229e-05/0.003708, allocations: 16 kB / 0.7008 GB, free: 6.785 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.98e-05/0.003728, allocations: 20 kB / 0.7009 GB, free: 6.766 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 2.353e-05/0.003751, allocations: 43.72 kB / 0.7009 GB, free: 6.723 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 5.332e-05/0.003804, allocations: 75.83 kB / 0.701 GB, free: 6.648 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001579/0.003962, allocations: 199.4 kB / 0.7012 GB, free: 6.453 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.003964, allocations: 4 kB / 0.7012 GB, free: 6.449 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.001e-06/0.003965, allocations: 0 / 0.7012 GB, free: 6.449 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.617e-06/0.003969, allocations: 0 / 0.7012 GB, free: 6.449 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.0005309/0.0045, allocations: 496.8 kB / 0.7016 GB, free: 5.918 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.004533, allocations: 12.03 kB / 0.7017 GB, free: 5.906 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.295e-05/0.004576, allocations: 20.8 kB / 0.7017 GB, free: 5.887 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001822/0.004758, allocations: 182.4 kB / 0.7019 GB, free: 5.68 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.004774, allocations: 12.61 kB / 0.7019 GB, free: 5.668 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.531e-05/0.0048, allocations: 16.38 kB / 0.7019 GB, free: 5.652 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002103/0.00501, allocations: 194.5 kB / 0.7021 GB, free: 5.449 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.005022, allocations: 15.88 kB / 0.7021 GB, free: 5.434 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.005035, allocations: 4 kB / 0.7021 GB, free: 5.43 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.005042, allocations: 0 / 0.7021 GB, free: 5.43 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001715/0.005213, allocations: 146.2 kB / 0.7022 GB, free: 5.281 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004259/0.005639, allocations: 489.4 kB / 0.7027 GB, free: 4.77 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002645/0.005904, allocations: 184.8 kB / 0.7029 GB, free: 4.574 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.452e-05/0.005988, allocations: 86.53 kB / 0.703 GB, free: 4.48 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 8.516e-06/0.005997, allocations: 0 / 0.703 GB, free: 4.48 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001796/0.006176, allocations: 236.4 kB / 0.7032 GB, free: 4.219 MB / 410.8 MB Notification: Performance of pre-optimization done (n=20): time 1.282e-06/0.006178, allocations: 0 / 0.7032 GB, free: 4.219 MB / 410.8 MB Notification: Performance of matching and sorting (n=21): time 0.000741/0.006919, allocations: 0.7026 MB / 0.7039 GB, free: 3.453 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.817e-05/0.006947, allocations: 140.5 kB / 0.704 GB, free: 3.285 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.007064, allocations: 215 kB / 0.7042 GB, free: 3.066 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/0.007077, allocations: 29.7 kB / 0.7042 GB, free: 3.031 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.246e-05/0.007119, allocations: 136.5 kB / 0.7044 GB, free: 2.895 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.625e-05/0.007145, allocations: 67.44 kB / 0.7044 GB, free: 2.828 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.406e-05/0.007189, allocations: 53.69 kB / 0.7045 GB, free: 2.77 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 2.872e-05/0.007218, allocations: 330.8 kB / 0.7048 GB, free: 2.438 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001135/0.007332, allocations: 149 kB / 0.7049 GB, free: 2.273 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/0.007447, allocations: 221.3 kB / 0.7051 GB, free: 2.012 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001896/0.007636, allocations: 286.2 kB / 0.7054 GB, free: 1.691 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.007638, allocations: 0 / 0.7054 GB, free: 1.691 MB / 410.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002731/0.007911, allocations: 387.9 kB / 0.7058 GB, free: 1.281 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.007933, allocations: 63.41 kB / 0.7058 GB, free: 1.207 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.738e-06/0.007937, allocations: 7.938 kB / 0.7059 GB, free: 1.199 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.287e-06/0.007947, allocations: 224 / 0.7059 GB, free: 1.199 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.008056, allocations: 59.84 kB / 0.7059 GB, free: 1.141 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.008061, allocations: 3.984 kB / 0.7059 GB, free: 1.137 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.459e-05/0.008146, allocations: 19.98 kB / 0.7059 GB, free: 1.117 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.008157, allocations: 12 kB / 0.7059 GB, free: 1.105 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 9.919e-05/0.008257, allocations: 172.3 kB / 0.7061 GB, free: 0.9219 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.623e-05/0.008273, allocations: 19.91 kB / 0.7061 GB, free: 0.9023 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.447e-05/0.008297, allocations: 25.97 kB / 0.7062 GB, free: 0.875 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.008298, allocations: 0 / 0.7062 GB, free: 0.875 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.008302, allocations: 7.938 kB / 0.7062 GB, free: 0.8672 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.008306, allocations: 3.984 kB / 0.7062 GB, free: 0.8633 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003625/0.008669, allocations: 0.5432 MB / 0.7067 GB, free: 280 kB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.00867, allocations: 0 / 0.7067 GB, free: 280 kB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.714e-05/0.008757, allocations: 31.98 kB / 0.7067 GB, free: 248 kB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.008759, allocations: 7.984 kB / 0.7067 GB, free: 240 kB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.00877, allocations: 4 kB / 0.7067 GB, free: 236 kB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.008771, allocations: 8 kB / 0.7067 GB, free: 228 kB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.008772, allocations: 0 / 0.7067 GB, free: 228 kB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003979/0.00917, allocations: 0.4923 MB / 0.7072 GB, free: 15.7 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.438e-05/0.009194, allocations: 23.86 kB / 0.7073 GB, free: 15.68 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.453e-05/0.009219, allocations: 11.97 kB / 0.7073 GB, free: 15.66 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.672e-05/0.009295, allocations: 11.98 kB / 0.7073 GB, free: 15.65 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.661e-05/0.009352, allocations: 19.97 kB / 0.7073 GB, free: 15.63 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/0.009362, allocations: 12 kB / 0.7073 GB, free: 15.62 MB / 426.8 MB Notification: Performance of sorting global known variables: time 9.063e-05/0.009452, allocations: 164.4 kB / 0.7075 GB, free: 15.46 MB / 426.8 MB Notification: Performance of sort global known variables: time 5e-08/0.009452, allocations: 0 / 0.7075 GB, free: 15.46 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0001763/0.009629, allocations: 52 kB / 0.7075 GB, free: 15.41 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 7.657e-05/0.009705, allocations: 111.3 kB / 0.7076 GB, free: 15.29 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0003267/0.01003, allocations: 382.3 kB / 0.708 GB, free: 14.88 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.01003, allocations: 8.062 kB / 0.708 GB, free: 14.87 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001307/0.01016, allocations: 173 kB / 0.7082 GB, free: 14.68 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002607/0.01042, allocations: 74.56 kB / 0.7082 GB, free: 14.61 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006627/0.01109, allocations: 0.5914 MB / 0.7088 GB, free: 13.98 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.444e-05/0.01116, allocations: 129.6 kB / 0.7089 GB, free: 13.84 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.143e-05/0.01121, allocations: 24.5 kB / 0.7089 GB, free: 13.81 MB / 426.8 MB Notification: Performance of SimCode: time 3.9e-07/0.01121, allocations: 0 / 0.7089 GB, free: 13.81 MB / 426.8 MB Notification: Performance of Templates: time 0.002953/0.01417, allocations: 2.936 MB / 0.7118 GB, free: 10.91 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 > Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA05_PolymyxinB.PolymyxinB.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.535907356068492]