Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_Parent_Metabolite.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.000991/0.000991, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001245/0.002236, 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.001082/0.001082, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000921/0.002003, 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.9746/0.9746, allocations: 177.1 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09295/1.068, allocations: 53.67 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 0.7235/0.7235, allocations: 291.2 MB / 0.5226 GB, free: 52.92 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0277/0.7512, allocations: 21.04 MB / 0.5432 GB, free: 31.94 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.Pharmacokinetic.Models.PK_Parent_Metabolite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_Parent_Metabolite") translateModel(Pharmacolibrary.Pharmacokinetic.Models.PK_Parent_Metabolite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_Parent_Metabolite") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.5444 GB, free: 30.68 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.125e-05/1.276e-05, allocations: 2.312 kB / 0.5444 GB, free: 30.68 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Pharmacokinetic.Models.PK_Parent_Metabolite): time 0.002909/0.002922, allocations: 4.211 MB / 0.5485 GB, free: 26.45 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001143/0.004065, allocations: 1.001 MB / 0.5495 GB, free: 25.44 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001386/0.004204, allocations: 4 kB / 0.5495 GB, free: 25.44 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 9.151e-05/0.004295, allocations: 75.2 kB / 0.5496 GB, free: 25.36 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002521/0.004548, allocations: 242.1 kB / 0.5498 GB, free: 25.12 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001945/0.004742, allocations: 163.8 kB / 0.55 GB, free: 24.96 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003999/0.005142, allocations: 0.8165 MB / 0.5508 GB, free: 24.14 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000148/0.00529, allocations: 119.3 kB / 0.5509 GB, free: 24.02 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003281/0.005618, allocations: 0.5019 MB / 0.5514 GB, free: 23.52 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002122/0.00583, allocations: 239.3 kB / 0.5516 GB, free: 23.29 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.9e-05/0.005879, allocations: 76 kB / 0.5517 GB, free: 23.21 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.022e-05/0.005929, allocations: 68 kB / 0.5517 GB, free: 23.14 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.367e-05/0.005973, allocations: 95.69 kB / 0.5518 GB, free: 23.05 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001184/0.006092, allocations: 195.7 kB / 0.552 GB, free: 22.86 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002877/0.006379, allocations: 438.5 kB / 0.5524 GB, free: 22.43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.408e-05/0.006393, allocations: 0 / 0.5524 GB, free: 22.43 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.006395, allocations: 4 kB / 0.5524 GB, free: 22.43 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.482e-05/0.006409, allocations: 0 / 0.5524 GB, free: 22.43 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.0008412/0.007251, allocations: 0.9951 MB / 0.5534 GB, free: 21.38 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.007283, allocations: 11.89 kB / 0.5534 GB, free: 21.37 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.146e-05/0.007354, allocations: 64.88 kB / 0.5535 GB, free: 21.3 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002406/0.007595, allocations: 272.5 kB / 0.5538 GB, free: 21.01 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.505e-05/0.00763, allocations: 33.36 kB / 0.5538 GB, free: 20.98 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.306e-05/0.007673, allocations: 40.38 kB / 0.5538 GB, free: 20.94 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002934/0.007966, allocations: 395.2 kB / 0.5542 GB, free: 20.52 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.007983, allocations: 7.891 kB / 0.5542 GB, free: 20.51 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.048e-05/0.008003, allocations: 12 kB / 0.5542 GB, free: 20.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.008012, allocations: 8 kB / 0.5542 GB, free: 20.49 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001716/0.008183, allocations: 225.9 kB / 0.5544 GB, free: 20.25 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007748/0.008958, allocations: 0.8087 MB / 0.5552 GB, free: 19.41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000273/0.009231, allocations: 266.6 kB / 0.5555 GB, free: 19.12 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.778e-05/0.009319, allocations: 167.3 kB / 0.5556 GB, free: 18.94 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/0.009333, allocations: 8.375 kB / 0.5557 GB, free: 18.93 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002366/0.00957, allocations: 0.4965 MB / 0.5561 GB, free: 18.37 MB / 410.7 MB Notification: Performance of pre-optimization done (n=57): time 1.804e-06/0.009571, allocations: 0 / 0.5561 GB, free: 18.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=60): time 0.000991/0.01056, allocations: 1.263 MB / 0.5574 GB, free: 16.98 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.166e-05/0.01063, allocations: 396.3 kB / 0.5578 GB, free: 16.51 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001609/0.01079, allocations: 331.4 kB / 0.5581 GB, free: 16.17 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.633e-05/0.01082, allocations: 45.7 kB / 0.5581 GB, free: 16.12 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.544e-05/0.01088, allocations: 177.9 kB / 0.5583 GB, free: 15.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.002e-05/0.01096, allocations: 214.3 kB / 0.5585 GB, free: 15.73 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.033e-05/0.01105, allocations: 118.3 kB / 0.5586 GB, free: 15.61 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.837e-05/0.0111, allocations: 366.7 kB / 0.5589 GB, free: 15.25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001126/0.01121, allocations: 240.2 kB / 0.5592 GB, free: 14.98 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2399/0.2511, allocations: 423.3 kB / 0.5596 GB, free: 84.71 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004374/0.2515, allocations: 0.5473 MB / 0.5601 GB, free: 84.31 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.2515, allocations: 1.156 kB / 0.5601 GB, free: 84.31 MB / 410.8 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0005425/0.2521, allocations: 0.6337 MB / 0.5607 GB, free: 83.96 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.588e-05/0.2521, allocations: 149.1 kB / 0.5609 GB, free: 83.8 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.2521, allocations: 3.625 kB / 0.5609 GB, free: 83.8 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.2521, allocations: 9.062 kB / 0.5609 GB, free: 83.8 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004653/0.2526, allocations: 187.9 kB / 0.5611 GB, free: 83.8 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.829e-06/0.2526, allocations: 12.77 kB / 0.5611 GB, free: 83.8 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000211/0.2528, allocations: 32.55 kB / 0.5611 GB, free: 83.8 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.697e-05/0.2529, allocations: 25.41 kB / 0.5611 GB, free: 83.8 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.0002304/0.2531, allocations: 280.8 kB / 0.5614 GB, free: 83.59 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.379e-05/0.2532, allocations: 59.5 kB / 0.5615 GB, free: 83.59 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.444e-05/0.2532, allocations: 51.73 kB / 0.5615 GB, free: 83.58 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/0.2532, allocations: 6.469 kB / 0.5615 GB, free: 83.57 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.2532, allocations: 1.031 kB / 0.5615 GB, free: 83.57 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001189/0.2533, allocations: 60.31 kB / 0.5616 GB, free: 83.57 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.811e-05/0.2534, allocations: 17.11 kB / 0.5616 GB, free: 83.57 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.809e-05/0.2534, allocations: 27.27 kB / 0.5616 GB, free: 83.57 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001748/0.2536, allocations: 29 kB / 0.5616 GB, free: 83.57 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/0.2537, allocations: 49.8 kB / 0.5617 GB, free: 83.57 MB / 410.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005638/0.2543, allocations: 0.5732 MB / 0.5623 GB, free: 83.28 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005831/0.2549, allocations: 0.8486 MB / 0.5631 GB, free: 82.78 MB / 410.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001723/0.255, allocations: 232.2 kB / 0.5633 GB, free: 82.68 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0001329/0.2552, allocations: 139.9 kB / 0.5634 GB, free: 82.67 MB / 410.8 MB Notification: Performance of Backend: time 3.2e-07/0.2552, allocations: 0 / 0.5634 GB, free: 82.67 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.000647/0.2558, allocations: 0.7583 MB / 0.5642 GB, free: 82.14 MB / 410.8 MB Notification: Performance of SimCode: time 0.01254/0.2684, allocations: 1.836 MB / 0.566 GB, free: 80.96 MB / 410.8 MB Notification: Performance of Templates: time 0.01195/0.2803, allocations: 10.59 MB / 0.5763 GB, free: 77.3 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_Parent_Metabolite.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_Parent_Metabolite.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_Parent_Metabolite.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_Parent_Metabolite.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_Parent_Metabolite.sim & ./Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_Parent_Metabolite -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_Parent_Metabolite.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6025039618834853]