Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AG02_Carvedilol.Carvedilol_Nikolic2013_reference.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.000868/0.000868, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004752/0.00562, allocations: 440 kB / 10.41 MB, free: 284 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.0008969/0.0008969, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004844/0.005741, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.031/1.031, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1093/1.141, allocations: 53.68 MB / 243.4 MB, free: 15.49 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.7724/0.7724, allocations: 291.2 MB / 0.5228 GB, free: 52.67 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03254/0.8049, allocations: 21.04 MB / 0.5434 GB, free: 31.67 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.C07A_BetaBlockingAgents.C07AG02_Carvedilol.Carvedilol_Nikolic2013_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=1123200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AG02_Carvedilol.Carvedilol_Nikolic2013_reference") translateModel(Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AG02_Carvedilol.Carvedilol_Nikolic2013_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=1123200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AG02_Carvedilol.Carvedilol_Nikolic2013_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 0.5448 GB, free: 30.27 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.027e-06/1.026e-05, allocations: 2.312 kB / 0.5448 GB, free: 30.26 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AG02_Carvedilol.Carvedilol_Nikolic2013_reference): time 0.001953/0.001963, allocations: 2.491 MB / 0.5472 GB, free: 27.76 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003845/0.005808, allocations: 6.696 MB / 0.5537 GB, free: 21.05 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.85e-05/0.005906, allocations: 4 kB / 0.5537 GB, free: 21.05 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.881e-05/0.005965, allocations: 23.72 kB / 0.5538 GB, free: 21.03 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001287/0.006094, allocations: 91.25 kB / 0.5539 GB, free: 20.94 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001228/0.006216, allocations: 51.88 kB / 0.5539 GB, free: 20.89 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000172/0.006389, allocations: 266.6 kB / 0.5542 GB, free: 20.62 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.963e-05/0.006478, allocations: 38.48 kB / 0.5542 GB, free: 20.59 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000154/0.006632, allocations: 188.2 kB / 0.5544 GB, free: 20.41 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001448/0.006777, allocations: 87.77 kB / 0.5545 GB, free: 20.32 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.357e-05/0.0068, allocations: 16 kB / 0.5545 GB, free: 20.3 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.422e-05/0.006825, allocations: 16 kB / 0.5545 GB, free: 20.29 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.855e-05/0.006853, allocations: 27.88 kB / 0.5545 GB, free: 20.26 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.744e-05/0.006901, allocations: 59.88 kB / 0.5546 GB, free: 20.2 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001458/0.007046, allocations: 143.4 kB / 0.5547 GB, free: 20.06 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.456e-06/0.007055, allocations: 0 / 0.5547 GB, free: 20.06 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.007055, allocations: 0 / 0.5547 GB, free: 20.06 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.725e-06/0.007063, allocations: 4 kB / 0.5547 GB, free: 20.06 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0004593/0.007522, allocations: 0.4936 MB / 0.5552 GB, free: 19.53 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.686e-05/0.007549, allocations: 15.89 kB / 0.5552 GB, free: 19.51 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.775e-05/0.007587, allocations: 24.91 kB / 0.5552 GB, free: 19.49 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.007719, allocations: 175.1 kB / 0.5554 GB, free: 19.29 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.007735, allocations: 12.59 kB / 0.5554 GB, free: 19.27 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.285e-05/0.007758, allocations: 16.38 kB / 0.5554 GB, free: 19.26 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.007898, allocations: 159.5 kB / 0.5556 GB, free: 19.09 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.007907, allocations: 4 kB / 0.5556 GB, free: 19.08 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.007916, allocations: 3.984 kB / 0.5556 GB, free: 19.08 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.007921, allocations: 4 kB / 0.5556 GB, free: 19.07 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.092e-05/0.007992, allocations: 86.27 kB / 0.5557 GB, free: 18.99 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003261/0.008319, allocations: 361 kB / 0.556 GB, free: 18.62 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001419/0.00846, allocations: 115.4 kB / 0.5561 GB, free: 18.49 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.628e-05/0.008497, allocations: 62.55 kB / 0.5562 GB, free: 18.42 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.075e-06/0.008505, allocations: 4 kB / 0.5562 GB, free: 18.42 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001206/0.008625, allocations: 192.3 kB / 0.5564 GB, free: 18.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.322e-06/0.008627, allocations: 0 / 0.5564 GB, free: 18.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005318/0.009158, allocations: 0.5159 MB / 0.5569 GB, free: 17.62 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.976e-05/0.009198, allocations: 158.2 kB / 0.557 GB, free: 17.43 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.237e-05/0.009291, allocations: 206.1 kB / 0.5572 GB, free: 17.21 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.009304, allocations: 37.64 kB / 0.5573 GB, free: 17.17 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.772e-05/0.009342, allocations: 120.4 kB / 0.5574 GB, free: 17.05 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.191e-05/0.009374, allocations: 71.41 kB / 0.5574 GB, free: 16.98 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.102e-05/0.009425, allocations: 59.12 kB / 0.5575 GB, free: 16.92 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.403e-05/0.009469, allocations: 330.8 kB / 0.5578 GB, free: 16.59 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.175e-05/0.00952, allocations: 97 kB / 0.5579 GB, free: 16.47 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.669e-05/0.009587, allocations: 181.3 kB / 0.5581 GB, free: 16.25 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001095/0.009697, allocations: 208.6 kB / 0.5583 GB, free: 16 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.009698, allocations: 4 kB / 0.5583 GB, free: 16 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001557/0.009854, allocations: 259.5 kB / 0.5585 GB, free: 15.72 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.551e-05/0.00989, allocations: 70.52 kB / 0.5586 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.009895, allocations: 4.219 kB / 0.5586 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.009906, allocations: 4 kB / 0.5586 GB, free: 15.63 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001422/0.01005, allocations: 69.86 kB / 0.5587 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.918e-06/0.01005, allocations: 4 kB / 0.5587 GB, free: 15.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.479e-05/0.01013, allocations: 19.92 kB / 0.5587 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.01014, allocations: 8 kB / 0.5587 GB, free: 15.54 MB / 410.7 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 9.262e-05/0.01023, allocations: 171.6 kB / 0.5589 GB, free: 15.35 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.827e-05/0.01025, allocations: 23.98 kB / 0.5589 GB, free: 15.33 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.79e-05/0.01028, allocations: 25.95 kB / 0.5589 GB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.01028, allocations: 4 kB / 0.5589 GB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.01028, allocations: 0 / 0.5589 GB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.01028, allocations: 0 / 0.5589 GB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002207/0.0105, allocations: 376.5 kB / 0.5593 GB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.01051, allocations: 3.938 kB / 0.5593 GB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/0.01062, allocations: 43.91 kB / 0.5593 GB, free: 14.85 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.972e-05/0.01063, allocations: 23.84 kB / 0.5594 GB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.01064, allocations: 0 / 0.5594 GB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.968e-06/0.01065, allocations: 8 kB / 0.5594 GB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.01065, allocations: 0 / 0.5594 GB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.01065, allocations: 0 / 0.5594 GB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.289/0.2997, allocations: 339.9 kB / 0.5597 GB, free: 79.31 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.567e-05/0.2997, allocations: 10.66 kB / 0.5597 GB, free: 79.31 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001526/0.2999, allocations: 12.31 kB / 0.5597 GB, free: 79.31 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.74e-05/0.2999, allocations: 25.33 kB / 0.5597 GB, free: 79.31 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.318e-05/0.2999, allocations: 3.094 kB / 0.5597 GB, free: 79.31 MB / 410.8 MB Notification: Performance of sorting global known variables: time 7.397e-05/0.3, allocations: 65.27 kB / 0.5598 GB, free: 79.3 MB / 410.8 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3, allocations: 2.281 kB / 0.5598 GB, free: 79.3 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002814/0.3003, allocations: 57.11 kB / 0.5599 GB, free: 79.3 MB / 410.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.0001176/0.3004, allocations: 99.67 kB / 0.5599 GB, free: 79.24 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002485/0.3007, allocations: 303.3 kB / 0.5602 GB, free: 79.01 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 9.248e-06/0.3007, allocations: 8.531 kB / 0.5602 GB, free: 79.01 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001064/0.3008, allocations: 150.3 kB / 0.5604 GB, free: 78.91 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000408/0.3012, allocations: 0.5061 MB / 0.5609 GB, free: 78.41 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007355/0.3085, allocations: 0.5542 MB / 0.5614 GB, free: 78.14 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.179e-05/0.3086, allocations: 86.28 kB / 0.5615 GB, free: 78.07 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 9.596e-05/0.3087, allocations: 21.42 kB / 0.5615 GB, free: 78.07 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001753/0.3089, allocations: 117.3 kB / 0.5616 GB, free: 78.03 MB / 410.8 MB Notification: Performance of SimCode: time 4.51e-07/0.3089, allocations: 0 / 0.5616 GB, free: 78.03 MB / 410.8 MB Notification: Performance of Templates: time 0.006634/0.3155, allocations: 3.811 MB / 0.5654 GB, free: 77.81 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AG02_Carvedilol.Carvedilol_Nikolic2013_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AG02_Carvedilol.Carvedilol_Nikolic2013_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AG02_Carvedilol.Carvedilol_Nikolic2013_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AG02_Carvedilol.Carvedilol_Nikolic2013_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AG02_Carvedilol.Carvedilol_Nikolic2013_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AG02_Carvedilol.Carvedilol_Nikolic2013_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AG02_Carvedilol.Carvedilol_Nikolic2013_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.581538695842028]