Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.Allopurinol.Allopurinol_oxypurinol.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.00113/0.00113, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001404/0.002534, allocations: 443.9 kB / 10.36 MB, free: 332 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.00106/0.00106, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001373/0.002432, allocations: 475.7 kB / 11.72 MB, free: 2.453 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.9623/0.9623, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08448/1.047, allocations: 53.66 MB / 243.3 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 1.789/1.789, allocations: 291.1 MB / 0.5226 GB, free: 52.78 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03989/1.828, allocations: 21.04 MB / 0.5431 GB, free: 31.8 MB / 410.7 MB " [Timeout remaining time 178] 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_oxypurinol,tolerance=1e-09,outputFormat="empty",numberOfIntervals=17280,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Allopurinol.Allopurinol_oxypurinol") translateModel(Pharmacolibrary.Examples.Allopurinol.Allopurinol_oxypurinol,tolerance=1e-09,outputFormat="empty",numberOfIntervals=17280,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Allopurinol.Allopurinol_oxypurinol") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 0.5444 GB, free: 30.46 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.017e-05/2.153e-05, allocations: 6.25 kB / 0.5445 GB, free: 30.46 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Allopurinol.Allopurinol_oxypurinol): time 0.004175/0.004196, allocations: 4.277 MB / 0.5486 GB, free: 26.16 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001705/0.005901, allocations: 1.013 MB / 0.5496 GB, free: 25.14 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002165/0.006118, allocations: 4 kB / 0.5496 GB, free: 25.14 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001276/0.006245, allocations: 71.22 kB / 0.5497 GB, free: 25.07 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000416/0.006661, allocations: 242.1 kB / 0.5499 GB, free: 24.83 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002625/0.006924, allocations: 159.8 kB / 0.5501 GB, free: 24.68 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005844/0.007508, allocations: 0.8087 MB / 0.5509 GB, free: 23.86 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002084/0.007717, allocations: 131.3 kB / 0.551 GB, free: 23.73 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005375/0.008254, allocations: 0.4941 MB / 0.5515 GB, free: 23.23 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003289/0.008583, allocations: 243.3 kB / 0.5517 GB, free: 23 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.019e-05/0.008673, allocations: 72 kB / 0.5518 GB, free: 22.93 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.539e-05/0.008759, allocations: 71.94 kB / 0.5518 GB, free: 22.86 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.883e-05/0.008828, allocations: 95.69 kB / 0.5519 GB, free: 22.76 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001849/0.009013, allocations: 195.7 kB / 0.5521 GB, free: 22.57 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004588/0.009471, allocations: 434.5 kB / 0.5525 GB, free: 22.14 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.282e-05/0.009484, allocations: 0 / 0.5525 GB, free: 22.14 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.009485, allocations: 0 / 0.5525 GB, free: 22.14 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.164e-05/0.009507, allocations: 0 / 0.5525 GB, free: 22.14 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: 86 * Number of variables: 86 Notification: Performance of Generate backend data structure: time 0.001119/0.01063, allocations: 0.999 MB / 0.5535 GB, free: 21.09 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.01067, allocations: 15.89 kB / 0.5535 GB, free: 21.08 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001125/0.01078, allocations: 64.88 kB / 0.5536 GB, free: 21.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003416/0.01112, allocations: 264.6 kB / 0.5538 GB, free: 20.73 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.221e-05/0.01115, allocations: 29.38 kB / 0.5539 GB, free: 20.7 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.705e-05/0.01122, allocations: 40.38 kB / 0.5539 GB, free: 20.66 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004093/0.01163, allocations: 399.2 kB / 0.5543 GB, free: 20.23 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.246e-05/0.01165, allocations: 3.953 kB / 0.5543 GB, free: 20.23 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.041e-05/0.01168, allocations: 19.98 kB / 0.5543 GB, free: 20.21 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.01169, allocations: 8 kB / 0.5543 GB, free: 20.2 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002447/0.01194, allocations: 225.9 kB / 0.5545 GB, free: 19.96 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001124/0.01306, allocations: 0.8049 MB / 0.5553 GB, free: 19.13 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003428/0.0134, allocations: 258.6 kB / 0.5556 GB, free: 18.85 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001267/0.01353, allocations: 159.3 kB / 0.5557 GB, free: 18.67 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.01355, allocations: 8.375 kB / 0.5557 GB, free: 18.66 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003205/0.01387, allocations: 497.2 kB / 0.5562 GB, free: 18.11 MB / 410.7 MB Notification: Performance of pre-optimization done (n=57): time 2.004e-06/0.01387, allocations: 4 kB / 0.5562 GB, free: 18.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=60): time 0.001374/0.01525, allocations: 1.267 MB / 0.5574 GB, free: 16.72 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.871e-05/0.01532, allocations: 400.2 kB / 0.5578 GB, free: 16.24 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002271/0.01554, allocations: 327.4 kB / 0.5581 GB, free: 15.91 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.717e-05/0.01558, allocations: 45.7 kB / 0.5582 GB, free: 15.86 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.913e-05/0.01565, allocations: 177.9 kB / 0.5583 GB, free: 15.68 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001104/0.01576, allocations: 206.3 kB / 0.5585 GB, free: 15.48 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001329/0.01589, allocations: 118.3 kB / 0.5587 GB, free: 15.36 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.318e-05/0.01596, allocations: 374.7 kB / 0.559 GB, free: 14.98 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001755/0.01613, allocations: 240.2 kB / 0.5592 GB, free: 14.71 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.284/0.3002, allocations: 425.1 kB / 0.5596 GB, free: 84.54 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003424/0.3005, allocations: 0.5421 MB / 0.5602 GB, free: 84.14 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.3005, allocations: 2.125 kB / 0.5602 GB, free: 84.14 MB / 410.8 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0005335/0.3011, allocations: 0.6305 MB / 0.5608 GB, free: 83.79 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.109e-05/0.3011, allocations: 150.7 kB / 0.5609 GB, free: 83.63 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.958e-06/0.3011, allocations: 6 kB / 0.5609 GB, free: 83.63 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.3011, allocations: 7.25 kB / 0.5609 GB, free: 83.63 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004582/0.3016, allocations: 190 kB / 0.5611 GB, free: 83.63 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/0.3016, allocations: 12.2 kB / 0.5611 GB, free: 83.63 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002235/0.3018, allocations: 38.33 kB / 0.5612 GB, free: 83.63 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.742e-05/0.3019, allocations: 21.48 kB / 0.5612 GB, free: 83.63 MB / 410.8 MB Warning: Assuming fixed start value for the following 3 variables: parent.periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real parent.periodicDose.route.variableDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real metabolite.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: 19 * Number of states: 0 () * Number of discrete variables: 34 (parent.central.Cmin,$PRE.parent.central.Cmin,parent.central.Cmax,$PRE.parent.central.Cmax,parent.periodicDose.route.absorptionLumen.Cmin,$PRE.parent.periodicDose.route.absorptionLumen.Cmin,parent.periodicDose.route.absorptionLumen.Cmax,$PRE.parent.periodicDose.route.absorptionLumen.Cmax,metabolite.central.Cmin,$PRE.metabolite.central.Cmin,metabolite.central.Cmax,$PRE.metabolite.central.Cmax,metabolite.periodicDose.pulse.count,$PRE.metabolite.periodicDose.pulse.count,metabolite.periodicDose.pulse.T_start,$PRE.metabolite.periodicDose.pulse.T_start,metabolite.central.rising,$PRE.metabolite.central.rising,parent.periodicDose.pulse.count,$PRE.parent.periodicDose.pulse.count,parent.periodicDose.pulse.T_start,$PRE.parent.periodicDose.pulse.T_start,parent.periodicDose.route.absorptionLumen.rising,$PRE.parent.periodicDose.route.absorptionLumen.rising,parent.central.rising,$PRE.parent.central.rising,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 5 * 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.0002948/0.3022, allocations: 279.6 kB / 0.5615 GB, free: 83.41 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.251e-05/0.3023, allocations: 60.8 kB / 0.5615 GB, free: 83.41 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.3e-05/0.3023, allocations: 57.53 kB / 0.5616 GB, free: 83.41 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/0.3023, allocations: 6.656 kB / 0.5616 GB, free: 83.4 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.3023, allocations: 1.703 kB / 0.5616 GB, free: 83.4 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001494/0.3025, allocations: 54.28 kB / 0.5616 GB, free: 83.4 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.428e-05/0.3025, allocations: 17.77 kB / 0.5617 GB, free: 83.4 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.666e-05/0.3026, allocations: 27.34 kB / 0.5617 GB, free: 83.4 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001529/0.3027, allocations: 26.31 kB / 0.5617 GB, free: 83.4 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/0.3029, allocations: 48.5 kB / 0.5618 GB, free: 83.4 MB / 410.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006882/0.3036, allocations: 0.5706 MB / 0.5623 GB, free: 83.11 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006904/0.3042, allocations: 0.8516 MB / 0.5631 GB, free: 82.61 MB / 410.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001895/0.3044, allocations: 232.8 kB / 0.5634 GB, free: 82.5 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0001492/0.3046, allocations: 145.3 kB / 0.5635 GB, free: 82.49 MB / 410.8 MB Notification: Performance of Backend: time 7.11e-07/0.3046, allocations: 1.375 kB / 0.5635 GB, free: 82.49 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0006/0.3052, allocations: 0.7543 MB / 0.5642 GB, free: 81.96 MB / 410.8 MB Notification: Performance of SimCode: time 0.01236/0.3175, allocations: 1.837 MB / 0.566 GB, free: 80.78 MB / 410.8 MB Notification: Performance of Templates: time 0.01484/0.3324, allocations: 10.53 MB / 0.5763 GB, free: 77.12 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.Allopurinol.Allopurinol_oxypurinol.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.Allopurinol.Allopurinol_oxypurinol.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.Allopurinol.Allopurinol_oxypurinol.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.Allopurinol.Allopurinol_oxypurinol.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.Allopurinol.Allopurinol_oxypurinol.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.Allopurinol.Allopurinol_oxypurinol -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Examples.Allopurinol.Allopurinol_oxypurinol.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.726526749320328]