Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V08A_XRayContrastMediaIodinated.V08AB02_Iohexol.Iohexol.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.002151/0.002151, 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.00257/0.00257, allocations: 219.5 kB / 22.25 MB, free: 3.688 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.757/1.757, allocations: 230.6 MB / 256 MB, free: 9.59 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.499/1.499, allocations: 316.7 MB / 0.6144 GB, free: 93.25 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.V_Various.V08A_XRayContrastMediaIodinated.V08AB02_Iohexol.Iohexol,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V08A_XRayContrastMediaIodinated.V08AB02_Iohexol.Iohexol") translateModel(Pharmacolibrary.Drugs.V_Various.V08A_XRayContrastMediaIodinated.V08AB02_Iohexol.Iohexol,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V08A_XRayContrastMediaIodinated.V08AB02_Iohexol.Iohexol") [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.004333/0.004333, allocations: 77.38 kB / 0.775 GB, free: 14.88 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.1714, allocations: 73.98 MB / 0.8472 GB, free: 5.031 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.V_Various.V08A_XRayContrastMediaIodinated.V08AB02_Iohexol.Iohexol): time 0.005514/0.1769, allocations: 2.701 MB / 0.8499 GB, free: 2.328 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3718/0.5487, allocations: 6.598 MB / 0.8563 GB, free: 21.75 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000309/0.549, allocations: 6.875 kB / 0.8563 GB, free: 21.75 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001895/0.5492, allocations: 34.53 kB / 0.8564 GB, free: 21.75 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003491/0.5495, allocations: 122.6 kB / 0.8565 GB, free: 21.75 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002803/0.5498, allocations: 73.97 kB / 0.8565 GB, free: 21.75 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.000402/0.5502, allocations: 384.2 kB / 0.8569 GB, free: 21.68 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001976/0.5504, allocations: 49.45 kB / 0.857 GB, free: 21.67 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001937/0.5506, allocations: 140.9 kB / 0.8571 GB, free: 21.65 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002873/0.5509, allocations: 138.2 kB / 0.8572 GB, free: 21.61 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 4.64e-05/0.5509, allocations: 28.19 kB / 0.8573 GB, free: 21.61 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.07e-05/0.551, allocations: 25.59 kB / 0.8573 GB, free: 21.61 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 6.238e-05/0.5511, allocations: 50.33 kB / 0.8573 GB, free: 21.6 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001525/0.5512, allocations: 137 kB / 0.8575 GB, free: 21.57 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003674/0.5516, allocations: 290.3 kB / 0.8577 GB, free: 21.52 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.5516, allocations: 0.7812 kB / 0.8577 GB, free: 21.52 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.244e-06/0.5516, allocations: 0 / 0.8577 GB, free: 21.52 MB / 490.8 MB Notification: Performance of Transformations before backend: time 8.366e-06/0.5516, allocations: 0.75 kB / 0.8577 GB, free: 21.52 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.001061/0.5526, allocations: 0.601 MB / 0.8583 GB, free: 21.05 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/0.5527, allocations: 13.16 kB / 0.8583 GB, free: 21.05 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.588e-05/0.5528, allocations: 32.97 kB / 0.8584 GB, free: 21.04 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002905/0.5531, allocations: 210.7 kB / 0.8586 GB, free: 20.88 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.246e-05/0.5531, allocations: 19.47 kB / 0.8586 GB, free: 20.88 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.486e-05/0.5532, allocations: 27.42 kB / 0.8586 GB, free: 20.87 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004784/0.5536, allocations: 285.1 kB / 0.8589 GB, free: 20.75 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.238e-05/0.5537, allocations: 5.922 kB / 0.8589 GB, free: 20.75 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.264e-05/0.5537, allocations: 8.688 kB / 0.8589 GB, free: 20.75 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.5537, allocations: 7.688 kB / 0.8589 GB, free: 20.75 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000439/0.5541, allocations: 234.1 kB / 0.8591 GB, free: 20.68 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001113/0.5552, allocations: 0.676 MB / 0.8598 GB, free: 20.33 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005388/0.5558, allocations: 237.9 kB / 0.86 GB, free: 20.24 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002274/0.556, allocations: 146.9 kB / 0.8602 GB, free: 20.17 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.627e-05/0.556, allocations: 1.625 kB / 0.8602 GB, free: 20.17 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004335/0.5565, allocations: 367 kB / 0.8605 GB, free: 19.93 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 1.462e-06/0.5565, allocations: 0.625 kB / 0.8605 GB, free: 19.93 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.001871/0.5583, allocations: 1.084 MB / 0.8616 GB, free: 19.39 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.438e-05/0.5584, allocations: 220.5 kB / 0.8618 GB, free: 19.14 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000248/0.5587, allocations: 249.4 kB / 0.862 GB, free: 19.03 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 3.01e-05/0.5587, allocations: 36.86 kB / 0.8621 GB, free: 19 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.802e-05/0.5588, allocations: 155.2 kB / 0.8622 GB, free: 18.89 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 8.163e-05/0.5589, allocations: 120.9 kB / 0.8623 GB, free: 18.82 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.801e-05/0.559, allocations: 70.69 kB / 0.8624 GB, free: 18.8 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 8.009e-05/0.5591, allocations: 342.6 kB / 0.8627 GB, free: 18.49 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000271/0.5593, allocations: 213.2 kB / 0.8629 GB, free: 18.39 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003436/0.5597, allocations: 314.9 kB / 0.8632 GB, free: 18.15 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005584/0.5602, allocations: 428.3 kB / 0.8636 GB, free: 17.89 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.5602, allocations: 1.906 kB / 0.8636 GB, free: 17.89 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008449/0.5611, allocations: 0.5483 MB / 0.8642 GB, free: 17.63 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.55e-05/0.5611, allocations: 91.8 kB / 0.8642 GB, free: 17.54 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.487e-06/0.5612, allocations: 3.25 kB / 0.8642 GB, free: 17.54 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.524e-05/0.5612, allocations: 6.047 kB / 0.8643 GB, free: 17.54 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003315/0.5615, allocations: 81.11 kB / 0.8643 GB, free: 17.53 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.569e-05/0.5615, allocations: 6.5 kB / 0.8643 GB, free: 17.53 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002261/0.5618, allocations: 25.78 kB / 0.8644 GB, free: 17.53 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.629e-05/0.5618, allocations: 22.02 kB / 0.8644 GB, free: 17.52 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: 12 * Number of states: 0 () * Number of discrete variables: 21 (peripheral.Cmin,$PRE.peripheral.Cmin,peripheral.Cmax,$PRE.peripheral.Cmax,central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,peripheral.rising,$PRE.peripheral.rising,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 3 * 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.0002565/0.562, allocations: 220.9 kB / 0.8646 GB, free: 17.34 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.556e-05/0.5621, allocations: 32.28 kB / 0.8646 GB, free: 17.32 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.898e-05/0.5622, allocations: 33.81 kB / 0.8647 GB, free: 17.32 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.5622, allocations: 3.891 kB / 0.8647 GB, free: 17.32 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.5622, allocations: 0 / 0.8647 GB, free: 17.32 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.5622, allocations: 6.828 kB / 0.8647 GB, free: 17.31 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001241/0.5634, allocations: 0.7674 MB / 0.8654 GB, free: 16.94 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.5634, allocations: 1.969 kB / 0.8654 GB, free: 16.94 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002855/0.5637, allocations: 53.67 kB / 0.8655 GB, free: 16.94 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.5637, allocations: 1.312 kB / 0.8655 GB, free: 16.94 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.319e-05/0.5638, allocations: 15.19 kB / 0.8655 GB, free: 16.93 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.5638, allocations: 1.281 kB / 0.8655 GB, free: 16.93 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.5638, allocations: 1.375 kB / 0.8655 GB, free: 16.93 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001131/0.5649, allocations: 0.7221 MB / 0.8662 GB, free: 16.59 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.17e-05/0.565, allocations: 29.33 kB / 0.8662 GB, free: 16.57 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.461e-05/0.565, allocations: 17.28 kB / 0.8662 GB, free: 16.57 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001984/0.5652, allocations: 18.3 kB / 0.8663 GB, free: 16.57 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.5653, allocations: 31.3 kB / 0.8663 GB, free: 16.57 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.448e-05/0.5654, allocations: 11.53 kB / 0.8663 GB, free: 16.57 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001867/0.5656, allocations: 178.5 kB / 0.8665 GB, free: 16.49 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.5656, allocations: 1.562 kB / 0.8665 GB, free: 16.49 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003697/0.5659, allocations: 85.38 kB / 0.8666 GB, free: 16.49 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,peripheral.C,peripheral.AUC) * Number of discrete variables: 13 ($whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count,peripheral.Cmax,peripheral.Cmin,peripheral.rising) * Number of discrete states: 11 (periodicDose.pulse.count,peripheral.Cmin,$whenCondition4,peripheral.Cmax,$whenCondition3,peripheral.rising,central.Cmin,$whenCondition2,central.Cmax,$whenCondition1,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * 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.000149/0.5661, allocations: 125.6 kB / 0.8667 GB, free: 16.39 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0008117/0.5669, allocations: 0.5757 MB / 0.8672 GB, free: 16.03 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.5669, allocations: 1.5 kB / 0.8672 GB, free: 16.03 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003513/0.5672, allocations: 297.7 kB / 0.8675 GB, free: 15.84 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005884/0.5678, allocations: 92.84 kB / 0.8676 GB, free: 15.83 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001734/0.5696, allocations: 0.933 MB / 0.8685 GB, free: 15.36 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001657/0.5697, allocations: 159.3 kB / 0.8687 GB, free: 15.27 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001683/0.5699, allocations: 34.67 kB / 0.8687 GB, free: 15.27 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.622e-05/0.57, allocations: 30.47 kB / 0.8687 GB, free: 15.26 MB / 490.8 MB Notification: Performance of SimCode: time 7.02e-07/0.57, allocations: 5.375 kB / 0.8687 GB, free: 15.26 MB / 490.8 MB Notification: Performance of Templates: time 0.012/0.582, allocations: 4.984 MB / 0.8736 GB, free: 14.77 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V08A_XRayContrastMediaIodinated.V08AB02_Iohexol.Iohexol.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V08A_XRayContrastMediaIodinated.V08AB02_Iohexol.Iohexol.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V08A_XRayContrastMediaIodinated.V08AB02_Iohexol.Iohexol.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V08A_XRayContrastMediaIodinated.V08AB02_Iohexol.Iohexol.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V08A_XRayContrastMediaIodinated.V08AB02_Iohexol.Iohexol.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V08A_XRayContrastMediaIodinated.V08AB02_Iohexol.Iohexol -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V08A_XRayContrastMediaIodinated.V08AB02_Iohexol.Iohexol.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.8244445929303765]