Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BJ06_Semaglutide.Semaglutide.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.0009618/0.0009618, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001283/0.002245, 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.001078/0.001078, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001337/0.002415, 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.9686/0.9686, allocations: 177.1 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08225/1.051, allocations: 53.67 MB / 243.3 MB, free: 15.56 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.7221/0.7221, allocations: 291.1 MB / 0.5226 GB, free: 52.79 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03373/0.7558, allocations: 21.05 MB / 0.5431 GB, free: 31.8 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.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BJ06_Semaglutide.Semaglutide,tolerance=1e-09,outputFormat="empty",numberOfIntervals=3628800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BJ06_Semaglutide.Semaglutide") translateModel(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BJ06_Semaglutide.Semaglutide,tolerance=1e-09,outputFormat="empty",numberOfIntervals=3628800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BJ06_Semaglutide.Semaglutide") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.5445 GB, free: 30.39 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.431e-05/1.577e-05, allocations: 6.25 kB / 0.5445 GB, free: 30.38 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BJ06_Semaglutide.Semaglutide): time 0.003101/0.003117, allocations: 3.321 MB / 0.5478 GB, free: 27.05 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004794/0.00791, allocations: 6.805 MB / 0.5544 GB, free: 20.24 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001448/0.008055, allocations: 4 kB / 0.5544 GB, free: 20.23 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 9.202e-05/0.008147, allocations: 35.58 kB / 0.5545 GB, free: 20.2 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002117/0.008359, allocations: 127 kB / 0.5546 GB, free: 20.07 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001789/0.008538, allocations: 91.77 kB / 0.5547 GB, free: 19.98 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003/0.008838, allocations: 437.8 kB / 0.5551 GB, free: 19.55 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001438/0.008982, allocations: 73.33 kB / 0.5552 GB, free: 19.48 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002498/0.009231, allocations: 266.5 kB / 0.5554 GB, free: 19.22 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001973/0.009429, allocations: 131.6 kB / 0.5555 GB, free: 19.09 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.819e-05/0.009467, allocations: 32 kB / 0.5556 GB, free: 19.06 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.833e-05/0.009505, allocations: 32 kB / 0.5556 GB, free: 19.03 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.852e-05/0.009544, allocations: 43.81 kB / 0.5556 GB, free: 18.99 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.61e-05/0.00964, allocations: 103.8 kB / 0.5557 GB, free: 18.89 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002425/0.009882, allocations: 231.2 kB / 0.556 GB, free: 18.66 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.242e-05/0.009895, allocations: 0 / 0.556 GB, free: 18.66 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.009896, allocations: 4 kB / 0.556 GB, free: 18.66 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.476e-05/0.009911, allocations: 0 / 0.556 GB, free: 18.66 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.0007047/0.01062, allocations: 0.6434 MB / 0.5566 GB, free: 17.97 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.01065, allocations: 11.89 kB / 0.5566 GB, free: 17.96 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.247e-05/0.01071, allocations: 36.91 kB / 0.5566 GB, free: 17.93 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001955/0.01091, allocations: 193.5 kB / 0.5568 GB, free: 17.71 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.074e-05/0.01093, allocations: 16.88 kB / 0.5568 GB, free: 17.69 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.738e-05/0.01096, allocations: 36.31 kB / 0.5569 GB, free: 17.66 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002277/0.01119, allocations: 242.2 kB / 0.5571 GB, free: 17.39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.01121, allocations: 3.938 kB / 0.5571 GB, free: 17.39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/0.01122, allocations: 11.98 kB / 0.5571 GB, free: 17.38 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.01123, allocations: 4 kB / 0.5571 GB, free: 17.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001307/0.01136, allocations: 134.6 kB / 0.5572 GB, free: 17.23 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005545/0.01191, allocations: 473.9 kB / 0.5577 GB, free: 16.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002218/0.01213, allocations: 178.1 kB / 0.5579 GB, free: 16.55 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.567e-05/0.0122, allocations: 103.2 kB / 0.558 GB, free: 16.44 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.326e-05/0.01221, allocations: 7.938 kB / 0.558 GB, free: 16.43 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002/0.01241, allocations: 327.3 kB / 0.5583 GB, free: 16.06 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 1.824e-06/0.01242, allocations: 0 / 0.5583 GB, free: 16.06 MB / 410.7 MB Notification: Performance of matching and sorting (n=35): time 0.0008348/0.01325, allocations: 0.8385 MB / 0.5591 GB, free: 15.13 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2449/0.2582, allocations: 274.5 kB / 0.5594 GB, free: 79.5 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002525/0.2584, allocations: 234.6 kB / 0.5596 GB, free: 79.39 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 6.82e-05/0.2585, allocations: 34.45 kB / 0.5596 GB, free: 79.36 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.607e-05/0.2585, allocations: 140.1 kB / 0.5598 GB, free: 79.27 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.442e-05/0.2586, allocations: 116.5 kB / 0.5599 GB, free: 79.23 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.295e-05/0.2587, allocations: 75.36 kB / 0.5599 GB, free: 79.22 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.735e-05/0.2588, allocations: 347.9 kB / 0.5603 GB, free: 78.91 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.2589, allocations: 148.9 kB / 0.5604 GB, free: 78.8 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/0.259, allocations: 255.4 kB / 0.5607 GB, free: 78.58 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001973/0.2592, allocations: 336.5 kB / 0.561 GB, free: 78.32 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.2592, allocations: 1.625 kB / 0.561 GB, free: 78.32 MB / 410.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0002959/0.2595, allocations: 392.9 kB / 0.5614 GB, free: 78.1 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.149e-05/0.2595, allocations: 91.62 kB / 0.5614 GB, free: 78.01 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.2595, allocations: 4.031 kB / 0.5614 GB, free: 78.01 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.2596, allocations: 4.969 kB / 0.5615 GB, free: 78.01 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003228/0.2599, allocations: 110.5 kB / 0.5616 GB, free: 78.01 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.2599, allocations: 9.125 kB / 0.5616 GB, free: 78.01 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001234/0.26, allocations: 23.38 kB / 0.5616 GB, free: 78.01 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.783e-05/0.26, allocations: 13.81 kB / 0.5616 GB, free: 78.01 MB / 410.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.0001547/0.2602, allocations: 210.8 kB / 0.5618 GB, free: 77.83 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.654e-05/0.2602, allocations: 38.89 kB / 0.5618 GB, free: 77.83 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.164e-05/0.2603, allocations: 35.94 kB / 0.5619 GB, free: 77.82 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.2603, allocations: 1.922 kB / 0.5619 GB, free: 77.82 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2603, allocations: 1.656 kB / 0.5619 GB, free: 77.82 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.239e-05/0.2603, allocations: 34.03 kB / 0.5619 GB, free: 77.81 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.2604, allocations: 9.969 kB / 0.5619 GB, free: 77.81 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.5e-05/0.2604, allocations: 15.75 kB / 0.5619 GB, free: 77.81 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.127e-05/0.2605, allocations: 17.19 kB / 0.562 GB, free: 77.81 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.439e-05/0.2605, allocations: 24.83 kB / 0.562 GB, free: 77.81 MB / 410.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003731/0.2609, allocations: 398.4 kB / 0.5624 GB, free: 77.57 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003854/0.2613, allocations: 0.6043 MB / 0.5629 GB, free: 77.18 MB / 410.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001114/0.2614, allocations: 149.2 kB / 0.5631 GB, free: 77.1 MB / 410.8 MB Notification: Performance of sorting global known variables: time 7.551e-05/0.2615, allocations: 82.77 kB / 0.5632 GB, free: 77.09 MB / 410.8 MB Notification: Performance of Backend: time 5.21e-07/0.2615, allocations: 0.7812 kB / 0.5632 GB, free: 77.09 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0004201/0.2619, allocations: 484 kB / 0.5636 GB, free: 76.75 MB / 410.8 MB Notification: Performance of SimCode: time 0.007792/0.2697, allocations: 1.361 MB / 0.565 GB, free: 75.8 MB / 410.8 MB Notification: Performance of Templates: time 0.007757/0.2775, allocations: 5.569 MB / 0.5704 GB, free: 74.61 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BJ06_Semaglutide.Semaglutide.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BJ06_Semaglutide.Semaglutide.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BJ06_Semaglutide.Semaglutide.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BJ06_Semaglutide.Semaglutide.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BJ06_Semaglutide.Semaglutide.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BJ06_Semaglutide.Semaglutide -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BJ06_Semaglutide.Semaglutide.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 4.9637876665219665]