Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02A_AntiadrenergicAgentsCentrallyActing.C02AC02_Guanfacine.Guanfacine.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.001039/0.001039, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001587/0.002626, 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.00111/0.00111, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001485/0.002596, 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.9785/0.9785, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09321/1.072, allocations: 53.65 MB / 243.3 MB, free: 15.58 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.7607/0.7607, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02876/0.7895, allocations: 21.05 MB / 0.5432 GB, free: 31.95 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.C_CardiovascularSystem.C02A_AntiadrenergicAgentsCentrallyActing.C02AC02_Guanfacine.Guanfacine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=345600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02A_AntiadrenergicAgentsCentrallyActing.C02AC02_Guanfacine.Guanfacine") translateModel(Pharmacolibrary.Drugs.C_CardiovascularSystem.C02A_AntiadrenergicAgentsCentrallyActing.C02AC02_Guanfacine.Guanfacine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=345600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02A_AntiadrenergicAgentsCentrallyActing.C02AC02_Guanfacine.Guanfacine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.193e-06/1.193e-06, allocations: 0 / 0.5446 GB, free: 30.55 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.89e-05/2.009e-05, allocations: 6.25 kB / 0.5446 GB, free: 30.54 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.C_CardiovascularSystem.C02A_AntiadrenergicAgentsCentrallyActing.C02AC02_Guanfacine.Guanfacine): time 0.002547/0.002567, allocations: 3.322 MB / 0.5478 GB, free: 27.21 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004377/0.006944, allocations: 6.805 MB / 0.5545 GB, free: 20.39 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002191/0.007164, allocations: 0 / 0.5545 GB, free: 20.39 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001032/0.007267, allocations: 43.56 kB / 0.5545 GB, free: 20.35 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002051/0.007472, allocations: 127 kB / 0.5546 GB, free: 20.23 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001706/0.007642, allocations: 87.83 kB / 0.5547 GB, free: 20.14 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002607/0.007903, allocations: 437.8 kB / 0.5551 GB, free: 19.71 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001479/0.008051, allocations: 71.3 kB / 0.5552 GB, free: 19.64 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002401/0.008291, allocations: 262.6 kB / 0.5555 GB, free: 19.38 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001817/0.008473, allocations: 131.6 kB / 0.5556 GB, free: 19.25 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.371e-05/0.008506, allocations: 32 kB / 0.5556 GB, free: 19.22 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.12e-05/0.008538, allocations: 36 kB / 0.5556 GB, free: 19.19 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.504e-05/0.008573, allocations: 47.81 kB / 0.5557 GB, free: 19.14 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.005e-05/0.008653, allocations: 103.8 kB / 0.5558 GB, free: 19.04 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002191/0.008872, allocations: 227.2 kB / 0.556 GB, free: 18.82 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.393e-05/0.008886, allocations: 0 / 0.556 GB, free: 18.82 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.008887, allocations: 0 / 0.556 GB, free: 18.82 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.4e-05/0.008901, allocations: 0 / 0.556 GB, free: 18.82 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.0006311/0.009532, allocations: 0.6434 MB / 0.5566 GB, free: 18.13 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.009564, allocations: 15.84 kB / 0.5567 GB, free: 18.12 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.601e-05/0.00962, allocations: 40.89 kB / 0.5567 GB, free: 18.08 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001733/0.009793, allocations: 205.5 kB / 0.5569 GB, free: 17.85 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.009813, allocations: 12.88 kB / 0.5569 GB, free: 17.84 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.551e-05/0.009848, allocations: 28.33 kB / 0.5569 GB, free: 17.81 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000204/0.01005, allocations: 242.2 kB / 0.5572 GB, free: 17.55 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.01007, allocations: 4 kB / 0.5572 GB, free: 17.54 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.301e-05/0.01008, allocations: 4 kB / 0.5572 GB, free: 17.54 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.01009, allocations: 8 kB / 0.5572 GB, free: 17.53 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001116/0.0102, allocations: 146.5 kB / 0.5573 GB, free: 17.38 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000517/0.01071, allocations: 473.9 kB / 0.5578 GB, free: 16.89 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002272/0.01094, allocations: 172.1 kB / 0.5579 GB, free: 16.71 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.406e-05/0.011, allocations: 104.4 kB / 0.558 GB, free: 16.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.235e-05/0.01101, allocations: 7.938 kB / 0.558 GB, free: 16.58 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001904/0.0112, allocations: 327.4 kB / 0.5583 GB, free: 16.21 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 1.863e-06/0.0112, allocations: 0 / 0.5583 GB, free: 16.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=35): time 0.000739/0.01194, allocations: 0.8345 MB / 0.5592 GB, free: 15.29 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/0.01199, allocations: 281 kB / 0.5594 GB, free: 14.95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2512/0.2632, allocations: 221.6 kB / 0.5596 GB, free: 79.95 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 6.187e-05/0.2632, allocations: 38.89 kB / 0.5597 GB, free: 79.92 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.637e-05/0.2633, allocations: 137.7 kB / 0.5598 GB, free: 79.84 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.732e-05/0.2633, allocations: 124.7 kB / 0.5599 GB, free: 79.79 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.923e-05/0.2634, allocations: 75.2 kB / 0.56 GB, free: 79.77 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.302e-05/0.2635, allocations: 344.7 kB / 0.5603 GB, free: 79.46 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.496e-05/0.2636, allocations: 150 kB / 0.5605 GB, free: 79.36 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001003/0.2637, allocations: 251.8 kB / 0.5607 GB, free: 79.13 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002052/0.2639, allocations: 335 kB / 0.561 GB, free: 78.88 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.2639, allocations: 0 / 0.561 GB, free: 78.88 MB / 410.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0002797/0.2641, allocations: 392.3 kB / 0.5614 GB, free: 78.66 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.349e-05/0.2642, allocations: 92.47 kB / 0.5615 GB, free: 78.56 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.2642, allocations: 3.969 kB / 0.5615 GB, free: 78.56 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.2642, allocations: 4.906 kB / 0.5615 GB, free: 78.56 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003017/0.2645, allocations: 115.2 kB / 0.5616 GB, free: 78.56 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.2645, allocations: 6.016 kB / 0.5616 GB, free: 78.56 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001193/0.2646, allocations: 22.89 kB / 0.5616 GB, free: 78.56 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.769e-05/0.2647, allocations: 13.55 kB / 0.5617 GB, free: 78.56 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.0001533/0.2648, allocations: 217.3 kB / 0.5619 GB, free: 78.39 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.294e-05/0.2649, allocations: 37.27 kB / 0.5619 GB, free: 78.38 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.282e-05/0.2649, allocations: 35.42 kB / 0.5619 GB, free: 78.38 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.2649, allocations: 3.5 kB / 0.5619 GB, free: 78.38 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.2649, allocations: 0 / 0.5619 GB, free: 78.38 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.52e-05/0.265, allocations: 34.12 kB / 0.562 GB, free: 78.36 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.72e-05/0.265, allocations: 11.64 kB / 0.562 GB, free: 78.36 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.631e-05/0.265, allocations: 15.22 kB / 0.562 GB, free: 78.36 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.559e-05/0.2651, allocations: 15.09 kB / 0.562 GB, free: 78.36 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.429e-05/0.2652, allocations: 26.09 kB / 0.562 GB, free: 78.36 MB / 410.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003454/0.2655, allocations: 407.2 kB / 0.5624 GB, free: 78.12 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003762/0.2659, allocations: 0.5947 MB / 0.563 GB, free: 77.73 MB / 410.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000115/0.266, allocations: 150.6 kB / 0.5631 GB, free: 77.66 MB / 410.8 MB Notification: Performance of sorting global known variables: time 7.915e-05/0.2661, allocations: 82.52 kB / 0.5632 GB, free: 77.64 MB / 410.8 MB Notification: Performance of Backend: time 5.01e-07/0.2661, allocations: 0 / 0.5632 GB, free: 77.64 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0004003/0.2665, allocations: 486.8 kB / 0.5637 GB, free: 77.3 MB / 410.8 MB Notification: Performance of SimCode: time 0.008186/0.2747, allocations: 1.366 MB / 0.565 GB, free: 76.35 MB / 410.8 MB Notification: Performance of Templates: time 0.008024/0.2827, allocations: 5.558 MB / 0.5704 GB, free: 75.17 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02A_AntiadrenergicAgentsCentrallyActing.C02AC02_Guanfacine.Guanfacine.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02A_AntiadrenergicAgentsCentrallyActing.C02AC02_Guanfacine.Guanfacine.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02A_AntiadrenergicAgentsCentrallyActing.C02AC02_Guanfacine.Guanfacine.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02A_AntiadrenergicAgentsCentrallyActing.C02AC02_Guanfacine.Guanfacine.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02A_AntiadrenergicAgentsCentrallyActing.C02AC02_Guanfacine.Guanfacine.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02A_AntiadrenergicAgentsCentrallyActing.C02AC02_Guanfacine.Guanfacine -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02A_AntiadrenergicAgentsCentrallyActing.C02AC02_Guanfacine.Guanfacine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9423292176797986]