Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_3M_3C.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.0006788/0.0006788, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009149/0.001594, 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.0009243/0.0009243, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001221/0.002145, 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.982/0.982, allocations: 177.1 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09554/1.078, 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.8044/0.8044, allocations: 291.1 MB / 0.5226 GB, free: 52.79 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03229/0.8367, allocations: 21.04 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.Pharmacokinetic.Models.PK_3M_3C,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1440,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_3M_3C") translateModel(Pharmacolibrary.Pharmacokinetic.Models.PK_3M_3C,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1440,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_3M_3C") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.5444 GB, free: 30.48 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.871e-05/2.045e-05, allocations: 2.312 kB / 0.5444 GB, free: 30.47 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Pharmacokinetic.Models.PK_3M_3C): time 0.005306/0.005326, allocations: 5.632 MB / 0.5499 GB, free: 24.82 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001988/0.007314, allocations: 1.289 MB / 0.5512 GB, free: 23.52 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001836/0.007498, allocations: 8 kB / 0.5512 GB, free: 23.51 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00015/0.007648, allocations: 122.8 kB / 0.5513 GB, free: 23.39 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003884/0.008036, allocations: 388.7 kB / 0.5517 GB, free: 23.01 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002243/0.00826, allocations: 227.6 kB / 0.5519 GB, free: 22.79 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005394/0.0088, allocations: 1.275 MB / 0.5532 GB, free: 21.5 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000207/0.009007, allocations: 192.4 kB / 0.5533 GB, free: 21.3 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004288/0.009436, allocations: 0.7512 MB / 0.5541 GB, free: 20.55 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000253/0.009689, allocations: 382.8 kB / 0.5544 GB, free: 20.17 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.879e-05/0.009757, allocations: 84 kB / 0.5545 GB, free: 20.09 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.957e-05/0.009837, allocations: 92 kB / 0.5546 GB, free: 20 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.85e-05/0.009905, allocations: 135.5 kB / 0.5547 GB, free: 19.87 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001914/0.0101, allocations: 312.2 kB / 0.555 GB, free: 19.56 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003761/0.01047, allocations: 0.6578 MB / 0.5557 GB, free: 18.9 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.177e-06/0.01048, allocations: 0 / 0.5557 GB, free: 18.9 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.01048, allocations: 0 / 0.5557 GB, free: 18.9 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.262e-05/0.0105, allocations: 0 / 0.5557 GB, free: 18.9 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.00101/0.01151, allocations: 1.522 MB / 0.5572 GB, free: 17.29 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.01155, allocations: 11.89 kB / 0.5572 GB, free: 17.28 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001035/0.01165, allocations: 116.8 kB / 0.5573 GB, free: 17.17 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002932/0.01194, allocations: 344 kB / 0.5576 GB, free: 16.8 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.992e-05/0.01197, allocations: 57.67 kB / 0.5577 GB, free: 16.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.865e-05/0.01203, allocations: 84.27 kB / 0.5578 GB, free: 16.66 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004044/0.01243, allocations: 0.6449 MB / 0.5584 GB, free: 15.96 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.168e-05/0.01246, allocations: 12.12 kB / 0.5584 GB, free: 15.95 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.912e-05/0.01249, allocations: 24.38 kB / 0.5584 GB, free: 15.93 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.01249, allocations: 19.94 kB / 0.5584 GB, free: 15.91 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002959/0.01279, allocations: 0.5114 MB / 0.5589 GB, free: 15.34 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2527/0.2655, allocations: 0.9537 MB / 0.5599 GB, free: 84.75 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006142/0.2661, allocations: 0.556 MB / 0.5604 GB, free: 84.47 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002228/0.2663, allocations: 381 kB / 0.5608 GB, free: 84.21 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.742e-05/0.2664, allocations: 17.03 kB / 0.5608 GB, free: 84.21 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006629/0.267, allocations: 1.081 MB / 0.5618 GB, free: 83.41 MB / 410.8 MB Notification: Performance of pre-optimization done (n=116): time 3.276e-06/0.267, allocations: 1.219 kB / 0.5619 GB, free: 83.41 MB / 410.8 MB Notification: Performance of matching and sorting (n=124): time 0.002856/0.2699, allocations: 2.809 MB / 0.5646 GB, free: 81.95 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001715/0.2701, allocations: 0.9204 MB / 0.5655 GB, free: 80.89 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000341/0.2704, allocations: 415.8 kB / 0.5659 GB, free: 80.76 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 4.538e-05/0.2704, allocations: 63.25 kB / 0.5659 GB, free: 80.73 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/0.2706, allocations: 229.8 kB / 0.5662 GB, free: 80.59 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001934/0.2708, allocations: 423.9 kB / 0.5666 GB, free: 80.34 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001878/0.271, allocations: 209.6 kB / 0.5668 GB, free: 80.33 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 9.964e-05/0.2711, allocations: 407.9 kB / 0.5672 GB, free: 80.02 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002818/0.2713, allocations: 476.5 kB / 0.5676 GB, free: 79.69 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003654/0.2717, allocations: 0.7375 MB / 0.5683 GB, free: 79.02 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006333/0.2723, allocations: 1.11 MB / 0.5694 GB, free: 78.19 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/0.2723, allocations: 3.781 kB / 0.5694 GB, free: 78.19 MB / 410.8 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.0008384/0.2732, allocations: 1.182 MB / 0.5706 GB, free: 77.51 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.555e-05/0.2733, allocations: 286.4 kB / 0.5709 GB, free: 77.2 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.506e-05/0.2733, allocations: 9.266 kB / 0.5709 GB, free: 77.2 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.819e-05/0.2733, allocations: 13.56 kB / 0.5709 GB, free: 77.2 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007368/0.274, allocations: 372.6 kB / 0.5712 GB, free: 77.19 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.746e-05/0.2741, allocations: 16 kB / 0.5712 GB, free: 77.19 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000337/0.2744, allocations: 54.78 kB / 0.5713 GB, free: 77.19 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.146e-05/0.2744, allocations: 43.97 kB / 0.5713 GB, free: 77.19 MB / 410.8 MB Warning: Assuming fixed start value for the following 3 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 infusionDose.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: 32 * Number of states: 0 () * Number of discrete variables: 74 (hepatic.Cmin,$PRE.hepatic.Cmin,hepatic.Cmax,$PRE.hepatic.Cmax,central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,peripheral.Cmin,$PRE.peripheral.Cmin,peripheral.Cmax,$PRE.peripheral.Cmax,central_M1.Cmin,$PRE.central_M1.Cmin,central_M1.Cmax,$PRE.central_M1.Cmax,peripheral_M1.Cmin,$PRE.peripheral_M1.Cmin,peripheral_M1.Cmax,$PRE.peripheral_M1.Cmax,central_M2.Cmin,$PRE.central_M2.Cmin,central_M2.Cmax,$PRE.central_M2.Cmax,peripheral_M2.Cmin,$PRE.peripheral_M2.Cmin,peripheral_M2.Cmax,$PRE.peripheral_M2.Cmax,periodicDose.route.absorptionLumen.Cmin,$PRE.periodicDose.route.absorptionLumen.Cmin,periodicDose.route.absorptionLumen.Cmax,$PRE.periodicDose.route.absorptionLumen.Cmax,infusionDose.pulse.count,$PRE.infusionDose.pulse.count,infusionDose.pulse.T_start,$PRE.infusionDose.pulse.T_start,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,peripheral_M2.rising,$PRE.peripheral_M2.rising,central_M2.rising,$PRE.central_M2.rising,peripheral_M1.rising,$PRE.peripheral_M1.rising,central_M1.rising,$PRE.central_M1.rising,peripheral.rising,$PRE.peripheral.rising,central.rising,$PRE.central.rising,hepatic.rising,$PRE.hepatic.rising,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$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 (167): * Single equations (assignments): 157 * Array equations: 0 * Algorithm blocks: 10 * 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.0003101/0.2748, allocations: 490.1 kB / 0.5718 GB, free: 76.79 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001228/0.2749, allocations: 116.5 kB / 0.5719 GB, free: 76.79 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006809/0.2756, allocations: 1.042 MB / 0.5729 GB, free: 76.22 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.716e-06/0.2756, allocations: 4.078 kB / 0.5729 GB, free: 76.22 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.2756, allocations: 1.5 kB / 0.5729 GB, free: 76.22 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001894/0.2758, allocations: 86.95 kB / 0.573 GB, free: 76.18 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.231e-05/0.2758, allocations: 40.17 kB / 0.5731 GB, free: 76.18 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.05e-05/0.2759, allocations: 46.94 kB / 0.5731 GB, free: 76.18 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001922/0.2761, allocations: 40.86 kB / 0.5731 GB, free: 76.18 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001169/0.2762, allocations: 96.86 kB / 0.5732 GB, free: 76.13 MB / 410.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009031/0.2771, allocations: 1.164 MB / 0.5744 GB, free: 75.37 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001037/0.2781, allocations: 1.699 MB / 0.576 GB, free: 74.18 MB / 410.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002934/0.2784, allocations: 0.5127 MB / 0.5765 GB, free: 73.86 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0001389/0.2786, allocations: 190 kB / 0.5767 GB, free: 73.8 MB / 410.8 MB Notification: Performance of Backend: time 5.21e-07/0.2786, allocations: 0.9688 kB / 0.5767 GB, free: 73.8 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.001005/0.2796, allocations: 1.418 MB / 0.5781 GB, free: 72.68 MB / 410.8 MB Notification: Performance of SimCode: time 0.01999/0.2996, allocations: 2.693 MB / 0.5807 GB, free: 70.75 MB / 410.8 MB Notification: Performance of Templates: time 0.02054/0.3201, allocations: 15.33 MB / 0.5957 GB, free: 61.47 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_3M_3C.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_3M_3C.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_3M_3C.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_3M_3C.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_3M_3C.sim & ./Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_3M_3C -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_3M_3C.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.892231984063983]