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.0008652/0.0008652, allocations: 108.3 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.0008459/0.0008459, allocations: 216.4 kB / 23.01 MB, free: 2.945 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.042/1.042, allocations: 230.6 MB / 256.8 MB, free: 9.621 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.7946/0.7946, allocations: 312.3 MB / 0.6109 GB, free: 97.76 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.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.001752/0.001752, allocations: 74.78 kB / 0.7699 GB, free: 20.27 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1422, allocations: 73.98 MB / 0.8422 GB, free: 10.41 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.V_Various.V08A_XRayContrastMediaIodinated.V08AB02_Iohexol.Iohexol): time 0.003131/0.1454, allocations: 2.717 MB / 0.8448 GB, free: 7.703 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.005851/0.1512, allocations: 6.598 MB / 0.8513 GB, free: 1.105 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001262/0.1513, allocations: 4 kB / 0.8513 GB, free: 1.102 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.000155/0.1515, allocations: 44.06 kB / 0.8513 GB, free: 1.059 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002465/0.1517, allocations: 120.2 kB / 0.8514 GB, free: 0.9414 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002408/0.152, allocations: 72.45 kB / 0.8515 GB, free: 0.8711 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003033/0.1523, allocations: 378.7 kB / 0.8519 GB, free: 0.5 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001605/0.1524, allocations: 48.91 kB / 0.8519 GB, free: 464 kB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001348/0.1526, allocations: 144 kB / 0.8521 GB, free: 320 kB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002239/0.1528, allocations: 140 kB / 0.8522 GB, free: 180 kB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.291e-05/0.1528, allocations: 24.59 kB / 0.8522 GB, free: 156 kB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.506e-05/0.1529, allocations: 28 kB / 0.8522 GB, free: 128 kB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 4.234e-05/0.1529, allocations: 60.16 kB / 0.8523 GB, free: 68 kB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001158/0.153, allocations: 140 kB / 0.8524 GB, free: 15.93 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002555/0.1533, allocations: 282.8 kB / 0.8527 GB, free: 15.65 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1533, allocations: 0.625 kB / 0.8527 GB, free: 15.65 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1533, allocations: 0.5938 kB / 0.8527 GB, free: 15.65 MB / 490.8 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.1533, allocations: 0 / 0.8527 GB, free: 15.65 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.0008309/0.1541, allocations: 0.6063 MB / 0.8533 GB, free: 15 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.1542, allocations: 8.031 kB / 0.8533 GB, free: 14.99 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.851e-05/0.1542, allocations: 33.41 kB / 0.8533 GB, free: 14.96 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002357/0.1545, allocations: 209.1 kB / 0.8535 GB, free: 14.73 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.1545, allocations: 17.38 kB / 0.8536 GB, free: 14.71 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.779e-05/0.1545, allocations: 28.69 kB / 0.8536 GB, free: 14.68 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000341/0.1549, allocations: 287.9 kB / 0.8539 GB, free: 14.38 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/0.1549, allocations: 4.578 kB / 0.8539 GB, free: 14.38 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.96e-05/0.1549, allocations: 4.781 kB / 0.8539 GB, free: 14.37 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.1549, allocations: 8 kB / 0.8539 GB, free: 14.36 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003764/0.1553, allocations: 233.5 kB / 0.8541 GB, free: 14.12 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008155/0.1561, allocations: 0.6813 MB / 0.8548 GB, free: 13.4 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003676/0.1565, allocations: 231.4 kB / 0.855 GB, free: 13.15 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001461/0.1566, allocations: 149 kB / 0.8551 GB, free: 12.99 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.325e-05/0.1566, allocations: 8.562 kB / 0.8551 GB, free: 12.98 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003071/0.1569, allocations: 355.4 kB / 0.8555 GB, free: 12.59 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 1.744e-06/0.1569, allocations: 0.625 kB / 0.8555 GB, free: 12.59 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.2993/0.4562, allocations: 1.081 MB / 0.8565 GB, free: 30.46 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.245e-05/0.4562, allocations: 221.3 kB / 0.8567 GB, free: 30.21 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002092/0.4565, allocations: 245.1 kB / 0.857 GB, free: 30.11 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.444e-05/0.4565, allocations: 37.78 kB / 0.857 GB, free: 30.08 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.151e-05/0.4566, allocations: 157.6 kB / 0.8572 GB, free: 30 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.129e-05/0.4566, allocations: 116.2 kB / 0.8573 GB, free: 29.94 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.936e-05/0.4567, allocations: 73.08 kB / 0.8573 GB, free: 29.92 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 5.831e-05/0.4568, allocations: 348.6 kB / 0.8577 GB, free: 29.61 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001987/0.457, allocations: 210.4 kB / 0.8579 GB, free: 29.51 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002074/0.4572, allocations: 319.6 kB / 0.8582 GB, free: 29.28 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003354/0.4575, allocations: 428.3 kB / 0.8586 GB, free: 29.02 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.4575, allocations: 0 / 0.8586 GB, free: 29.02 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005117/0.458, allocations: 0.5513 MB / 0.8591 GB, free: 28.78 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.147e-05/0.4581, allocations: 91.92 kB / 0.8592 GB, free: 28.69 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.4581, allocations: 5.234 kB / 0.8592 GB, free: 28.69 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/0.4581, allocations: 5.281 kB / 0.8592 GB, free: 28.69 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001883/0.4583, allocations: 83.83 kB / 0.8593 GB, free: 28.68 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.4583, allocations: 6.641 kB / 0.8593 GB, free: 28.68 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001254/0.4584, allocations: 20.03 kB / 0.8593 GB, free: 28.68 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.506e-05/0.4584, allocations: 20.64 kB / 0.8593 GB, free: 28.68 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.0001956/0.4586, allocations: 217.3 kB / 0.8596 GB, free: 28.5 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.028e-05/0.4587, allocations: 35.38 kB / 0.8596 GB, free: 28.48 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.225e-05/0.4587, allocations: 34.89 kB / 0.8596 GB, free: 28.47 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.4587, allocations: 5.125 kB / 0.8596 GB, free: 28.46 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.4587, allocations: 1.312 kB / 0.8596 GB, free: 28.46 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.4587, allocations: 3.594 kB / 0.8596 GB, free: 28.46 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007107/0.4594, allocations: 0.7589 MB / 0.8604 GB, free: 28.1 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.4594, allocations: 0 / 0.8604 GB, free: 28.1 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000161/0.4596, allocations: 62.94 kB / 0.8604 GB, free: 28.1 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.4596, allocations: 1.312 kB / 0.8604 GB, free: 28.1 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.837e-05/0.4596, allocations: 10.45 kB / 0.8604 GB, free: 28.1 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.4596, allocations: 0 / 0.8604 GB, free: 28.1 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.4596, allocations: 1.922 kB / 0.8604 GB, free: 28.1 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005982/0.4602, allocations: 0.7307 MB / 0.8612 GB, free: 27.75 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.499e-05/0.4603, allocations: 25.45 kB / 0.8612 GB, free: 27.73 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.06e-05/0.4603, allocations: 16.86 kB / 0.8612 GB, free: 27.73 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.4604, allocations: 19.22 kB / 0.8612 GB, free: 27.73 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.762e-05/0.4605, allocations: 25.62 kB / 0.8612 GB, free: 27.73 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-05/0.4605, allocations: 11.41 kB / 0.8613 GB, free: 27.73 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001245/0.4606, allocations: 182.2 kB / 0.8614 GB, free: 27.65 MB / 490.8 MB Notification: Performance of sort global known variables: time 5e-08/0.4606, allocations: 1.281 kB / 0.8614 GB, free: 27.65 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002222/0.4609, allocations: 83.94 kB / 0.8615 GB, free: 27.65 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.0001012/0.461, allocations: 126.3 kB / 0.8616 GB, free: 27.56 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0004868/0.4615, allocations: 0.5607 MB / 0.8622 GB, free: 27.2 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.4615, allocations: 3.656 kB / 0.8622 GB, free: 27.2 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002064/0.4617, allocations: 301.8 kB / 0.8625 GB, free: 27.01 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003705/0.462, allocations: 89.86 kB / 0.8626 GB, free: 27 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00121/0.4632, allocations: 0.9634 MB / 0.8635 GB, free: 26.55 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001302/0.4634, allocations: 159.2 kB / 0.8636 GB, free: 26.47 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.636e-05/0.4634, allocations: 32.73 kB / 0.8637 GB, free: 26.46 MB / 490.8 MB Notification: Performance of SimCode: time 8.31e-07/0.4634, allocations: 2.906 kB / 0.8637 GB, free: 26.46 MB / 490.8 MB Notification: Performance of Templates: time 0.005943/0.4694, allocations: 4.011 MB / 0.8676 GB, free: 26.11 MB / 490.8 MB " [Timeout remaining time 660] 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 > Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V08A_XRayContrastMediaIodinated.V08AB02_Iohexol.Iohexol.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.3221049550920725]