Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02A_AntiadrenergicAgentsCentrallyActing.C02AC05_Moxonidine.Moxonidine.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.002326/0.002326, allocations: 105.5 kB / 18.95 MB, free: 1.176 MB / 13.93 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.002849/0.002849, allocations: 214.4 kB / 22.25 MB, free: 3.574 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 1.777/1.777, allocations: 230.6 MB / 256 MB, free: 9.582 MB / 202.7 MB " [Timeout remaining time 178] 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.458/1.458, allocations: 316.7 MB / 0.6144 GB, free: 92.93 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.Drugs.C_CardiovascularSystem.C02A_AntiadrenergicAgentsCentrallyActing.C02AC05_Moxonidine.Moxonidine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02A_AntiadrenergicAgentsCentrallyActing.C02AC05_Moxonidine.Moxonidine") translateModel(Pharmacolibrary.Drugs.C_CardiovascularSystem.C02A_AntiadrenergicAgentsCentrallyActing.C02AC05_Moxonidine.Moxonidine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02A_AntiadrenergicAgentsCentrallyActing.C02AC05_Moxonidine.Moxonidine") [Timeout 660] "Notification: Pharmacolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003995/0.003995, allocations: 69.89 kB / 0.775 GB, free: 14.83 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.174/0.178, allocations: 73.99 MB / 0.8473 GB, free: 4.973 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.C_CardiovascularSystem.C02A_AntiadrenergicAgentsCentrallyActing.C02AC05_Moxonidine.Moxonidine): time 0.005527/0.1835, allocations: 2.307 MB / 0.8495 GB, free: 2.668 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3157/0.4992, allocations: 6.522 MB / 0.8559 GB, free: 21.97 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002133/0.4994, allocations: 3.406 kB / 0.8559 GB, free: 21.97 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001498/0.4995, allocations: 31.09 kB / 0.8559 GB, free: 21.97 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000236/0.4998, allocations: 78.8 kB / 0.856 GB, free: 21.97 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002259/0.5, allocations: 59.17 kB / 0.856 GB, free: 21.97 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002701/0.5003, allocations: 252.1 kB / 0.8563 GB, free: 21.93 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001389/0.5004, allocations: 34.3 kB / 0.8563 GB, free: 21.93 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001283/0.5005, allocations: 100.5 kB / 0.8564 GB, free: 21.92 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002077/0.5007, allocations: 97.88 kB / 0.8565 GB, free: 21.89 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.559e-05/0.5008, allocations: 19.47 kB / 0.8565 GB, free: 21.89 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.063e-05/0.5008, allocations: 16.62 kB / 0.8565 GB, free: 21.89 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.569e-05/0.5009, allocations: 38.73 kB / 0.8566 GB, free: 21.89 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 9.666e-05/0.501, allocations: 94.59 kB / 0.8567 GB, free: 21.86 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002179/0.5012, allocations: 195.6 kB / 0.8568 GB, free: 21.83 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.5012, allocations: 0 / 0.8568 GB, free: 21.83 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.393e-06/0.5012, allocations: 1.375 kB / 0.8568 GB, free: 21.83 MB / 490.8 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.5012, allocations: 3.469 kB / 0.8569 GB, free: 21.83 MB / 490.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.000797/0.502, allocations: 495.3 kB / 0.8573 GB, free: 21.43 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.502, allocations: 16.81 kB / 0.8573 GB, free: 21.43 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.846e-05/0.5021, allocations: 22.86 kB / 0.8574 GB, free: 21.42 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002277/0.5023, allocations: 185.5 kB / 0.8575 GB, free: 21.26 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.5023, allocations: 7.328 kB / 0.8575 GB, free: 21.26 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.24e-05/0.5024, allocations: 25.42 kB / 0.8576 GB, free: 21.25 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003547/0.5027, allocations: 189.4 kB / 0.8578 GB, free: 21.18 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/0.5027, allocations: 4 kB / 0.8578 GB, free: 21.18 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.82e-05/0.5028, allocations: 2.812 kB / 0.8578 GB, free: 21.18 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.5028, allocations: 3.125 kB / 0.8578 GB, free: 21.18 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000341/0.5031, allocations: 146.1 kB / 0.8579 GB, free: 21.14 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007066/0.5038, allocations: 485.5 kB / 0.8584 GB, free: 20.84 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004631/0.5043, allocations: 171.1 kB / 0.8585 GB, free: 20.79 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001581/0.5044, allocations: 93.27 kB / 0.8586 GB, free: 20.75 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.335e-05/0.5045, allocations: 6.656 kB / 0.8586 GB, free: 20.75 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000322/0.5048, allocations: 235.5 kB / 0.8588 GB, free: 20.6 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.483e-06/0.5048, allocations: 0 / 0.8588 GB, free: 20.6 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001369/0.5062, allocations: 0.709 MB / 0.8595 GB, free: 20.24 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.541e-05/0.5062, allocations: 132.5 kB / 0.8597 GB, free: 20.08 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001942/0.5064, allocations: 215 kB / 0.8599 GB, free: 19.98 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.5064, allocations: 32.61 kB / 0.8599 GB, free: 19.95 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.969e-05/0.5065, allocations: 136.2 kB / 0.86 GB, free: 19.85 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.431e-05/0.5065, allocations: 73.3 kB / 0.8601 GB, free: 19.81 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.758e-05/0.5066, allocations: 54.08 kB / 0.8602 GB, free: 19.79 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 7.613e-05/0.5067, allocations: 334.5 kB / 0.8605 GB, free: 19.48 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002168/0.5069, allocations: 145.3 kB / 0.8606 GB, free: 19.4 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002154/0.5071, allocations: 221.2 kB / 0.8608 GB, free: 19.23 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003563/0.5075, allocations: 287.4 kB / 0.8611 GB, free: 19.07 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.5075, allocations: 1.375 kB / 0.8611 GB, free: 19.07 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005214/0.508, allocations: 384 kB / 0.8615 GB, free: 18.89 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.602e-05/0.508, allocations: 61.41 kB / 0.8615 GB, free: 18.83 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.508, allocations: 7.062 kB / 0.8615 GB, free: 18.82 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.5081, allocations: 4.781 kB / 0.8615 GB, free: 18.82 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001964/0.5083, allocations: 52.16 kB / 0.8616 GB, free: 18.82 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.5083, allocations: 7.766 kB / 0.8616 GB, free: 18.82 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001715/0.5084, allocations: 18.02 kB / 0.8616 GB, free: 18.82 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.048e-05/0.5085, allocations: 13.28 kB / 0.8616 GB, free: 18.82 MB / 490.8 MB Warning: Assuming fixed start value for the following 1 variables: 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: 8 * Number of states: 0 () * Number of discrete variables: 13 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 2 * 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.0001573/0.5086, allocations: 172.7 kB / 0.8618 GB, free: 18.67 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.208e-05/0.5086, allocations: 24.08 kB / 0.8618 GB, free: 18.66 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.291e-05/0.5087, allocations: 34.12 kB / 0.8618 GB, free: 18.64 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.5087, allocations: 7.875 kB / 0.8618 GB, free: 18.63 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.5087, allocations: 1.25 kB / 0.8618 GB, free: 18.63 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.5087, allocations: 1.062 kB / 0.8618 GB, free: 18.63 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006516/0.5094, allocations: 0.5389 MB / 0.8624 GB, free: 18.33 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.5094, allocations: 1 kB / 0.8624 GB, free: 18.33 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001903/0.5095, allocations: 41.78 kB / 0.8624 GB, free: 18.33 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.5096, allocations: 2.031 kB / 0.8624 GB, free: 18.33 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.909e-05/0.5096, allocations: 5.297 kB / 0.8624 GB, free: 18.33 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.5096, allocations: 4.922 kB / 0.8624 GB, free: 18.32 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.5096, allocations: 0 / 0.8624 GB, free: 18.32 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006588/0.5102, allocations: 499.8 kB / 0.8629 GB, free: 18.08 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.576e-05/0.5103, allocations: 24.61 kB / 0.8629 GB, free: 18.07 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.417e-05/0.5103, allocations: 7.406 kB / 0.8629 GB, free: 18.07 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001777/0.5105, allocations: 13.8 kB / 0.8629 GB, free: 18.07 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.809e-05/0.5106, allocations: 24.94 kB / 0.863 GB, free: 18.07 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.694e-05/0.5106, allocations: 5.375 kB / 0.863 GB, free: 18.07 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001215/0.5107, allocations: 165.6 kB / 0.8631 GB, free: 17.99 MB / 490.8 MB Notification: Performance of sort global known variables: time 9e-08/0.5107, allocations: 0 / 0.8631 GB, free: 17.99 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003066/0.511, allocations: 52.38 kB / 0.8632 GB, free: 17.99 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass) * Number of discrete variables: 8 ($whenCondition1,$whenCondition2,$whenCondition3,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 6 (periodicDose.pulse.count,central.Cmin,$whenCondition3,central.Cmax,$whenCondition2,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001269/0.5112, allocations: 112.4 kB / 0.8633 GB, free: 17.9 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005672/0.5117, allocations: 379.7 kB / 0.8637 GB, free: 17.67 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.5117, allocations: 1.25 kB / 0.8637 GB, free: 17.67 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002339/0.512, allocations: 175.8 kB / 0.8638 GB, free: 17.57 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000474/0.5124, allocations: 79.7 kB / 0.8639 GB, free: 17.56 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001236/0.5137, allocations: 0.6793 MB / 0.8646 GB, free: 17.24 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001176/0.5138, allocations: 128.3 kB / 0.8647 GB, free: 17.16 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001077/0.5139, allocations: 26.31 kB / 0.8647 GB, free: 17.16 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.499e-05/0.5139, allocations: 20.67 kB / 0.8647 GB, free: 17.15 MB / 490.8 MB Notification: Performance of SimCode: time 5.61e-07/0.5139, allocations: 0 / 0.8647 GB, free: 17.15 MB / 490.8 MB Notification: Performance of Templates: time 0.008485/0.5224, allocations: 3.639 MB / 0.8683 GB, free: 16.83 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02A_AntiadrenergicAgentsCentrallyActing.C02AC05_Moxonidine.Moxonidine.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02A_AntiadrenergicAgentsCentrallyActing.C02AC05_Moxonidine.Moxonidine.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02A_AntiadrenergicAgentsCentrallyActing.C02AC05_Moxonidine.Moxonidine.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02A_AntiadrenergicAgentsCentrallyActing.C02AC05_Moxonidine.Moxonidine.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02A_AntiadrenergicAgentsCentrallyActing.C02AC05_Moxonidine.Moxonidine.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02A_AntiadrenergicAgentsCentrallyActing.C02AC05_Moxonidine.Moxonidine -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02A_AntiadrenergicAgentsCentrallyActing.C02AC05_Moxonidine.Moxonidine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.7507835330907255]