Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02C_AntiadrenergicAgentsPeripherallyActing.C02CA02_Indoramin.Indoramin.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.0008474/0.0008474, 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.0009436/0.0009436, 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.032/1.032, allocations: 230.6 MB / 256.8 MB, free: 9.59 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.8268/0.8268, allocations: 312.3 MB / 0.6108 GB, free: 97.45 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.C02C_AntiadrenergicAgentsPeripherallyActing.C02CA02_Indoramin.Indoramin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02C_AntiadrenergicAgentsPeripherallyActing.C02CA02_Indoramin.Indoramin") translateModel(Pharmacolibrary.Drugs.C_CardiovascularSystem.C02C_AntiadrenergicAgentsPeripherallyActing.C02CA02_Indoramin.Indoramin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02C_AntiadrenergicAgentsPeripherallyActing.C02CA02_Indoramin.Indoramin") [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.002188/0.002188, allocations: 79.64 kB / 0.7699 GB, free: 20.13 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1605, allocations: 73.98 MB / 0.8421 GB, free: 10.28 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.C_CardiovascularSystem.C02C_AntiadrenergicAgentsPeripherallyActing.C02CA02_Indoramin.Indoramin): time 0.00413/0.1646, allocations: 2.31 MB / 0.8444 GB, free: 7.969 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.007369/0.172, allocations: 6.525 MB / 0.8508 GB, free: 1.441 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001825/0.1722, allocations: 3.938 kB / 0.8508 GB, free: 1.438 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.000167/0.1723, allocations: 28.33 kB / 0.8508 GB, free: 1.41 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002477/0.1726, allocations: 80.48 kB / 0.8509 GB, free: 1.332 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002713/0.1729, allocations: 52.56 kB / 0.8509 GB, free: 1.281 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002794/0.1731, allocations: 258.7 kB / 0.8512 GB, free: 1.027 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001601/0.1733, allocations: 37.19 kB / 0.8512 GB, free: 0.9922 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001214/0.1734, allocations: 92.16 kB / 0.8513 GB, free: 0.9023 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002154/0.1736, allocations: 104.1 kB / 0.8514 GB, free: 0.8008 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.398e-05/0.1737, allocations: 20 kB / 0.8514 GB, free: 0.7812 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.828e-05/0.1737, allocations: 16.62 kB / 0.8514 GB, free: 0.7656 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 3.818e-05/0.1737, allocations: 35.84 kB / 0.8514 GB, free: 0.7305 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 9.124e-05/0.1738, allocations: 96.23 kB / 0.8515 GB, free: 0.6367 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002243/0.1741, allocations: 191.2 kB / 0.8517 GB, free: 460 kB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.1741, allocations: 0.6875 kB / 0.8517 GB, free: 460 kB / 474.8 MB Notification: Performance of FrontEnd: time 2.955e-06/0.1741, allocations: 4.625 kB / 0.8517 GB, free: 456 kB / 474.8 MB Notification: Performance of Transformations before backend: time 8.036e-06/0.1741, allocations: 0 / 0.8517 GB, free: 456 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.0007772/0.1749, allocations: 0.4948 MB / 0.8522 GB, free: 15.91 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.1749, allocations: 8.031 kB / 0.8522 GB, free: 15.9 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.614e-05/0.1749, allocations: 25.55 kB / 0.8522 GB, free: 15.88 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002064/0.1752, allocations: 179.1 kB / 0.8524 GB, free: 15.67 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.1752, allocations: 13.23 kB / 0.8524 GB, free: 15.66 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.529e-05/0.1752, allocations: 19.89 kB / 0.8524 GB, free: 15.64 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002784/0.1755, allocations: 191.6 kB / 0.8526 GB, free: 15.44 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.1755, allocations: 4 kB / 0.8526 GB, free: 15.43 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.1755, allocations: 0.5938 kB / 0.8526 GB, free: 15.43 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.1755, allocations: 4 kB / 0.8526 GB, free: 15.43 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002057/0.1757, allocations: 147.5 kB / 0.8528 GB, free: 15.28 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006145/0.1763, allocations: 490.6 kB / 0.8532 GB, free: 14.77 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003822/0.1767, allocations: 173.4 kB / 0.8534 GB, free: 14.59 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/0.1768, allocations: 95.14 kB / 0.8535 GB, free: 14.48 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.646e-05/0.1769, allocations: 4.625 kB / 0.8535 GB, free: 14.48 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003219/0.1772, allocations: 231.1 kB / 0.8537 GB, free: 14.23 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 4.398e-06/0.1772, allocations: 0.5938 kB / 0.8537 GB, free: 14.23 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001268/0.1784, allocations: 0.702 MB / 0.8544 GB, free: 13.46 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.456e-05/0.1785, allocations: 141 kB / 0.8545 GB, free: 13.3 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001883/0.1787, allocations: 211 kB / 0.8547 GB, free: 13.08 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.482e-05/0.1787, allocations: 34.27 kB / 0.8548 GB, free: 13.04 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.326e-05/0.1788, allocations: 137.1 kB / 0.8549 GB, free: 12.91 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.202e-05/0.1789, allocations: 71.42 kB / 0.855 GB, free: 12.84 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.94e-05/0.179, allocations: 54.45 kB / 0.855 GB, free: 12.78 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001923/0.1791, allocations: 338.7 kB / 0.8554 GB, free: 12.44 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000166/0.1793, allocations: 145.5 kB / 0.8555 GB, free: 12.28 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001699/0.1795, allocations: 227.1 kB / 0.8557 GB, free: 12.01 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3567/0.5362, allocations: 276.8 kB / 0.856 GB, free: 30.3 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.5362, allocations: 1.25 kB / 0.856 GB, free: 30.3 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006392/0.5369, allocations: 396.5 kB / 0.8564 GB, free: 30.14 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.952e-05/0.5369, allocations: 63.14 kB / 0.8564 GB, free: 30.08 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.519e-05/0.537, allocations: 1.969 kB / 0.8564 GB, free: 30.08 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.037e-05/0.537, allocations: 4.156 kB / 0.8564 GB, free: 30.08 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000212/0.5372, allocations: 51.86 kB / 0.8565 GB, free: 30.08 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.599e-05/0.5372, allocations: 5.625 kB / 0.8565 GB, free: 30.08 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001744/0.5374, allocations: 22.44 kB / 0.8565 GB, free: 30.08 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.389e-05/0.5374, allocations: 12.97 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.0003144/0.5377, allocations: 170.5 kB / 0.8567 GB, free: 29.93 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.751e-05/0.5378, allocations: 25.8 kB / 0.8567 GB, free: 29.93 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.911e-05/0.5378, allocations: 22.56 kB / 0.8567 GB, free: 29.93 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.241e-06/0.5379, allocations: 5.719 kB / 0.8567 GB, free: 29.93 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.5379, allocations: 2.25 kB / 0.8567 GB, free: 29.93 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.5379, allocations: 0 / 0.8567 GB, free: 29.93 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008175/0.5387, allocations: 0.5333 MB / 0.8572 GB, free: 29.63 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.5387, allocations: 0.5625 kB / 0.8572 GB, free: 29.63 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001524/0.5388, allocations: 37.95 kB / 0.8573 GB, free: 29.63 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.274e-06/0.5389, allocations: 5.359 kB / 0.8573 GB, free: 29.63 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.72e-05/0.5389, allocations: 4.062 kB / 0.8573 GB, free: 29.63 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/0.5389, allocations: 6.812 kB / 0.8573 GB, free: 29.62 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.5389, allocations: 0 / 0.8573 GB, free: 29.62 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005862/0.5395, allocations: 0.493 MB / 0.8578 GB, free: 29.4 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.145e-05/0.5395, allocations: 22.84 kB / 0.8578 GB, free: 29.4 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.857e-05/0.5396, allocations: 8.75 kB / 0.8578 GB, free: 29.4 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.5397, allocations: 15.41 kB / 0.8578 GB, free: 29.4 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.5398, allocations: 24.2 kB / 0.8578 GB, free: 29.4 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.5398, allocations: 5.219 kB / 0.8579 GB, free: 29.4 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001296/0.5399, allocations: 161.9 kB / 0.858 GB, free: 29.32 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.5399, allocations: 0 / 0.858 GB, free: 29.32 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.000263/0.5402, allocations: 53.03 kB / 0.8581 GB, free: 29.32 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.0001482/0.5403, allocations: 120.6 kB / 0.8582 GB, free: 29.23 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0004838/0.5408, allocations: 374.8 kB / 0.8585 GB, free: 29.01 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.5408, allocations: 2.484 kB / 0.8585 GB, free: 29.01 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001699/0.541, allocations: 170.9 kB / 0.8587 GB, free: 28.91 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004413/0.5414, allocations: 71.36 kB / 0.8588 GB, free: 28.91 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001344/0.5428, allocations: 0.7067 MB / 0.8595 GB, free: 28.6 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001153/0.5429, allocations: 125.9 kB / 0.8596 GB, free: 28.52 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.815e-05/0.543, allocations: 27.06 kB / 0.8596 GB, free: 28.52 MB / 490.8 MB Notification: Performance of SimCode: time 9.02e-07/0.543, allocations: 0.5938 kB / 0.8596 GB, free: 28.52 MB / 490.8 MB Notification: Performance of Templates: time 0.007317/0.5503, allocations: 2.947 MB / 0.8625 GB, free: 28.29 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02C_AntiadrenergicAgentsPeripherallyActing.C02CA02_Indoramin.Indoramin.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02C_AntiadrenergicAgentsPeripherallyActing.C02CA02_Indoramin.Indoramin.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02C_AntiadrenergicAgentsPeripherallyActing.C02CA02_Indoramin.Indoramin.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02C_AntiadrenergicAgentsPeripherallyActing.C02CA02_Indoramin.Indoramin.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02C_AntiadrenergicAgentsPeripherallyActing.C02CA02_Indoramin.Indoramin.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02C_AntiadrenergicAgentsPeripherallyActing.C02CA02_Indoramin.Indoramin > Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02C_AntiadrenergicAgentsPeripherallyActing.C02CA02_Indoramin.Indoramin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.7892785128206015]