Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AG02_Carvedilol.Carvedilol.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.0009128/0.0009128, allocations: 104.4 kB / 19.71 MB, free: 436 kB / 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.001023/0.001023, allocations: 215.5 kB / 23.01 MB, free: 2.957 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.135/1.135, allocations: 230.6 MB / 256.8 MB, free: 9.594 MB / 202.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.8702/0.8702, allocations: 312.3 MB / 0.6108 GB, free: 97.59 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,tolerance=1e-09,outputFormat="empty",numberOfIntervals=1123200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AG02_Carvedilol.Carvedilol") translateModel(Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AG02_Carvedilol.Carvedilol,tolerance=1e-09,outputFormat="empty",numberOfIntervals=1123200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AG02_Carvedilol.Carvedilol") [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.001725/0.001725, allocations: 75.5 kB / 0.7699 GB, free: 20.16 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1792/0.1809, allocations: 73.99 MB / 0.8421 GB, free: 10.3 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AG02_Carvedilol.Carvedilol): time 0.004637/0.1856, allocations: 2.321 MB / 0.8444 GB, free: 7.977 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.009954/0.1955, allocations: 6.529 MB / 0.8508 GB, free: 1.445 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000368/0.1959, allocations: 4.594 kB / 0.8508 GB, free: 1.441 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0002428/0.1961, allocations: 24.34 kB / 0.8508 GB, free: 1.418 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004336/0.1966, allocations: 79.97 kB / 0.8509 GB, free: 1.34 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003438/0.1969, allocations: 53.02 kB / 0.8509 GB, free: 1.289 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0004687/0.1974, allocations: 258.7 kB / 0.8512 GB, free: 1.035 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002404/0.1976, allocations: 33.11 kB / 0.8512 GB, free: 1.004 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002597/0.1979, allocations: 100.3 kB / 0.8513 GB, free: 0.9062 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003227/0.1982, allocations: 95.55 kB / 0.8514 GB, free: 0.8125 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 4.359e-05/0.1983, allocations: 16.56 kB / 0.8514 GB, free: 0.7969 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.63e-05/0.1983, allocations: 16.62 kB / 0.8514 GB, free: 0.7812 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 6.796e-05/0.1984, allocations: 43.83 kB / 0.8515 GB, free: 0.7383 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001311/0.1985, allocations: 88.05 kB / 0.8516 GB, free: 0.6523 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003233/0.1988, allocations: 199.9 kB / 0.8517 GB, free: 468 kB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.1988, allocations: 3.938 kB / 0.8518 GB, free: 464 kB / 474.8 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1988, allocations: 0.625 kB / 0.8518 GB, free: 464 kB / 474.8 MB Notification: Performance of Transformations before backend: time 9.187e-06/0.1988, allocations: 0 / 0.8518 GB, free: 464 kB / 474.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.001379/0.2002, allocations: 0.4929 MB / 0.8522 GB, free: 15.92 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.865e-05/0.2003, allocations: 12.03 kB / 0.8522 GB, free: 15.91 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.958e-05/0.2004, allocations: 25.45 kB / 0.8523 GB, free: 15.88 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003087/0.2007, allocations: 183.6 kB / 0.8524 GB, free: 15.68 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.346e-05/0.2007, allocations: 8.609 kB / 0.8525 GB, free: 15.67 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.142e-05/0.2008, allocations: 24.52 kB / 0.8525 GB, free: 15.64 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003714/0.2011, allocations: 186.9 kB / 0.8527 GB, free: 15.45 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.131e-05/0.2012, allocations: 0.7812 kB / 0.8527 GB, free: 15.45 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.272e-05/0.2012, allocations: 8 kB / 0.8527 GB, free: 15.44 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.2012, allocations: 4.562 kB / 0.8527 GB, free: 15.43 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003184/0.2015, allocations: 147 kB / 0.8528 GB, free: 15.29 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000886/0.2024, allocations: 482.8 kB / 0.8533 GB, free: 14.78 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005214/0.2029, allocations: 176.4 kB / 0.8534 GB, free: 14.6 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001646/0.2031, allocations: 101.4 kB / 0.8535 GB, free: 14.49 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.397e-05/0.2031, allocations: 0.5 kB / 0.8535 GB, free: 14.49 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003726/0.2035, allocations: 229.5 kB / 0.8538 GB, free: 14.24 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 4.458e-06/0.2035, allocations: 0.5312 kB / 0.8538 GB, free: 14.24 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001445/0.2049, allocations: 0.7087 MB / 0.8544 GB, free: 13.47 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.484e-05/0.205, allocations: 136.5 kB / 0.8546 GB, free: 13.3 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002481/0.2053, allocations: 216.7 kB / 0.8548 GB, free: 13.09 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.2053, allocations: 25.7 kB / 0.8548 GB, free: 13.05 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.2054, allocations: 141 kB / 0.8549 GB, free: 12.91 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.112e-05/0.2054, allocations: 68.05 kB / 0.855 GB, free: 12.85 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.548e-05/0.2055, allocations: 53.7 kB / 0.8551 GB, free: 12.79 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.2056, allocations: 339.2 kB / 0.8554 GB, free: 12.45 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002104/0.2059, allocations: 145.5 kB / 0.8555 GB, free: 12.29 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002419/0.2061, allocations: 222.4 kB / 0.8557 GB, free: 12.03 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3591/0.5652, allocations: 281.6 kB / 0.856 GB, free: 30.22 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-06/0.5652, allocations: 0 / 0.856 GB, free: 30.22 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005172/0.5657, allocations: 386.4 kB / 0.8564 GB, free: 30.06 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.116e-05/0.5658, allocations: 69.92 kB / 0.8564 GB, free: 30 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.5658, allocations: 4.969 kB / 0.8564 GB, free: 30 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.79e-05/0.5658, allocations: 1.938 kB / 0.8564 GB, free: 30 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001635/0.566, allocations: 49.81 kB / 0.8565 GB, free: 30 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/0.566, allocations: 5.047 kB / 0.8565 GB, free: 30 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001346/0.5661, allocations: 23.02 kB / 0.8565 GB, free: 30 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.823e-05/0.5662, allocations: 12.31 kB / 0.8565 GB, free: 30 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.0002169/0.5664, allocations: 174 kB / 0.8567 GB, free: 29.86 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.138e-05/0.5664, allocations: 23.72 kB / 0.8567 GB, free: 29.86 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.575e-05/0.5665, allocations: 22.14 kB / 0.8567 GB, free: 29.85 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.5665, allocations: 7 kB / 0.8567 GB, free: 29.85 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.5665, allocations: 1.312 kB / 0.8567 GB, free: 29.85 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.5665, allocations: 0 / 0.8567 GB, free: 29.85 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006385/0.5671, allocations: 0.5439 MB / 0.8573 GB, free: 29.55 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/0.5671, allocations: 0.6875 kB / 0.8573 GB, free: 29.55 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001282/0.5672, allocations: 37.41 kB / 0.8573 GB, free: 29.55 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.5673, allocations: 0 / 0.8573 GB, free: 29.55 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.5673, allocations: 3.781 kB / 0.8573 GB, free: 29.55 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.03e-06/0.5673, allocations: 8.562 kB / 0.8573 GB, free: 29.55 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.5673, allocations: 3.406 kB / 0.8573 GB, free: 29.55 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004763/0.5678, allocations: 0.4932 MB / 0.8578 GB, free: 29.32 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.526e-05/0.5678, allocations: 19.44 kB / 0.8578 GB, free: 29.32 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.145e-05/0.5678, allocations: 6.438 kB / 0.8578 GB, free: 29.32 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.552e-05/0.5679, allocations: 15.11 kB / 0.8578 GB, free: 29.32 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.728e-05/0.568, allocations: 20.62 kB / 0.8579 GB, free: 29.32 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/0.568, allocations: 12.3 kB / 0.8579 GB, free: 29.32 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.000111/0.5681, allocations: 161.1 kB / 0.858 GB, free: 29.25 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.5681, allocations: 0 / 0.858 GB, free: 29.25 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002081/0.5683, allocations: 52.44 kB / 0.8581 GB, free: 29.25 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.0001308/0.5685, allocations: 113.7 kB / 0.8582 GB, free: 29.16 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0003833/0.5688, allocations: 382.9 kB / 0.8586 GB, free: 28.94 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.5689, allocations: 0 / 0.8586 GB, free: 28.94 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001523/0.569, allocations: 173.6 kB / 0.8587 GB, free: 28.84 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003379/0.5693, allocations: 64.83 kB / 0.8588 GB, free: 28.84 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001108/0.5704, allocations: 0.705 MB / 0.8595 GB, free: 28.53 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.68e-05/0.5705, allocations: 126.1 kB / 0.8596 GB, free: 28.45 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.632e-05/0.5706, allocations: 24.06 kB / 0.8596 GB, free: 28.44 MB / 490.8 MB Notification: Performance of SimCode: time 1.022e-06/0.5706, allocations: 0 / 0.8596 GB, free: 28.44 MB / 490.8 MB Notification: Performance of Templates: time 0.005143/0.5757, allocations: 2.949 MB / 0.8625 GB, free: 28.25 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AG02_Carvedilol.Carvedilol.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AG02_Carvedilol.Carvedilol.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AG02_Carvedilol.Carvedilol.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AG02_Carvedilol.Carvedilol.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AG02_Carvedilol.Carvedilol.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AG02_Carvedilol.Carvedilol > Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AG02_Carvedilol.Carvedilol.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.381999573670328]