Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.Gentamicin.Gentamicin_lower_adult.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.00103/0.00103, allocations: 92.52 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.001001/0.001001, allocations: 165.9 kB / 23.21 MB, free: 1.336 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.9248/0.9248, allocations: 177.1 MB / 203.5 MB, free: 5.777 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.6717/0.6717, allocations: 291.1 MB / 0.5382 GB, free: 51.83 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.Examples.Gentamicin.Gentamicin_lower_adult,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Gentamicin.Gentamicin_lower_adult") translateModel(Pharmacolibrary.Examples.Gentamicin.Gentamicin_lower_adult,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Gentamicin.Gentamicin_lower_adult") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.012e-06/1.012e-06, allocations: 0 / 0.6973 GB, free: 10.45 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.329e-05/1.43e-05, allocations: 10.16 kB / 0.6973 GB, free: 10.43 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Gentamicin.Gentamicin_lower_adult): time 0.001872/0.001887, allocations: 2.272 MB / 0.6995 GB, free: 8.145 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0005377/0.002424, allocations: 0.6002 MB / 0.7001 GB, free: 7.543 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.469e-05/0.002479, allocations: 0 / 0.7001 GB, free: 7.543 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 5.153e-05/0.002531, allocations: 23.78 kB / 0.7001 GB, free: 7.52 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 9.783e-05/0.002628, allocations: 83.27 kB / 0.7002 GB, free: 7.438 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001008/0.002729, allocations: 55.88 kB / 0.7003 GB, free: 7.383 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001308/0.00286, allocations: 266.6 kB / 0.7005 GB, free: 7.121 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 6.833e-05/0.002928, allocations: 36.52 kB / 0.7005 GB, free: 7.09 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 9.471e-05/0.003023, allocations: 135.7 kB / 0.7007 GB, free: 6.957 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000102/0.003125, allocations: 83.72 kB / 0.7008 GB, free: 6.875 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.003145, allocations: 19.94 kB / 0.7008 GB, free: 6.855 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.705e-05/0.003162, allocations: 20 kB / 0.7008 GB, free: 6.836 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 1.849e-05/0.00318, allocations: 31.84 kB / 0.7008 GB, free: 6.805 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 4.351e-05/0.003224, allocations: 75.83 kB / 0.7009 GB, free: 6.73 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001212/0.003345, allocations: 195.4 kB / 0.7011 GB, free: 6.539 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.483e-06/0.003347, allocations: 4 kB / 0.7011 GB, free: 6.535 MB / 410.8 MB Notification: Performance of FrontEnd: time 5.1e-07/0.003347, allocations: 0 / 0.7011 GB, free: 6.535 MB / 410.8 MB Notification: Performance of Transformations before backend: time 2.785e-06/0.00335, allocations: 0 / 0.7011 GB, free: 6.535 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.0003641/0.003714, allocations: 496.9 kB / 0.7016 GB, free: 6.004 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.251e-05/0.003737, allocations: 8.031 kB / 0.7016 GB, free: 5.996 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.887e-05/0.003765, allocations: 20.84 kB / 0.7016 GB, free: 5.977 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.003878, allocations: 192.8 kB / 0.7018 GB, free: 5.762 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.327e-06/0.003887, allocations: 20.53 kB / 0.7018 GB, free: 5.742 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.876e-05/0.003906, allocations: 16.38 kB / 0.7018 GB, free: 5.727 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001835/0.00409, allocations: 190.1 kB / 0.702 GB, free: 5.527 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.004097, allocations: 0 / 0.702 GB, free: 5.527 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.004107, allocations: 11.94 kB / 0.702 GB, free: 5.516 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.126e-06/0.00411, allocations: 4 kB / 0.702 GB, free: 5.512 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001619/0.004272, allocations: 150.2 kB / 0.7021 GB, free: 5.359 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003543/0.004626, allocations: 485.4 kB / 0.7026 GB, free: 4.852 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002285/0.004855, allocations: 172.2 kB / 0.7028 GB, free: 4.668 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.347e-05/0.004938, allocations: 94.52 kB / 0.7029 GB, free: 4.566 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 6.101e-06/0.004944, allocations: 0 / 0.7029 GB, free: 4.566 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001567/0.005101, allocations: 231 kB / 0.7031 GB, free: 4.312 MB / 410.8 MB Notification: Performance of pre-optimization done (n=20): time 1.002e-06/0.005102, allocations: 0 / 0.7031 GB, free: 4.312 MB / 410.8 MB Notification: Performance of matching and sorting (n=21): time 0.0006523/0.005754, allocations: 0.7003 MB / 0.7038 GB, free: 3.547 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.687e-05/0.005781, allocations: 140.5 kB / 0.7039 GB, free: 3.379 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.005888, allocations: 211.8 kB / 0.7041 GB, free: 3.16 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.043e-05/0.005899, allocations: 29.7 kB / 0.7041 GB, free: 3.125 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.853e-05/0.005937, allocations: 128.5 kB / 0.7043 GB, free: 2.996 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.849e-05/0.005966, allocations: 79.41 kB / 0.7043 GB, free: 2.918 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.552e-05/0.006011, allocations: 53.66 kB / 0.7044 GB, free: 2.859 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.537e-05/0.006047, allocations: 334.8 kB / 0.7047 GB, free: 2.523 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.00616, allocations: 145 kB / 0.7048 GB, free: 2.363 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000121/0.006281, allocations: 225.3 kB / 0.7051 GB, free: 2.098 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001948/0.006476, allocations: 280.8 kB / 0.7053 GB, free: 1.781 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.006477, allocations: 3.938 kB / 0.7053 GB, free: 1.777 MB / 410.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002857/0.006763, allocations: 390.9 kB / 0.7057 GB, free: 1.367 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.006786, allocations: 64.33 kB / 0.7058 GB, free: 1.293 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.00679, allocations: 4 kB / 0.7058 GB, free: 1.289 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.006801, allocations: 3.938 kB / 0.7058 GB, free: 1.285 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.006911, allocations: 55.91 kB / 0.7058 GB, free: 1.23 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.006916, allocations: 4 kB / 0.7058 GB, free: 1.227 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.496e-05/0.007001, allocations: 15.98 kB / 0.7058 GB, free: 1.211 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.007013, allocations: 8 kB / 0.7058 GB, free: 1.203 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.813e-05/0.007111, allocations: 179 kB / 0.706 GB, free: 1.016 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.207e-05/0.007133, allocations: 19.91 kB / 0.706 GB, free: 0.9961 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.661e-05/0.00716, allocations: 25.95 kB / 0.7061 GB, free: 0.9688 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.007161, allocations: 3.938 kB / 0.7061 GB, free: 0.9648 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.085e-06/0.007164, allocations: 0 / 0.7061 GB, free: 0.9648 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.007169, allocations: 4 kB / 0.7061 GB, free: 0.9609 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003695/0.007538, allocations: 0.5406 MB / 0.7066 GB, free: 380 kB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-06/0.007539, allocations: 0 / 0.7066 GB, free: 380 kB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.911e-05/0.007628, allocations: 35.97 kB / 0.7066 GB, free: 344 kB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.00763, allocations: 3.984 kB / 0.7066 GB, free: 340 kB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.007642, allocations: 8 kB / 0.7066 GB, free: 332 kB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.007643, allocations: 3.938 kB / 0.7066 GB, free: 328 kB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.007644, allocations: 3.938 kB / 0.7066 GB, free: 324 kB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003882/0.008032, allocations: 0.495 MB / 0.7071 GB, free: 15.79 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.307e-05/0.008055, allocations: 19.94 kB / 0.7072 GB, free: 15.77 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.493e-05/0.00808, allocations: 12 kB / 0.7072 GB, free: 15.76 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.82e-05/0.008158, allocations: 11.98 kB / 0.7072 GB, free: 15.75 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.094e-05/0.008209, allocations: 19.97 kB / 0.7072 GB, free: 15.73 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/0.008219, allocations: 12 kB / 0.7072 GB, free: 15.72 MB / 426.8 MB Notification: Performance of sorting global known variables: time 8.489e-05/0.008304, allocations: 153.5 kB / 0.7074 GB, free: 15.57 MB / 426.8 MB Notification: Performance of sort global known variables: time 5.1e-08/0.008304, allocations: 0 / 0.7074 GB, free: 15.57 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0001901/0.008495, allocations: 59.94 kB / 0.7074 GB, free: 15.51 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 8.625e-05/0.008581, allocations: 108.3 kB / 0.7075 GB, free: 15.4 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0003208/0.008902, allocations: 387.5 kB / 0.7079 GB, free: 14.98 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.263e-06/0.008903, allocations: 0 / 0.7079 GB, free: 14.98 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001328/0.009036, allocations: 175.3 kB / 0.708 GB, free: 14.79 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002496/0.009285, allocations: 60.38 kB / 0.7081 GB, free: 14.73 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000676/0.009961, allocations: 0.5837 MB / 0.7087 GB, free: 14.11 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.639e-05/0.01003, allocations: 125.3 kB / 0.7088 GB, free: 13.96 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.595e-05/0.01007, allocations: 24.48 kB / 0.7088 GB, free: 13.94 MB / 426.8 MB Notification: Performance of SimCode: time 5.31e-07/0.01007, allocations: 0 / 0.7088 GB, free: 13.94 MB / 426.8 MB Notification: Performance of Templates: time 0.002845/0.01292, allocations: 2.914 MB / 0.7117 GB, free: 11.05 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.Gentamicin.Gentamicin_lower_adult.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.Gentamicin.Gentamicin_lower_adult.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.Gentamicin.Gentamicin_lower_adult.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.Gentamicin.Gentamicin_lower_adult.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.Gentamicin.Gentamicin_lower_adult.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.Gentamicin.Gentamicin_lower_adult > Pharmacolibrary_Pharmacolibrary.Examples.Gentamicin.Gentamicin_lower_adult.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.4075170354917645]