Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA09_Vancomycin.Vancomycin.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.0009905/0.0009905, allocations: 104.3 kB / 19.71 MB, free: 440 kB / 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.0009985/0.0009985, allocations: 221.8 kB / 23.01 MB, free: 2.938 MB / 13.93 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.9386/0.9386, allocations: 230.6 MB / 256.8 MB, free: 9.605 MB / 202.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.715/0.715, allocations: 312.3 MB / 0.6108 GB, free: 97.14 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.A07AA09_Vancomycin.Vancomycin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA09_Vancomycin.Vancomycin") translateModel(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA09_Vancomycin.Vancomycin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA09_Vancomycin.Vancomycin") [Timeout 660] "Notification: Pharmacolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001646/0.001646, allocations: 76.92 kB / 0.7699 GB, free: 19.69 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1171, allocations: 74 MB / 0.8422 GB, free: 9.824 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA09_Vancomycin.Vancomycin): time 0.002672/0.1197, allocations: 2.711 MB / 0.8448 GB, free: 7.113 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.005209/0.125, allocations: 6.606 MB / 0.8513 GB, free: 0.5078 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001137/0.1251, allocations: 0 / 0.8513 GB, free: 0.5078 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001301/0.1252, allocations: 44.19 kB / 0.8513 GB, free: 476 kB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002102/0.1254, allocations: 120.3 kB / 0.8514 GB, free: 356 kB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002031/0.1256, allocations: 68.42 kB / 0.8515 GB, free: 288 kB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002753/0.1259, allocations: 378.8 kB / 0.8519 GB, free: 15.91 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.126, allocations: 57.33 kB / 0.8519 GB, free: 15.86 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001238/0.1261, allocations: 143.5 kB / 0.8521 GB, free: 15.71 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001961/0.1263, allocations: 136.5 kB / 0.8522 GB, free: 15.58 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.615e-05/0.1264, allocations: 24 kB / 0.8522 GB, free: 15.56 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.056e-05/0.1264, allocations: 24.5 kB / 0.8522 GB, free: 15.54 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.693e-05/0.1265, allocations: 60.3 kB / 0.8523 GB, free: 15.48 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001252/0.1266, allocations: 135.4 kB / 0.8524 GB, free: 15.34 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002309/0.1268, allocations: 295.4 kB / 0.8527 GB, free: 15.05 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.1268, allocations: 0 / 0.8527 GB, free: 15.05 MB / 490.8 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1268, allocations: 0.625 kB / 0.8527 GB, free: 15.05 MB / 490.8 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.1268, allocations: 0.5938 kB / 0.8527 GB, free: 15.05 MB / 490.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.0006639/0.1275, allocations: 0.598 MB / 0.8533 GB, free: 14.41 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.996e-05/0.1275, allocations: 8.562 kB / 0.8533 GB, free: 14.4 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.098e-05/0.1276, allocations: 32.75 kB / 0.8533 GB, free: 14.37 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002157/0.1278, allocations: 213.8 kB / 0.8535 GB, free: 14.13 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.1278, allocations: 12.75 kB / 0.8535 GB, free: 14.12 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.606e-05/0.1278, allocations: 28.47 kB / 0.8536 GB, free: 14.09 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002949/0.1281, allocations: 284.8 kB / 0.8538 GB, free: 13.79 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.1282, allocations: 11.83 kB / 0.8539 GB, free: 13.78 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/0.1282, allocations: 8.562 kB / 0.8539 GB, free: 13.77 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.1282, allocations: 4.812 kB / 0.8539 GB, free: 13.77 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002598/0.1284, allocations: 233 kB / 0.8541 GB, free: 13.53 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008305/0.1293, allocations: 0.6812 MB / 0.8548 GB, free: 12.81 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002938/0.1296, allocations: 235.2 kB / 0.855 GB, free: 12.55 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001313/0.1297, allocations: 153.1 kB / 0.8551 GB, free: 12.39 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 8.586e-06/0.1297, allocations: 4.625 kB / 0.8551 GB, free: 12.39 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2699/0.3996, allocations: 357 kB / 0.8555 GB, free: 21.39 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 3.206e-06/0.3996, allocations: 0 / 0.8555 GB, free: 21.39 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.001385/0.401, allocations: 1.083 MB / 0.8565 GB, free: 20.91 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.61e-05/0.401, allocations: 218.7 kB / 0.8567 GB, free: 20.66 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001722/0.4012, allocations: 251 kB / 0.857 GB, free: 20.55 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.4012, allocations: 32.64 kB / 0.857 GB, free: 20.52 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.454e-05/0.4013, allocations: 161.6 kB / 0.8572 GB, free: 20.42 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.882e-05/0.4013, allocations: 110.5 kB / 0.8573 GB, free: 20.36 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.215e-05/0.4014, allocations: 76.95 kB / 0.8573 GB, free: 20.34 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 4.456e-05/0.4015, allocations: 342.2 kB / 0.8577 GB, free: 20.03 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001696/0.4016, allocations: 210.5 kB / 0.8579 GB, free: 19.92 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001879/0.4018, allocations: 317.5 kB / 0.8582 GB, free: 19.7 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003136/0.4021, allocations: 435.7 kB / 0.8586 GB, free: 19.44 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.4021, allocations: 3 kB / 0.8586 GB, free: 19.44 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004434/0.4026, allocations: 0.5475 MB / 0.8591 GB, free: 19.2 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.974e-05/0.4026, allocations: 96.28 kB / 0.8592 GB, free: 19.1 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.014e-06/0.4026, allocations: 6.031 kB / 0.8592 GB, free: 19.1 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.4026, allocations: 3.25 kB / 0.8592 GB, free: 19.1 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001678/0.4028, allocations: 82.22 kB / 0.8593 GB, free: 19.1 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.4028, allocations: 2.5 kB / 0.8593 GB, free: 19.1 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001144/0.4029, allocations: 24.86 kB / 0.8593 GB, free: 19.1 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.641e-05/0.4029, allocations: 16.62 kB / 0.8593 GB, free: 19.1 MB / 490.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.0001487/0.4031, allocations: 225.7 kB / 0.8596 GB, free: 18.91 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.542e-05/0.4031, allocations: 33.31 kB / 0.8596 GB, free: 18.9 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.423e-05/0.4031, allocations: 33.27 kB / 0.8596 GB, free: 18.89 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.4031, allocations: 3.781 kB / 0.8596 GB, free: 18.89 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.4032, allocations: 2.719 kB / 0.8596 GB, free: 18.89 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.4032, allocations: 5.25 kB / 0.8596 GB, free: 18.89 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006536/0.4038, allocations: 0.7576 MB / 0.8604 GB, free: 18.53 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.4038, allocations: 0 / 0.8604 GB, free: 18.53 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001403/0.404, allocations: 59.36 kB / 0.8604 GB, free: 18.53 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.404, allocations: 2.312 kB / 0.8604 GB, free: 18.53 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/0.404, allocations: 11.77 kB / 0.8604 GB, free: 18.53 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.105e-06/0.404, allocations: 5.188 kB / 0.8604 GB, free: 18.53 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.404, allocations: 0 / 0.8604 GB, free: 18.53 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000578/0.4046, allocations: 0.7316 MB / 0.8612 GB, free: 18.18 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.317e-05/0.4046, allocations: 20.92 kB / 0.8612 GB, free: 18.17 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.572e-05/0.4046, allocations: 12.44 kB / 0.8612 GB, free: 18.17 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.647e-05/0.4047, allocations: 23.8 kB / 0.8612 GB, free: 18.16 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.998e-05/0.4048, allocations: 29.27 kB / 0.8612 GB, free: 18.16 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.616e-05/0.4048, allocations: 12.89 kB / 0.8613 GB, free: 18.16 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.000113/0.4049, allocations: 179.8 kB / 0.8614 GB, free: 18.08 MB / 490.8 MB Notification: Performance of sort global known variables: time 5e-08/0.4049, allocations: 0.625 kB / 0.8614 GB, free: 18.08 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002263/0.4051, allocations: 85.66 kB / 0.8615 GB, free: 18.08 MB / 490.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 9.866e-05/0.4052, allocations: 124.9 kB / 0.8616 GB, free: 18 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005514/0.4058, allocations: 0.5626 MB / 0.8622 GB, free: 17.65 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.4058, allocations: 0 / 0.8622 GB, free: 17.65 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000252/0.4061, allocations: 306.2 kB / 0.8625 GB, free: 17.46 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000401/0.4065, allocations: 86.42 kB / 0.8626 GB, free: 17.46 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001263/0.4077, allocations: 0.9669 MB / 0.8635 GB, free: 16.97 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001152/0.4078, allocations: 160.3 kB / 0.8636 GB, free: 16.89 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.176e-05/0.4079, allocations: 32.11 kB / 0.8637 GB, free: 16.88 MB / 490.8 MB Notification: Performance of SimCode: time 7.62e-07/0.4079, allocations: 0 / 0.8637 GB, free: 16.88 MB / 490.8 MB Notification: Performance of Templates: time 0.006017/0.4139, allocations: 4.012 MB / 0.8676 GB, free: 16.53 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA09_Vancomycin.Vancomycin.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA09_Vancomycin.Vancomycin.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA09_Vancomycin.Vancomycin.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA09_Vancomycin.Vancomycin.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA09_Vancomycin.Vancomycin.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA09_Vancomycin.Vancomycin > Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA09_Vancomycin.Vancomycin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.124191383831203]