Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AB11_SAtenolol.SAtenolol.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.001275/0.001275, 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.001429/0.001429, allocations: 216.4 kB / 23 MB, free: 2.934 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.083/1.083, 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.7916/0.7916, allocations: 312.3 MB / 0.6108 GB, free: 97.55 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.C07AB11_SAtenolol.SAtenolol,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AB11_SAtenolol.SAtenolol") translateModel(Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AB11_SAtenolol.SAtenolol,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AB11_SAtenolol.SAtenolol") [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.001709/0.001709, allocations: 72.39 kB / 0.7699 GB, free: 20.16 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1563, allocations: 73.98 MB / 0.8421 GB, free: 10.31 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AB11_SAtenolol.SAtenolol): time 0.003054/0.1594, allocations: 2.312 MB / 0.8444 GB, free: 8 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.006291/0.1657, allocations: 6.537 MB / 0.8508 GB, free: 1.461 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001388/0.1658, allocations: 0 / 0.8508 GB, free: 1.461 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001503/0.166, allocations: 28.34 kB / 0.8508 GB, free: 1.434 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000233/0.1662, allocations: 80.45 kB / 0.8509 GB, free: 1.355 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000246/0.1665, allocations: 52.41 kB / 0.8509 GB, free: 1.305 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.000263/0.1667, allocations: 255.3 kB / 0.8512 GB, free: 1.055 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001596/0.1669, allocations: 40.56 kB / 0.8512 GB, free: 1.016 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000123/0.167, allocations: 92.27 kB / 0.8513 GB, free: 0.9258 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002095/0.1672, allocations: 104.1 kB / 0.8514 GB, free: 0.8242 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.02e-05/0.1672, allocations: 20 kB / 0.8514 GB, free: 0.8047 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.75e-05/0.1673, allocations: 16.66 kB / 0.8514 GB, free: 0.7891 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 3.518e-05/0.1673, allocations: 35.84 kB / 0.8515 GB, free: 0.7539 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 9.047e-05/0.1674, allocations: 92.08 kB / 0.8516 GB, free: 0.6641 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0004602/0.1679, allocations: 199.7 kB / 0.8517 GB, free: 480 kB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.1679, allocations: 0.625 kB / 0.8517 GB, free: 480 kB / 474.8 MB Notification: Performance of FrontEnd: time 2.946e-06/0.1679, allocations: 4 kB / 0.8517 GB, free: 476 kB / 474.8 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.1679, allocations: 1.062 kB / 0.8517 GB, free: 476 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.0007571/0.1686, allocations: 499.2 kB / 0.8522 GB, free: 15.93 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.1687, allocations: 12.02 kB / 0.8522 GB, free: 15.92 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.177e-05/0.1687, allocations: 25.42 kB / 0.8523 GB, free: 15.9 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002091/0.1689, allocations: 187.1 kB / 0.8524 GB, free: 15.69 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.169, allocations: 14.17 kB / 0.8525 GB, free: 15.68 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.073e-05/0.169, allocations: 12.56 kB / 0.8525 GB, free: 15.66 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002639/0.1692, allocations: 186.9 kB / 0.8526 GB, free: 15.46 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.1693, allocations: 8.438 kB / 0.8527 GB, free: 15.46 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.641e-05/0.1693, allocations: 7.984 kB / 0.8527 GB, free: 15.45 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.1693, allocations: 8.594 kB / 0.8527 GB, free: 15.44 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002111/0.1695, allocations: 139.5 kB / 0.8528 GB, free: 15.3 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005826/0.1701, allocations: 490.5 kB / 0.8533 GB, free: 14.79 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003493/0.1704, allocations: 173.5 kB / 0.8534 GB, free: 14.61 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.1705, allocations: 99.05 kB / 0.8535 GB, free: 14.5 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.158e-05/0.1705, allocations: 4 kB / 0.8535 GB, free: 14.5 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002583/0.1708, allocations: 217.8 kB / 0.8537 GB, free: 14.25 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 2.354e-06/0.1708, allocations: 0 / 0.8537 GB, free: 14.25 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001026/0.1718, allocations: 0.708 MB / 0.8544 GB, free: 13.48 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.997e-05/0.1719, allocations: 133.2 kB / 0.8546 GB, free: 13.32 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001553/0.172, allocations: 212.6 kB / 0.8548 GB, free: 13.11 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.1721, allocations: 33.7 kB / 0.8548 GB, free: 13.07 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.053e-05/0.1721, allocations: 141.1 kB / 0.8549 GB, free: 12.93 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.778e-05/0.1722, allocations: 67.42 kB / 0.855 GB, free: 12.86 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.728e-05/0.1722, allocations: 58.31 kB / 0.855 GB, free: 12.8 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 8.765e-05/0.1723, allocations: 338.8 kB / 0.8554 GB, free: 12.46 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000144/0.1725, allocations: 146.3 kB / 0.8555 GB, free: 12.3 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001612/0.1726, allocations: 222 kB / 0.8557 GB, free: 12.04 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3592/0.5318, allocations: 280.9 kB / 0.856 GB, free: 30.3 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.5318, allocations: 0 / 0.856 GB, free: 30.3 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.006589/0.5384, allocations: 391.2 kB / 0.8564 GB, free: 30.14 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.638e-05/0.5384, allocations: 67.94 kB / 0.8564 GB, free: 30.08 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.5384, allocations: 1.219 kB / 0.8564 GB, free: 30.08 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.817e-05/0.5385, allocations: 5.812 kB / 0.8564 GB, free: 30.08 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001861/0.5387, allocations: 51.73 kB / 0.8565 GB, free: 30.08 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/0.5387, allocations: 12.81 kB / 0.8565 GB, free: 30.08 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001606/0.5388, allocations: 17.67 kB / 0.8565 GB, free: 30.08 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.943e-05/0.5389, allocations: 12.5 kB / 0.8565 GB, free: 30.08 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.0002237/0.5391, allocations: 173.3 kB / 0.8567 GB, free: 29.94 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.103e-05/0.5391, allocations: 21.25 kB / 0.8567 GB, free: 29.94 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.956e-05/0.5392, allocations: 23.44 kB / 0.8567 GB, free: 29.93 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.5392, allocations: 6.562 kB / 0.8567 GB, free: 29.93 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/0.5392, allocations: 3.906 kB / 0.8567 GB, free: 29.93 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/0.5392, allocations: 2.719 kB / 0.8567 GB, free: 29.93 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006852/0.5399, allocations: 0.529 MB / 0.8573 GB, free: 29.64 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.5399, allocations: 1.125 kB / 0.8573 GB, free: 29.64 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001431/0.54, allocations: 40.06 kB / 0.8573 GB, free: 29.64 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.54, allocations: 3.031 kB / 0.8573 GB, free: 29.64 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.746e-05/0.54, allocations: 8.906 kB / 0.8573 GB, free: 29.63 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.54, allocations: 3.75 kB / 0.8573 GB, free: 29.63 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.54, allocations: 1.031 kB / 0.8573 GB, free: 29.63 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005573/0.5406, allocations: 498.5 kB / 0.8578 GB, free: 29.41 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.898e-05/0.5406, allocations: 21.8 kB / 0.8578 GB, free: 29.41 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.768e-05/0.5407, allocations: 13.75 kB / 0.8578 GB, free: 29.41 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.5408, allocations: 12.88 kB / 0.8578 GB, free: 29.41 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.954e-05/0.5409, allocations: 23.41 kB / 0.8579 GB, free: 29.41 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.534e-05/0.5409, allocations: 7.125 kB / 0.8579 GB, free: 29.41 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.006126/0.547, allocations: 163.7 kB / 0.858 GB, free: 29.33 MB / 490.8 MB Notification: Performance of sort global known variables: time 1e-07/0.547, allocations: 0 / 0.858 GB, free: 29.33 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003412/0.5474, allocations: 59 kB / 0.8581 GB, free: 29.33 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.000137/0.5475, allocations: 113.6 kB / 0.8582 GB, free: 29.24 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0004612/0.548, allocations: 378.1 kB / 0.8585 GB, free: 29.02 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.548, allocations: 3.375 kB / 0.8586 GB, free: 29.02 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001837/0.5482, allocations: 174 kB / 0.8587 GB, free: 28.93 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004505/0.5486, allocations: 67.89 kB / 0.8588 GB, free: 28.92 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001236/0.5498, allocations: 0.704 MB / 0.8595 GB, free: 28.62 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001051/0.55, allocations: 128.4 kB / 0.8596 GB, free: 28.54 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006082/0.556, allocations: 26.7 kB / 0.8596 GB, free: 28.53 MB / 490.8 MB Notification: Performance of SimCode: time 9.02e-07/0.556, allocations: 0 / 0.8596 GB, free: 28.53 MB / 490.8 MB Notification: Performance of Templates: time 0.01039/0.5664, allocations: 2.935 MB / 0.8625 GB, free: 28.31 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AB11_SAtenolol.SAtenolol.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AB11_SAtenolol.SAtenolol.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AB11_SAtenolol.SAtenolol.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AB11_SAtenolol.SAtenolol.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AB11_SAtenolol.SAtenolol.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AB11_SAtenolol.SAtenolol > Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AB11_SAtenolol.SAtenolol.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.075733206234872]