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.0009399/0.0009399, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001406/0.002346, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001136/0.001136, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001114/0.00225, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 0.9515/0.9515, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0968/1.048, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.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.8152/0.8152, allocations: 291.1 MB / 0.5227 GB, free: 52.48 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0412/0.8564, allocations: 21.05 MB / 0.5433 GB, free: 31.49 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: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 0.5447 GB, free: 30.04 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.442e-05/2.622e-05, allocations: 2.312 kB / 0.5447 GB, free: 30.04 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.V_Various.V08A_XRayContrastMediaIodinated.V08AB02_Iohexol.Iohexol): time 0.0042/0.004227, allocations: 2.951 MB / 0.5476 GB, free: 27.07 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.007437/0.01166, allocations: 6.778 MB / 0.5542 GB, free: 20.29 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002644/0.01193, allocations: 4 kB / 0.5542 GB, free: 20.28 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001197/0.01205, allocations: 43.56 kB / 0.5543 GB, free: 20.24 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002455/0.01229, allocations: 126.9 kB / 0.5544 GB, free: 20.11 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002018/0.01249, allocations: 67.84 kB / 0.5544 GB, free: 20.05 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002976/0.01279, allocations: 397.9 kB / 0.5548 GB, free: 19.66 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.01293, allocations: 70.78 kB / 0.5549 GB, free: 19.59 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002458/0.01317, allocations: 238.6 kB / 0.5551 GB, free: 19.36 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001854/0.01336, allocations: 123.7 kB / 0.5552 GB, free: 19.23 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.277e-05/0.01339, allocations: 27.94 kB / 0.5553 GB, free: 19.21 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.481e-05/0.01343, allocations: 28 kB / 0.5553 GB, free: 19.18 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.451e-05/0.01346, allocations: 35.88 kB / 0.5553 GB, free: 19.14 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.012e-05/0.01353, allocations: 95.81 kB / 0.5554 GB, free: 19.05 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001933/0.01373, allocations: 199.2 kB / 0.5556 GB, free: 18.86 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.103e-05/0.01374, allocations: 0 / 0.5556 GB, free: 18.86 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.01374, allocations: 0 / 0.5556 GB, free: 18.86 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.228e-06/0.01375, allocations: 4 kB / 0.5556 GB, free: 18.85 MB / 410.7 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.0006226/0.01437, allocations: 0.6321 MB / 0.5562 GB, free: 18.18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.949e-05/0.0144, allocations: 15.89 kB / 0.5562 GB, free: 18.16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.775e-05/0.01446, allocations: 40.16 kB / 0.5563 GB, free: 18.12 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001837/0.01464, allocations: 189.5 kB / 0.5565 GB, free: 17.91 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/0.01466, allocations: 16.75 kB / 0.5565 GB, free: 17.9 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.241e-05/0.01469, allocations: 24.33 kB / 0.5565 GB, free: 17.88 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002236/0.01492, allocations: 244.6 kB / 0.5567 GB, free: 17.61 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.01493, allocations: 4 kB / 0.5567 GB, free: 17.61 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.01494, allocations: 8 kB / 0.5567 GB, free: 17.6 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.01495, allocations: 4 kB / 0.5568 GB, free: 17.6 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001028/0.01505, allocations: 142.6 kB / 0.5569 GB, free: 17.45 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005628/0.01561, allocations: 0.5114 MB / 0.5574 GB, free: 16.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001795/0.01579, allocations: 164.1 kB / 0.5575 GB, free: 16.73 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.543e-05/0.01585, allocations: 96.48 kB / 0.5576 GB, free: 16.62 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.147e-05/0.01586, allocations: 7.938 kB / 0.5576 GB, free: 16.61 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001706/0.01603, allocations: 311.4 kB / 0.5579 GB, free: 16.26 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 1.443e-06/0.01603, allocations: 0 / 0.5579 GB, free: 16.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.0007416/0.01677, allocations: 0.8351 MB / 0.5588 GB, free: 15.33 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.835e-05/0.01682, allocations: 269 kB / 0.559 GB, free: 15.01 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2952/0.312, allocations: 226.5 kB / 0.5592 GB, free: 79.62 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 6.598e-05/0.3121, allocations: 34.45 kB / 0.5593 GB, free: 79.59 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.502e-05/0.3121, allocations: 135.9 kB / 0.5594 GB, free: 79.5 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.277e-05/0.3122, allocations: 118.3 kB / 0.5595 GB, free: 79.46 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.301e-05/0.3123, allocations: 74.23 kB / 0.5596 GB, free: 79.45 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 6.433e-05/0.3123, allocations: 348.1 kB / 0.5599 GB, free: 79.13 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/0.3125, allocations: 143.5 kB / 0.56 GB, free: 79.03 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/0.3126, allocations: 253.3 kB / 0.5603 GB, free: 78.8 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002102/0.3128, allocations: 346.4 kB / 0.5606 GB, free: 78.54 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.3128, allocations: 1.125 kB / 0.5606 GB, free: 78.54 MB / 410.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003181/0.3131, allocations: 383.1 kB / 0.561 GB, free: 78.32 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.755e-05/0.3132, allocations: 92.22 kB / 0.5611 GB, free: 78.23 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.3132, allocations: 6.422 kB / 0.5611 GB, free: 78.23 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.3132, allocations: 5.031 kB / 0.5611 GB, free: 78.23 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003143/0.3135, allocations: 102.3 kB / 0.5612 GB, free: 78.23 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.377e-06/0.3135, allocations: 10.45 kB / 0.5612 GB, free: 78.23 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000134/0.3136, allocations: 21.91 kB / 0.5612 GB, free: 78.23 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.09e-05/0.3137, allocations: 15.56 kB / 0.5612 GB, free: 78.23 MB / 410.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.0001693/0.3138, allocations: 206.8 kB / 0.5614 GB, free: 78.05 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.38e-05/0.3139, allocations: 38.5 kB / 0.5615 GB, free: 78.05 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.44e-05/0.3139, allocations: 31.31 kB / 0.5615 GB, free: 78.04 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.3139, allocations: 6.5 kB / 0.5615 GB, free: 78.04 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.3139, allocations: 0.5625 kB / 0.5615 GB, free: 78.04 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.3139, allocations: 1.266 kB / 0.5615 GB, free: 78.04 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005615/0.3145, allocations: 0.5247 MB / 0.562 GB, free: 77.73 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.3145, allocations: 1.125 kB / 0.562 GB, free: 77.73 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000253/0.3148, allocations: 72.8 kB / 0.5621 GB, free: 77.73 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.448e-05/0.3148, allocations: 24.53 kB / 0.5621 GB, free: 77.71 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.227e-06/0.3148, allocations: 2.375 kB / 0.5621 GB, free: 77.71 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.976e-05/0.3148, allocations: 11.56 kB / 0.5621 GB, free: 77.71 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.3148, allocations: 1.219 kB / 0.5621 GB, free: 77.71 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.3148, allocations: 1.203 kB / 0.5621 GB, free: 77.71 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004073/0.3152, allocations: 0.5205 MB / 0.5626 GB, free: 77.39 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.482e-05/0.3153, allocations: 14.7 kB / 0.5626 GB, free: 77.39 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.3154, allocations: 16.31 kB / 0.5627 GB, free: 77.39 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.303e-05/0.3154, allocations: 24.53 kB / 0.5627 GB, free: 77.39 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.3154, allocations: 10.81 kB / 0.5627 GB, free: 77.39 MB / 410.8 MB Notification: Performance of sorting global known variables: time 8.178e-05/0.3155, allocations: 82.92 kB / 0.5628 GB, free: 77.38 MB / 410.8 MB Notification: Performance of sort global known variables: time 4e-08/0.3155, allocations: 3.656 kB / 0.5628 GB, free: 77.38 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002324/0.3158, allocations: 83.47 kB / 0.5629 GB, free: 77.38 MB / 410.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.0001044/0.3159, allocations: 104.5 kB / 0.563 GB, free: 77.3 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0003113/0.3162, allocations: 488.1 kB / 0.5634 GB, free: 76.95 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.235e-05/0.3162, allocations: 3.844 kB / 0.5634 GB, free: 76.95 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001653/0.3164, allocations: 287.8 kB / 0.5637 GB, free: 76.75 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004164/0.3168, allocations: 0.6538 MB / 0.5643 GB, free: 76.11 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007408/0.3242, allocations: 0.7168 MB / 0.565 GB, free: 75.75 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.657e-05/0.3243, allocations: 99.09 kB / 0.5651 GB, free: 75.68 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0001615/0.3244, allocations: 34.12 kB / 0.5652 GB, free: 75.67 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002789/0.3247, allocations: 155.5 kB / 0.5653 GB, free: 75.62 MB / 410.8 MB Notification: Performance of SimCode: time 1.373e-06/0.3247, allocations: 0 / 0.5653 GB, free: 75.62 MB / 410.8 MB Notification: Performance of Templates: time 0.008932/0.3336, allocations: 5.28 MB / 0.5705 GB, free: 74.51 MB / 410.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 -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: 3.7442566752433777]