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.0009285/0.0009285, allocations: 68.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001257/0.002185, allocations: 455.9 kB / 10.35 MB, free: 348 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.0007372/0.0007372, allocations: 157.2 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009794/0.001717, allocations: 475.7 kB / 11.7 MB, free: 2.465 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.024/1.024, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1103/1.134, allocations: 53.67 MB / 243.3 MB, free: 15.57 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.8405/0.8405, allocations: 291.2 MB / 0.5227 GB, free: 52.7 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03748/0.878, allocations: 21.05 MB / 0.5433 GB, free: 31.72 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 2.205e-06/2.205e-06, allocations: 0 / 0.5447 GB, free: 30.3 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.504e-05/2.724e-05, allocations: 6.25 kB / 0.5447 GB, free: 30.29 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.V_Various.V08A_XRayContrastMediaIodinated.V08AB02_Iohexol.Iohexol): time 0.002828/0.002856, allocations: 2.943 MB / 0.5475 GB, free: 27.34 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004636/0.007491, allocations: 6.782 MB / 0.5542 GB, free: 20.54 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001178/0.007609, allocations: 4 kB / 0.5542 GB, free: 20.54 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.397e-05/0.007693, allocations: 39.58 kB / 0.5542 GB, free: 20.5 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001708/0.007864, allocations: 126.9 kB / 0.5543 GB, free: 20.38 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001518/0.008016, allocations: 71.84 kB / 0.5544 GB, free: 20.3 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002473/0.008263, allocations: 393.9 kB / 0.5548 GB, free: 19.92 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.008393, allocations: 62.78 kB / 0.5548 GB, free: 19.86 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002226/0.008616, allocations: 254.6 kB / 0.5551 GB, free: 19.61 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001949/0.00881, allocations: 119.7 kB / 0.5552 GB, free: 19.49 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.594e-05/0.008846, allocations: 24 kB / 0.5552 GB, free: 19.47 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.039e-05/0.008887, allocations: 24 kB / 0.5552 GB, free: 19.45 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.983e-05/0.008927, allocations: 43.75 kB / 0.5553 GB, free: 19.4 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.169e-05/0.009008, allocations: 95.81 kB / 0.5554 GB, free: 19.31 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002188/0.009227, allocations: 199.3 kB / 0.5555 GB, free: 19.11 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.754e-05/0.009245, allocations: 0 / 0.5555 GB, free: 19.11 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.009246, allocations: 0 / 0.5555 GB, free: 19.11 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.588e-05/0.009262, allocations: 0 / 0.5555 GB, free: 19.11 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.0006561/0.009918, allocations: 0.6321 MB / 0.5562 GB, free: 18.44 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.063e-05/0.009948, allocations: 11.89 kB / 0.5562 GB, free: 18.43 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.891e-05/0.009997, allocations: 40.91 kB / 0.5562 GB, free: 18.39 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001669/0.01016, allocations: 193.5 kB / 0.5564 GB, free: 18.17 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/0.01018, allocations: 16.75 kB / 0.5564 GB, free: 18.16 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.035e-05/0.01021, allocations: 24.33 kB / 0.5564 GB, free: 18.13 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000199/0.01041, allocations: 244.7 kB / 0.5567 GB, free: 17.87 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.01043, allocations: 3.984 kB / 0.5567 GB, free: 17.87 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.01044, allocations: 8 kB / 0.5567 GB, free: 17.86 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.381e-06/0.01044, allocations: 8 kB / 0.5567 GB, free: 17.85 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001105/0.01055, allocations: 138.5 kB / 0.5568 GB, free: 17.7 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005422/0.0111, allocations: 0.5114 MB / 0.5573 GB, free: 17.17 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001714/0.01127, allocations: 156.8 kB / 0.5575 GB, free: 16.99 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.87e-05/0.01132, allocations: 100.5 kB / 0.5576 GB, free: 16.88 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.869e-06/0.01133, allocations: 7.938 kB / 0.5576 GB, free: 16.87 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001735/0.0115, allocations: 330.4 kB / 0.5579 GB, free: 16.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 1.433e-06/0.0115, allocations: 0 / 0.5579 GB, free: 16.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.0008262/0.01233, allocations: 0.8136 MB / 0.5587 GB, free: 15.6 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.007e-05/0.01238, allocations: 277 kB / 0.559 GB, free: 15.27 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.01248, allocations: 229 kB / 0.5592 GB, free: 15.03 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.0125, allocations: 33.7 kB / 0.5592 GB, free: 14.99 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.3337/0.3462, allocations: 130.1 kB / 0.5593 GB, free: 79.96 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.000144/0.3464, allocations: 117.8 kB / 0.5594 GB, free: 79.91 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.3465, allocations: 75.5 kB / 0.5595 GB, free: 79.9 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.309e-05/0.3465, allocations: 345 kB / 0.5598 GB, free: 79.59 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000142/0.3467, allocations: 148.6 kB / 0.56 GB, free: 79.48 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001318/0.3468, allocations: 253.5 kB / 0.5602 GB, free: 79.26 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002666/0.3471, allocations: 342.6 kB / 0.5605 GB, free: 79 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.3471, allocations: 0 / 0.5605 GB, free: 79 MB / 410.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003731/0.3474, allocations: 388 kB / 0.5609 GB, free: 78.78 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.655e-05/0.3475, allocations: 92.28 kB / 0.561 GB, free: 78.69 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.3475, allocations: 3.938 kB / 0.561 GB, free: 78.69 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.3475, allocations: 4.312 kB / 0.561 GB, free: 78.69 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003735/0.3479, allocations: 107.6 kB / 0.5611 GB, free: 78.69 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.906e-06/0.3479, allocations: 8.938 kB / 0.5611 GB, free: 78.69 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001643/0.3481, allocations: 22.09 kB / 0.5611 GB, free: 78.69 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.278e-05/0.3481, allocations: 13.88 kB / 0.5612 GB, free: 78.69 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.000172/0.3483, allocations: 206.3 kB / 0.5614 GB, free: 78.51 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.255e-05/0.3483, allocations: 34.31 kB / 0.5614 GB, free: 78.51 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.735e-05/0.3484, allocations: 34.97 kB / 0.5614 GB, free: 78.5 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.3484, allocations: 4.531 kB / 0.5614 GB, free: 78.5 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.3484, allocations: 1.5 kB / 0.5614 GB, free: 78.5 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.281e-06/0.3484, allocations: 1.078 kB / 0.5614 GB, free: 78.5 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005484/0.3489, allocations: 0.5225 MB / 0.5619 GB, free: 78.19 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.3489, allocations: 0.9062 kB / 0.5619 GB, free: 78.19 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002532/0.3492, allocations: 72.64 kB / 0.562 GB, free: 78.18 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.436e-05/0.3492, allocations: 27.94 kB / 0.562 GB, free: 78.17 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.624e-06/0.3492, allocations: 1.812 kB / 0.562 GB, free: 78.17 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.041e-05/0.3493, allocations: 10.72 kB / 0.562 GB, free: 78.17 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.3493, allocations: 1.688 kB / 0.5621 GB, free: 78.17 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3493, allocations: 0.875 kB / 0.5621 GB, free: 78.17 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004012/0.3497, allocations: 0.5258 MB / 0.5626 GB, free: 77.84 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.875e-05/0.3497, allocations: 10.36 kB / 0.5626 GB, free: 77.84 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001299/0.3498, allocations: 16.47 kB / 0.5626 GB, free: 77.84 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.306e-05/0.3499, allocations: 25.56 kB / 0.5626 GB, free: 77.84 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.78e-05/0.3499, allocations: 16.48 kB / 0.5626 GB, free: 77.84 MB / 410.8 MB Notification: Performance of sorting global known variables: time 8.191e-05/0.35, allocations: 78.3 kB / 0.5627 GB, free: 77.82 MB / 410.8 MB Notification: Performance of sort global known variables: time 6e-08/0.35, allocations: 1.156 kB / 0.5627 GB, free: 77.82 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002861/0.3503, allocations: 83.86 kB / 0.5628 GB, free: 77.82 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.0004383/0.3507, allocations: 103.2 kB / 0.5629 GB, free: 77.75 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0003462/0.3511, allocations: 496.6 kB / 0.5634 GB, free: 77.39 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.25e-05/0.3511, allocations: 3.438 kB / 0.5634 GB, free: 77.39 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001893/0.3513, allocations: 272.5 kB / 0.5636 GB, free: 77.2 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004284/0.3517, allocations: 126 kB / 0.5637 GB, free: 77.2 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01045/0.3621, allocations: 0.7347 MB / 0.5645 GB, free: 76.83 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.991e-05/0.3622, allocations: 96.36 kB / 0.5646 GB, free: 76.75 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.000119/0.3623, allocations: 33.92 kB / 0.5646 GB, free: 76.75 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000212/0.3625, allocations: 148.2 kB / 0.5647 GB, free: 76.7 MB / 410.8 MB Notification: Performance of SimCode: time 6.12e-07/0.3625, allocations: 0 / 0.5647 GB, free: 76.7 MB / 410.8 MB Notification: Performance of Templates: time 0.0091/0.3716, allocations: 5.259 MB / 0.5699 GB, free: 75.59 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.9328722581267357]