Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V08A_XRayContrastMediaIodinated.V08AB02_Iohexol.Iohexol_Taubert2018_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.00266/0.00266, allocations: 109.5 kB / 18.95 MB, free: 1.18 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.003135/0.003135, allocations: 215.6 kB / 22.25 MB, free: 3.578 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.755/1.755, allocations: 230.6 MB / 256 MB, free: 9.605 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.482/1.482, allocations: 316.7 MB / 0.6144 GB, free: 92.92 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_Taubert2018_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V08A_XRayContrastMediaIodinated.V08AB02_Iohexol.Iohexol_Taubert2018_reference") translateModel(Pharmacolibrary.Drugs.V_Various.V08A_XRayContrastMediaIodinated.V08AB02_Iohexol.Iohexol_Taubert2018_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V08A_XRayContrastMediaIodinated.V08AB02_Iohexol.Iohexol_Taubert2018_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.003977/0.003977, allocations: 69.2 kB / 0.775 GB, free: 14.77 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.1806, allocations: 73.99 MB / 0.8472 GB, free: 4.918 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.V_Various.V08A_XRayContrastMediaIodinated.V08AB02_Iohexol.Iohexol_Taubert2018_reference): time 0.004924/0.1855, allocations: 2.69 MB / 0.8499 GB, free: 2.227 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3651/0.5505, allocations: 6.612 MB / 0.8563 GB, free: 21.85 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002706/0.5508, allocations: 4 kB / 0.8563 GB, free: 21.85 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001752/0.551, allocations: 35.53 kB / 0.8564 GB, free: 21.85 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003285/0.5513, allocations: 117 kB / 0.8565 GB, free: 21.85 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002498/0.5516, allocations: 74.58 kB / 0.8565 GB, free: 21.85 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003732/0.5519, allocations: 375.9 kB / 0.8569 GB, free: 21.79 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001857/0.5521, allocations: 49.31 kB / 0.857 GB, free: 21.79 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001731/0.5523, allocations: 144.1 kB / 0.8571 GB, free: 21.77 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002782/0.5526, allocations: 148.8 kB / 0.8572 GB, free: 21.73 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 4.316e-05/0.5526, allocations: 23.44 kB / 0.8573 GB, free: 21.73 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.04e-05/0.5527, allocations: 24.66 kB / 0.8573 GB, free: 21.73 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 5.216e-05/0.5527, allocations: 50.47 kB / 0.8573 GB, free: 21.71 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001471/0.5529, allocations: 132.9 kB / 0.8575 GB, free: 21.68 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000352/0.5532, allocations: 295.4 kB / 0.8577 GB, free: 21.63 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.5532, allocations: 1.375 kB / 0.8577 GB, free: 21.63 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.873e-06/0.5532, allocations: 1 kB / 0.8577 GB, free: 21.63 MB / 490.8 MB Notification: Performance of Transformations before backend: time 7.655e-06/0.5532, allocations: 0 / 0.8577 GB, free: 21.63 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.001003/0.5542, allocations: 0.5966 MB / 0.8583 GB, free: 21.17 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.5543, allocations: 13.97 kB / 0.8583 GB, free: 21.16 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.94e-05/0.5544, allocations: 31.81 kB / 0.8584 GB, free: 21.15 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002614/0.5546, allocations: 212.4 kB / 0.8586 GB, free: 20.99 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.222e-05/0.5546, allocations: 16.59 kB / 0.8586 GB, free: 20.99 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.103e-05/0.5547, allocations: 28.09 kB / 0.8586 GB, free: 20.99 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004586/0.5551, allocations: 284.3 kB / 0.8589 GB, free: 20.87 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.153e-05/0.5552, allocations: 5.125 kB / 0.8589 GB, free: 20.87 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.327e-05/0.5552, allocations: 7.094 kB / 0.8589 GB, free: 20.87 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.5552, allocations: 5.844 kB / 0.8589 GB, free: 20.87 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004055/0.5556, allocations: 235.4 kB / 0.8591 GB, free: 20.8 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001039/0.5566, allocations: 0.678 MB / 0.8598 GB, free: 20.45 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005285/0.5572, allocations: 237.4 kB / 0.86 GB, free: 20.36 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002181/0.5574, allocations: 154.1 kB / 0.8602 GB, free: 20.29 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.465e-05/0.5574, allocations: 1.875 kB / 0.8602 GB, free: 20.29 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003948/0.5578, allocations: 353.7 kB / 0.8605 GB, free: 20.05 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 1.733e-06/0.5578, allocations: 1.938 kB / 0.8605 GB, free: 20.05 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.001815/0.5596, allocations: 1.082 MB / 0.8616 GB, free: 19.51 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.274e-05/0.5597, allocations: 219.3 kB / 0.8618 GB, free: 19.26 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002233/0.5599, allocations: 248.5 kB / 0.862 GB, free: 19.15 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.587e-05/0.5599, allocations: 34.52 kB / 0.862 GB, free: 19.12 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.669e-05/0.56, allocations: 159.8 kB / 0.8622 GB, free: 19.01 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.59e-05/0.5601, allocations: 116.1 kB / 0.8623 GB, free: 18.94 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.167e-05/0.5602, allocations: 74.12 kB / 0.8624 GB, free: 18.92 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 7.132e-05/0.5602, allocations: 345.5 kB / 0.8627 GB, free: 18.61 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000268/0.5605, allocations: 208.5 kB / 0.8629 GB, free: 18.5 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002992/0.5608, allocations: 319.7 kB / 0.8632 GB, free: 18.27 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000496/0.5613, allocations: 434.1 kB / 0.8636 GB, free: 18 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.5613, allocations: 0 / 0.8636 GB, free: 18 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007794/0.5621, allocations: 0.5485 MB / 0.8642 GB, free: 17.75 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.732e-05/0.5621, allocations: 92.98 kB / 0.8642 GB, free: 17.65 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.5621, allocations: 3.062 kB / 0.8642 GB, free: 17.65 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.342e-05/0.5622, allocations: 4.844 kB / 0.8642 GB, free: 17.65 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003095/0.5625, allocations: 80.88 kB / 0.8643 GB, free: 17.64 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.383e-05/0.5625, allocations: 7.328 kB / 0.8643 GB, free: 17.64 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002207/0.5627, allocations: 26.02 kB / 0.8644 GB, free: 17.64 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.99e-05/0.5627, allocations: 16.56 kB / 0.8644 GB, free: 17.64 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.0002212/0.563, allocations: 225.7 kB / 0.8646 GB, free: 17.46 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.375e-05/0.563, allocations: 32.11 kB / 0.8646 GB, free: 17.44 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.067e-05/0.5631, allocations: 33.3 kB / 0.8646 GB, free: 17.43 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/0.5631, allocations: 5.547 kB / 0.8647 GB, free: 17.43 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.5631, allocations: 0.5156 kB / 0.8647 GB, free: 17.43 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.5631, allocations: 6.328 kB / 0.8647 GB, free: 17.43 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/0.5641, allocations: 0.7632 MB / 0.8654 GB, free: 17.06 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.5641, allocations: 0.5625 kB / 0.8654 GB, free: 17.06 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002667/0.5644, allocations: 54.02 kB / 0.8655 GB, free: 17.06 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.5644, allocations: 1.094 kB / 0.8655 GB, free: 17.06 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.871e-05/0.5644, allocations: 14.88 kB / 0.8655 GB, free: 17.05 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.5645, allocations: 3.594 kB / 0.8655 GB, free: 17.05 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.5645, allocations: 0 / 0.8655 GB, free: 17.05 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009864/0.5654, allocations: 0.7282 MB / 0.8662 GB, free: 16.7 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.499e-05/0.5655, allocations: 25.92 kB / 0.8662 GB, free: 16.69 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.977e-05/0.5655, allocations: 17.3 kB / 0.8662 GB, free: 16.68 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001934/0.5657, allocations: 22.73 kB / 0.8663 GB, free: 16.68 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001188/0.5659, allocations: 30.09 kB / 0.8663 GB, free: 16.68 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-05/0.5659, allocations: 11.45 kB / 0.8663 GB, free: 16.68 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001783/0.5661, allocations: 177.8 kB / 0.8665 GB, free: 16.61 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.5661, allocations: 0 / 0.8665 GB, free: 16.61 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003637/0.5664, allocations: 87.67 kB / 0.8665 GB, free: 16.61 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.0001234/0.5665, allocations: 127.8 kB / 0.8667 GB, free: 16.51 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0007026/0.5673, allocations: 0.5708 MB / 0.8672 GB, free: 16.15 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.5673, allocations: 3.938 kB / 0.8672 GB, free: 16.14 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003137/0.5676, allocations: 301 kB / 0.8675 GB, free: 15.95 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005538/0.5681, allocations: 81.59 kB / 0.8676 GB, free: 15.95 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001613/0.5697, allocations: 0.9392 MB / 0.8685 GB, free: 15.46 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001689/0.5699, allocations: 159.6 kB / 0.8687 GB, free: 15.38 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001651/0.5701, allocations: 35.08 kB / 0.8687 GB, free: 15.38 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.705e-05/0.5701, allocations: 26.39 kB / 0.8687 GB, free: 15.37 MB / 490.8 MB Notification: Performance of SimCode: time 6.52e-07/0.5701, allocations: 0 / 0.8687 GB, free: 15.37 MB / 490.8 MB Notification: Performance of Templates: time 0.01124/0.5814, allocations: 5.003 MB / 0.8736 GB, free: 14.88 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V08A_XRayContrastMediaIodinated.V08AB02_Iohexol.Iohexol_Taubert2018_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V08A_XRayContrastMediaIodinated.V08AB02_Iohexol.Iohexol_Taubert2018_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V08A_XRayContrastMediaIodinated.V08AB02_Iohexol.Iohexol_Taubert2018_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V08A_XRayContrastMediaIodinated.V08AB02_Iohexol.Iohexol_Taubert2018_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V08A_XRayContrastMediaIodinated.V08AB02_Iohexol.Iohexol_Taubert2018_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V08A_XRayContrastMediaIodinated.V08AB02_Iohexol.Iohexol_Taubert2018_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V08A_XRayContrastMediaIodinated.V08AB02_Iohexol.Iohexol_Taubert2018_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.920907160965726]