Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.Allopurinol.Allopurinol_oxopurinol_direct_depot.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.0009702/0.0009702, allocations: 92.5 kB / 19.94 MB, free: 4.605 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.0009165/0.0009165, allocations: 165.8 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.9436/0.9436, allocations: 177.1 MB / 203.5 MB, free: 5.727 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.6724/0.6724, allocations: 291.2 MB / 0.5382 GB, free: 51.89 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.Allopurinol.Allopurinol_oxopurinol_direct_depot,tolerance=1e-06,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Allopurinol.Allopurinol_oxopurinol_direct_depot") translateModel(Pharmacolibrary.Examples.Allopurinol.Allopurinol_oxopurinol_direct_depot,tolerance=1e-06,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Allopurinol.Allopurinol_oxopurinol_direct_depot") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 0.6973 GB, free: 10.43 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.73e-05/2.861e-05, allocations: 2.281 kB / 0.6973 GB, free: 10.43 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Allopurinol.Allopurinol_oxopurinol_direct_depot): time 0.002502/0.00253, allocations: 2.988 MB / 0.7002 GB, free: 7.418 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007809/0.003311, allocations: 0.705 MB / 0.7009 GB, free: 6.711 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001131/0.003424, allocations: 4 kB / 0.7009 GB, free: 6.707 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001154/0.00354, allocations: 35.64 kB / 0.701 GB, free: 6.672 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.00025/0.00379, allocations: 130.9 kB / 0.7011 GB, free: 6.543 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002588/0.004048, allocations: 87.83 kB / 0.7012 GB, free: 6.457 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003491/0.004398, allocations: 429.9 kB / 0.7016 GB, free: 6.035 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001732/0.004571, allocations: 54.28 kB / 0.7016 GB, free: 5.984 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002208/0.004791, allocations: 227.4 kB / 0.7019 GB, free: 5.762 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002393/0.005031, allocations: 119.7 kB / 0.702 GB, free: 5.645 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 4.67e-05/0.005078, allocations: 35.94 kB / 0.702 GB, free: 5.609 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.282e-05/0.00512, allocations: 36 kB / 0.702 GB, free: 5.574 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 4.527e-05/0.005166, allocations: 59.77 kB / 0.7021 GB, free: 5.516 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001133/0.005279, allocations: 131.7 kB / 0.7022 GB, free: 5.387 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003236/0.005602, allocations: 359 kB / 0.7026 GB, free: 5.035 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.005606, allocations: 0 / 0.7026 GB, free: 5.035 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.753e-06/0.005607, allocations: 0 / 0.7026 GB, free: 5.035 MB / 410.8 MB Notification: Performance of Transformations before backend: time 7.094e-06/0.005615, allocations: 0 / 0.7026 GB, free: 5.035 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0007053/0.00632, allocations: 0.6076 MB / 0.7032 GB, free: 4.379 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.006355, allocations: 12.03 kB / 0.7032 GB, free: 4.367 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.372e-05/0.006409, allocations: 32.75 kB / 0.7032 GB, free: 4.336 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001886/0.006598, allocations: 220.7 kB / 0.7034 GB, free: 4.098 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.006616, allocations: 20.88 kB / 0.7034 GB, free: 4.078 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.175e-05/0.006647, allocations: 28.3 kB / 0.7035 GB, free: 4.051 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002893/0.006937, allocations: 310.2 kB / 0.7038 GB, free: 3.719 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.00695, allocations: 0 / 0.7038 GB, free: 3.719 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.671e-05/0.006966, allocations: 8 kB / 0.7038 GB, free: 3.711 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.006972, allocations: 4 kB / 0.7038 GB, free: 3.707 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002495/0.007222, allocations: 252.2 kB / 0.704 GB, free: 3.449 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000613/0.007835, allocations: 0.6504 MB / 0.7046 GB, free: 2.762 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003538/0.008188, allocations: 270 kB / 0.7049 GB, free: 2.477 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001291/0.008318, allocations: 168.4 kB / 0.7051 GB, free: 2.297 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.081e-05/0.008328, allocations: 4 kB / 0.7051 GB, free: 2.293 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002588/0.008587, allocations: 371.4 kB / 0.7054 GB, free: 1.879 MB / 410.8 MB Notification: Performance of pre-optimization done (n=33): time 1.863e-06/0.008589, allocations: 0 / 0.7054 GB, free: 1.879 MB / 410.8 MB Notification: Performance of matching and sorting (n=35): time 0.001104/0.009693, allocations: 1.133 MB / 0.7065 GB, free: 0.6523 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.009738, allocations: 221.6 kB / 0.7067 GB, free: 396 kB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000145/0.009883, allocations: 245.9 kB / 0.707 GB, free: 144 kB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.0099, allocations: 37.7 kB / 0.707 GB, free: 100 kB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.781e-05/0.009978, allocations: 160.8 kB / 0.7072 GB, free: 15.93 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.907e-05/0.01004, allocations: 115.1 kB / 0.7073 GB, free: 15.82 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.423e-05/0.01011, allocations: 74.19 kB / 0.7073 GB, free: 15.74 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 8.558e-05/0.0102, allocations: 342.8 kB / 0.7077 GB, free: 15.4 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001988/0.0104, allocations: 227.8 kB / 0.7079 GB, free: 15.16 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002251/0.01062, allocations: 326.9 kB / 0.7082 GB, free: 14.77 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003674/0.01099, allocations: 454.1 kB / 0.7086 GB, free: 14.26 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.01099, allocations: 0 / 0.7086 GB, free: 14.26 MB / 426.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0005512/0.01154, allocations: 0.581 MB / 0.7092 GB, free: 13.63 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.749e-05/0.01159, allocations: 89.11 kB / 0.7093 GB, free: 13.53 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.0116, allocations: 4 kB / 0.7093 GB, free: 13.52 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.01161, allocations: 4 kB / 0.7093 GB, free: 13.52 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001681/0.01178, allocations: 79.88 kB / 0.7094 GB, free: 13.44 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.758e-05/0.0118, allocations: 7.938 kB / 0.7094 GB, free: 13.43 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001123/0.01191, allocations: 23.98 kB / 0.7094 GB, free: 13.41 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.975e-05/0.01193, allocations: 16 kB / 0.7094 GB, free: 13.39 MB / 426.8 MB Warning: Assuming fixed start value for the following 2 variables: periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real periodicDose.route.variableDose.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 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.route.absorptionLumen.Cmin,$PRE.periodicDose.route.absorptionLumen.Cmin,periodicDose.route.absorptionLumen.Cmax,$PRE.periodicDose.route.absorptionLumen.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,periodicDose.route.absorptionLumen.rising,$PRE.periodicDose.route.absorptionLumen.rising,central.rising,$PRE.central.rising,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 47 * 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.0002059/0.01213, allocations: 235.8 kB / 0.7096 GB, free: 13.14 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.018e-05/0.01217, allocations: 31.8 kB / 0.7097 GB, free: 13.11 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.303e-05/0.01221, allocations: 34.97 kB / 0.7097 GB, free: 13.08 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.01221, allocations: 4 kB / 0.7097 GB, free: 13.07 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.01222, allocations: 0 / 0.7097 GB, free: 13.07 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.01222, allocations: 7.969 kB / 0.7097 GB, free: 13.07 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007391/0.01296, allocations: 0.8173 MB / 0.7105 GB, free: 12.19 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.01297, allocations: 4 kB / 0.7105 GB, free: 12.19 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001566/0.01312, allocations: 59.89 kB / 0.7106 GB, free: 12.13 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.01313, allocations: 3.938 kB / 0.7106 GB, free: 12.12 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.949e-05/0.01315, allocations: 12 kB / 0.7106 GB, free: 12.11 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.01315, allocations: 0 / 0.7106 GB, free: 12.11 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.01315, allocations: 0 / 0.7106 GB, free: 12.11 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006464/0.0138, allocations: 0.7718 MB / 0.7113 GB, free: 11.29 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.573e-05/0.01387, allocations: 55.72 kB / 0.7114 GB, free: 11.23 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.567e-05/0.01391, allocations: 12 kB / 0.7114 GB, free: 11.22 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.741e-05/0.014, allocations: 19.97 kB / 0.7114 GB, free: 11.2 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.346e-05/0.01408, allocations: 35.89 kB / 0.7115 GB, free: 11.17 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.625e-05/0.01409, allocations: 15.94 kB / 0.7115 GB, free: 11.15 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001103/0.0142, allocations: 181.2 kB / 0.7116 GB, free: 10.98 MB / 426.8 MB Notification: Performance of sort global known variables: time 5e-08/0.0142, allocations: 0 / 0.7116 GB, free: 10.98 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0002226/0.01443, allocations: 88 kB / 0.7117 GB, free: 10.89 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,periodicDose.route.variableDose.TotalCumulativeMass,periodicDose.route.absorptionLumen.C,periodicDose.route.absorptionLumen.AUC) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,central.Cmax,central.Cmin,central.rising,periodicDose.route.absorptionLumen.Cmax,periodicDose.route.absorptionLumen.Cmin,periodicDose.route.absorptionLumen.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 11 (periodicDose.pulse.count,central.Cmin,$whenCondition5,central.Cmax,$whenCondition4,central.rising,periodicDose.route.absorptionLumen.Cmin,$whenCondition3,periodicDose.route.absorptionLumen.Cmax,$whenCondition2,periodicDose.route.absorptionLumen.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 25 * 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.731e-05/0.01452, allocations: 118.8 kB / 0.7118 GB, free: 10.77 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0004969/0.01502, allocations: 0.5881 MB / 0.7124 GB, free: 10.11 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.01502, allocations: 0 / 0.7124 GB, free: 10.11 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002112/0.01523, allocations: 318.7 kB / 0.7127 GB, free: 9.766 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000343/0.01558, allocations: 83.7 kB / 0.7128 GB, free: 9.684 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.01659, allocations: 0.8829 MB / 0.7137 GB, free: 8.758 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000103/0.01669, allocations: 168.2 kB / 0.7138 GB, free: 8.57 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.574e-05/0.01676, allocations: 28.5 kB / 0.7139 GB, free: 8.543 MB / 426.8 MB Notification: Performance of SimCode: time 6.02e-07/0.01676, allocations: 4 kB / 0.7139 GB, free: 8.539 MB / 426.8 MB Notification: Performance of Templates: time 0.004193/0.02095, allocations: 4.333 MB / 0.7181 GB, free: 4.238 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.Allopurinol.Allopurinol_oxopurinol_direct_depot.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.Allopurinol.Allopurinol_oxopurinol_direct_depot.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.Allopurinol.Allopurinol_oxopurinol_direct_depot.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.Allopurinol.Allopurinol_oxopurinol_direct_depot.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.Allopurinol.Allopurinol_oxopurinol_direct_depot.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.Allopurinol.Allopurinol_oxopurinol_direct_depot > Pharmacolibrary_Pharmacolibrary.Examples.Allopurinol.Allopurinol_oxopurinol_direct_depot.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.818459639325738]