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.0006989/0.0006989, allocations: 68.19 kB / 9.865 MB, free: 0.8242 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009177/0.001617, allocations: 443.8 kB / 10.3 MB, free: 400 kB / 10.45 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.0007074/0.0007074, allocations: 157.2 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008737/0.001581, allocations: 463.6 kB / 11.64 MB, free: 2.527 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.991/0.991, allocations: 177.2 MB / 189.5 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07517/1.066, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.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.7557/0.7557, allocations: 291.2 MB / 0.5226 GB, free: 52.94 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02605/0.7818, allocations: 21.04 MB / 0.5431 GB, free: 31.97 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=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Allopurinol.Allopurinol_oxopurinol_direct_depot") translateModel(Pharmacolibrary.Examples.Allopurinol.Allopurinol_oxopurinol_direct_depot,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Allopurinol.Allopurinol_oxopurinol_direct_depot") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 0.5444 GB, free: 30.61 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.116e-05/1.24e-05, allocations: 2.312 kB / 0.5444 GB, free: 30.61 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Allopurinol.Allopurinol_oxopurinol_direct_depot): time 0.002433/0.002445, allocations: 3.252 MB / 0.5476 GB, free: 27.34 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007903/0.003235, allocations: 0.7283 MB / 0.5483 GB, free: 26.61 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.555e-05/0.003331, allocations: 4 kB / 0.5483 GB, free: 26.61 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.334e-05/0.003404, allocations: 39.62 kB / 0.5484 GB, free: 26.57 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001629/0.003567, allocations: 126.9 kB / 0.5485 GB, free: 26.44 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001456/0.003713, allocations: 91.78 kB / 0.5486 GB, free: 26.35 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002529/0.003966, allocations: 425.9 kB / 0.549 GB, free: 25.93 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.004085, allocations: 75.52 kB / 0.5491 GB, free: 25.86 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00021/0.004295, allocations: 257.6 kB / 0.5493 GB, free: 25.61 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001764/0.004472, allocations: 127.7 kB / 0.5494 GB, free: 25.48 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.405e-05/0.004506, allocations: 32 kB / 0.5495 GB, free: 25.45 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.566e-05/0.004541, allocations: 32 kB / 0.5495 GB, free: 25.42 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.559e-05/0.004577, allocations: 47.81 kB / 0.5495 GB, free: 25.38 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.736e-05/0.004654, allocations: 99.81 kB / 0.5496 GB, free: 25.28 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001967/0.004851, allocations: 231.2 kB / 0.5498 GB, free: 25.05 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.324e-05/0.004864, allocations: 8 kB / 0.5499 GB, free: 25.04 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.004865, allocations: 0 / 0.5499 GB, free: 25.04 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.096e-05/0.004876, allocations: 0 / 0.5499 GB, free: 25.04 MB / 410.7 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.0006277/0.005504, allocations: 0.6317 MB / 0.5505 GB, free: 24.37 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.687e-05/0.00553, allocations: 11.89 kB / 0.5505 GB, free: 24.36 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.183e-05/0.005582, allocations: 40.91 kB / 0.5505 GB, free: 24.32 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001685/0.005751, allocations: 201.4 kB / 0.5507 GB, free: 24.1 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.005771, allocations: 20.88 kB / 0.5507 GB, free: 24.08 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.932e-05/0.005801, allocations: 20.38 kB / 0.5508 GB, free: 24.06 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002084/0.006009, allocations: 242.5 kB / 0.551 GB, free: 23.8 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.006021, allocations: 4 kB / 0.551 GB, free: 23.79 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.006035, allocations: 8 kB / 0.551 GB, free: 23.79 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.006041, allocations: 8 kB / 0.551 GB, free: 23.78 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001151/0.006156, allocations: 145.5 kB / 0.5511 GB, free: 23.62 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004889/0.006645, allocations: 476.7 kB / 0.5516 GB, free: 23.14 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000204/0.006849, allocations: 176.1 kB / 0.5518 GB, free: 22.95 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.587e-05/0.006904, allocations: 107.8 kB / 0.5519 GB, free: 22.83 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.148e-05/0.006916, allocations: 7.938 kB / 0.5519 GB, free: 22.82 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001717/0.007088, allocations: 319.4 kB / 0.5522 GB, free: 22.46 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 1.944e-06/0.00709, allocations: 0 / 0.5522 GB, free: 22.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=35): time 0.0007267/0.007816, allocations: 0.8451 MB / 0.553 GB, free: 21.52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.997e-05/0.007856, allocations: 217.6 kB / 0.5532 GB, free: 21.26 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.907e-05/0.007955, allocations: 221 kB / 0.5534 GB, free: 21.04 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.007972, allocations: 41.69 kB / 0.5535 GB, free: 20.99 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.83e-05/0.00801, allocations: 137.3 kB / 0.5536 GB, free: 20.85 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.649e-05/0.008057, allocations: 119 kB / 0.5537 GB, free: 20.73 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.156e-05/0.008118, allocations: 70.16 kB / 0.5538 GB, free: 20.66 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.813e-05/0.008157, allocations: 346.7 kB / 0.5541 GB, free: 20.31 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.774e-05/0.008234, allocations: 151.9 kB / 0.5543 GB, free: 20.14 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.384e-05/0.008328, allocations: 258.8 kB / 0.5545 GB, free: 19.82 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001632/0.008491, allocations: 334.3 kB / 0.5548 GB, free: 19.43 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.008494, allocations: 7.938 kB / 0.5548 GB, free: 19.42 MB / 410.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0002196/0.008713, allocations: 388.5 kB / 0.5552 GB, free: 19 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.51e-05/0.008748, allocations: 89.44 kB / 0.5553 GB, free: 18.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.008753, allocations: 8 kB / 0.5553 GB, free: 18.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.008764, allocations: 4 kB / 0.5553 GB, free: 18.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002278/0.008992, allocations: 107.9 kB / 0.5554 GB, free: 18.78 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.008996, allocations: 4 kB / 0.5554 GB, free: 18.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.009103, allocations: 23.98 kB / 0.5554 GB, free: 18.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/0.009118, allocations: 12 kB / 0.5554 GB, free: 18.74 MB / 410.7 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.0001226/0.009241, allocations: 211.7 kB / 0.5556 GB, free: 18.51 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.999e-05/0.009271, allocations: 35.97 kB / 0.5557 GB, free: 18.47 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.624e-05/0.009307, allocations: 34.95 kB / 0.5557 GB, free: 18.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.009309, allocations: 0 / 0.5557 GB, free: 18.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.009312, allocations: 7.312 kB / 0.5557 GB, free: 18.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.009316, allocations: 4 kB / 0.5557 GB, free: 18.43 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003781/0.009694, allocations: 0.5447 MB / 0.5562 GB, free: 17.83 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.009696, allocations: 0 / 0.5562 GB, free: 17.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001896/0.009886, allocations: 75.88 kB / 0.5563 GB, free: 17.76 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.672e-05/0.009943, allocations: 35.8 kB / 0.5564 GB, free: 17.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.009945, allocations: 4 kB / 0.5564 GB, free: 17.72 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.00996, allocations: 8 kB / 0.5564 GB, free: 17.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.009962, allocations: 0 / 0.5564 GB, free: 17.71 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.009963, allocations: 3.938 kB / 0.5564 GB, free: 17.71 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002727/0.01024, allocations: 0.5237 MB / 0.5569 GB, free: 17.13 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.685e-05/0.01027, allocations: 16 kB / 0.5569 GB, free: 17.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.544e-05/0.01037, allocations: 23.92 kB / 0.5569 GB, free: 17.09 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.336e-05/0.01042, allocations: 23.95 kB / 0.5569 GB, free: 17.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/0.01043, allocations: 15.98 kB / 0.557 GB, free: 17.05 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.068e-05/0.01049, allocations: 74.72 kB / 0.557 GB, free: 16.98 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01049, allocations: 0 / 0.557 GB, free: 16.98 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001963/0.01068, allocations: 88 kB / 0.5571 GB, free: 16.89 MB / 410.7 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 6.938e-05/0.01075, allocations: 112.1 kB / 0.5572 GB, free: 16.77 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002256/0.01098, allocations: 492.3 kB / 0.5577 GB, free: 16.22 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.01098, allocations: 0 / 0.5577 GB, free: 16.22 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.994e-05/0.01108, allocations: 274.5 kB / 0.5579 GB, free: 15.92 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002947/0.01138, allocations: 134 kB / 0.5581 GB, free: 15.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008199/0.01957, allocations: 0.7829 MB / 0.5588 GB, free: 14.96 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.314e-05/0.01965, allocations: 164.3 kB / 0.559 GB, free: 14.79 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000205/0.01985, allocations: 157.3 kB / 0.5591 GB, free: 14.63 MB / 410.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01985, allocations: 0 / 0.5591 GB, free: 14.63 MB / 410.7 MB Notification: Performance of Templates: time 0.2049/0.2247, allocations: 4.285 MB / 0.5633 GB, free: 84.38 MB / 410.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: 4.192703244276345]