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.002/0.002, allocations: 109.5 kB / 18.95 MB, free: 1.172 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.002077/0.002077, allocations: 215.6 kB / 22.25 MB, free: 3.566 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.763/1.763, allocations: 230.6 MB / 256 MB, free: 9.613 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.454/1.454, allocations: 316.7 MB / 0.6144 GB, free: 92.87 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.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: 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.004322/0.004322, allocations: 74.08 kB / 0.775 GB, free: 14.82 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1815/0.1858, allocations: 74 MB / 0.8472 GB, free: 4.961 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AG02_Carvedilol.Carvedilol_Nikolic2013_reference): time 0.004473/0.1903, allocations: 2.297 MB / 0.8495 GB, free: 2.664 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3666/0.5568, allocations: 6.524 MB / 0.8559 GB, free: 21.94 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002286/0.5571, allocations: 5.484 kB / 0.8559 GB, free: 21.94 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001644/0.5572, allocations: 24.94 kB / 0.8559 GB, free: 21.94 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002493/0.5575, allocations: 81.64 kB / 0.856 GB, free: 21.94 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002399/0.5577, allocations: 57.48 kB / 0.856 GB, free: 21.94 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002873/0.558, allocations: 257.3 kB / 0.8563 GB, free: 21.92 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001494/0.5581, allocations: 36.98 kB / 0.8563 GB, free: 21.91 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001342/0.5583, allocations: 97.17 kB / 0.8564 GB, free: 21.9 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002233/0.5585, allocations: 100.6 kB / 0.8565 GB, free: 21.88 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.447e-05/0.5585, allocations: 20.09 kB / 0.8565 GB, free: 21.88 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.925e-05/0.5586, allocations: 15.56 kB / 0.8565 GB, free: 21.88 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 3.793e-05/0.5586, allocations: 33.45 kB / 0.8566 GB, free: 21.87 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 9.905e-05/0.5587, allocations: 99.22 kB / 0.8566 GB, free: 21.84 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002531/0.559, allocations: 191.7 kB / 0.8568 GB, free: 21.81 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.559, allocations: 4.328 kB / 0.8568 GB, free: 21.81 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.342e-06/0.559, allocations: 1.219 kB / 0.8568 GB, free: 21.81 MB / 490.8 MB Notification: Performance of Transformations before backend: time 7.244e-06/0.559, allocations: 0 / 0.8568 GB, free: 21.81 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.0008134/0.5598, allocations: 0.4925 MB / 0.8573 GB, free: 21.41 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.5598, allocations: 8.594 kB / 0.8573 GB, free: 21.41 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.8e-05/0.5599, allocations: 23.55 kB / 0.8573 GB, free: 21.4 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002303/0.5601, allocations: 183.9 kB / 0.8575 GB, free: 21.24 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.5601, allocations: 12.77 kB / 0.8575 GB, free: 21.24 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.103e-05/0.5602, allocations: 25.02 kB / 0.8576 GB, free: 21.23 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003566/0.5605, allocations: 189.5 kB / 0.8577 GB, free: 21.16 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.5606, allocations: 0.5 kB / 0.8577 GB, free: 21.16 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.878e-05/0.5606, allocations: 10.12 kB / 0.8577 GB, free: 21.15 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.5606, allocations: 4.344 kB / 0.8578 GB, free: 21.15 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003332/0.5609, allocations: 140.4 kB / 0.8579 GB, free: 21.12 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007266/0.5616, allocations: 485.2 kB / 0.8583 GB, free: 20.82 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004966/0.5621, allocations: 176.1 kB / 0.8585 GB, free: 20.77 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001701/0.5623, allocations: 94.36 kB / 0.8586 GB, free: 20.73 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.2e-05/0.5623, allocations: 3.375 kB / 0.8586 GB, free: 20.73 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003371/0.5627, allocations: 227.9 kB / 0.8588 GB, free: 20.58 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.433e-06/0.5627, allocations: 0 / 0.8588 GB, free: 20.58 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001395/0.5641, allocations: 0.7023 MB / 0.8595 GB, free: 20.22 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.027e-05/0.5641, allocations: 137.4 kB / 0.8596 GB, free: 20.07 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000195/0.5643, allocations: 214.5 kB / 0.8598 GB, free: 19.96 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.5643, allocations: 33.73 kB / 0.8599 GB, free: 19.93 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.141e-05/0.5644, allocations: 134 kB / 0.86 GB, free: 19.84 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.675e-05/0.5644, allocations: 77.7 kB / 0.8601 GB, free: 19.79 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.378e-05/0.5645, allocations: 48.52 kB / 0.8601 GB, free: 19.77 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 6.538e-05/0.5646, allocations: 340.4 kB / 0.8605 GB, free: 19.45 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002134/0.5648, allocations: 151.2 kB / 0.8606 GB, free: 19.38 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002238/0.565, allocations: 218.4 kB / 0.8608 GB, free: 19.21 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003577/0.5654, allocations: 280.8 kB / 0.8611 GB, free: 19.05 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.5654, allocations: 0 / 0.8611 GB, free: 19.05 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005355/0.5659, allocations: 391.1 kB / 0.8614 GB, free: 18.87 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.163e-05/0.5659, allocations: 66.73 kB / 0.8615 GB, free: 18.8 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.566, allocations: 6.812 kB / 0.8615 GB, free: 18.8 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.566, allocations: 3.281 kB / 0.8615 GB, free: 18.8 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002026/0.5662, allocations: 48.86 kB / 0.8616 GB, free: 18.8 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.5662, allocations: 8.047 kB / 0.8616 GB, free: 18.79 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00017/0.5664, allocations: 18.05 kB / 0.8616 GB, free: 18.79 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.27e-05/0.5664, allocations: 16.48 kB / 0.8616 GB, free: 18.79 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.0001625/0.5665, allocations: 175.9 kB / 0.8618 GB, free: 18.64 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.957e-05/0.5666, allocations: 21.14 kB / 0.8618 GB, free: 18.63 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.456e-05/0.5666, allocations: 32.58 kB / 0.8618 GB, free: 18.61 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.5666, allocations: 0 / 0.8618 GB, free: 18.61 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/0.5666, allocations: 1.188 kB / 0.8618 GB, free: 18.61 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.5666, allocations: 2.859 kB / 0.8618 GB, free: 18.61 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006535/0.5673, allocations: 0.539 MB / 0.8624 GB, free: 18.32 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.5673, allocations: 0.5938 kB / 0.8624 GB, free: 18.32 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001767/0.5675, allocations: 42.86 kB / 0.8624 GB, free: 18.31 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.5675, allocations: 0.6562 kB / 0.8624 GB, free: 18.31 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.752e-05/0.5675, allocations: 2.625 kB / 0.8624 GB, free: 18.31 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.5675, allocations: 7.844 kB / 0.8624 GB, free: 18.31 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.5675, allocations: 0 / 0.8624 GB, free: 18.31 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006497/0.5681, allocations: 0.4923 MB / 0.8629 GB, free: 18.07 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.138e-05/0.5682, allocations: 14.61 kB / 0.8629 GB, free: 18.05 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.23e-05/0.5682, allocations: 7.719 kB / 0.8629 GB, free: 18.05 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001628/0.5684, allocations: 19.7 kB / 0.8629 GB, free: 18.05 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.894e-05/0.5685, allocations: 27.94 kB / 0.863 GB, free: 18.05 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.5685, allocations: 4.844 kB / 0.863 GB, free: 18.05 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.000123/0.5686, allocations: 160.1 kB / 0.8631 GB, free: 17.97 MB / 490.8 MB Notification: Performance of sort global known variables: time 6e-08/0.5686, allocations: 0 / 0.8631 GB, free: 17.97 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002964/0.5689, allocations: 59.28 kB / 0.8632 GB, free: 17.97 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.000111/0.569, allocations: 118.6 kB / 0.8633 GB, free: 17.88 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005299/0.5695, allocations: 381.8 kB / 0.8636 GB, free: 17.64 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.5695, allocations: 2.75 kB / 0.8636 GB, free: 17.64 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002415/0.5698, allocations: 170 kB / 0.8638 GB, free: 17.55 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004622/0.5702, allocations: 68.88 kB / 0.8639 GB, free: 17.54 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001259/0.5715, allocations: 0.6819 MB / 0.8645 GB, free: 17.23 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001299/0.5716, allocations: 126.5 kB / 0.8647 GB, free: 17.15 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001198/0.5718, allocations: 26.7 kB / 0.8647 GB, free: 17.15 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.668e-05/0.5718, allocations: 23.08 kB / 0.8647 GB, free: 17.14 MB / 490.8 MB Notification: Performance of SimCode: time 5.21e-07/0.5718, allocations: 0 / 0.8647 GB, free: 17.14 MB / 490.8 MB Notification: Performance of Templates: time 0.008462/0.5803, allocations: 3.635 MB / 0.8683 GB, free: 16.82 MB / 490.8 MB " [Timeout remaining time 659] 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: 9.008559783222154]