Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V08A_XRayContrastMediaIodinated.V08AB04_Iopamidol.Iopamidol.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.001026/0.001026, allocations: 68.19 kB / 9.865 MB, free: 0.8242 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002519/0.003544, allocations: 443.8 kB / 10.3 MB, free: 400 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.001065/0.001065, allocations: 157.2 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001353/0.002418, allocations: 463.6 kB / 11.64 MB, free: 2.527 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.071/1.071, allocations: 177.2 MB / 189.5 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0921/1.163, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.7339/0.7339, allocations: 291.2 MB / 0.5226 GB, free: 52.92 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02947/0.7634, allocations: 21.04 MB / 0.5431 GB, free: 31.95 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.V08AB04_Iopamidol.Iopamidol,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V08A_XRayContrastMediaIodinated.V08AB04_Iopamidol.Iopamidol") translateModel(Pharmacolibrary.Drugs.V_Various.V08A_XRayContrastMediaIodinated.V08AB04_Iopamidol.Iopamidol,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V08A_XRayContrastMediaIodinated.V08AB04_Iopamidol.Iopamidol") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 0.5445 GB, free: 30.58 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.719e-05/2.921e-05, allocations: 6.25 kB / 0.5445 GB, free: 30.57 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.V_Various.V08A_XRayContrastMediaIodinated.V08AB04_Iopamidol.Iopamidol): time 0.004261/0.00429, allocations: 2.941 MB / 0.5473 GB, free: 27.62 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00736/0.01165, allocations: 6.767 MB / 0.554 GB, free: 20.84 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002396/0.01189, allocations: 0 / 0.554 GB, free: 20.84 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001329/0.01202, allocations: 43.52 kB / 0.554 GB, free: 20.8 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003866/0.01241, allocations: 123 kB / 0.5541 GB, free: 20.68 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002727/0.01268, allocations: 79.77 kB / 0.5542 GB, free: 20.6 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004745/0.01316, allocations: 393.9 kB / 0.5546 GB, free: 20.21 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001833/0.01334, allocations: 58.84 kB / 0.5546 GB, free: 20.16 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004204/0.01376, allocations: 254.5 kB / 0.5549 GB, free: 19.91 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002954/0.01406, allocations: 119.7 kB / 0.555 GB, free: 19.79 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.886e-05/0.01412, allocations: 24 kB / 0.555 GB, free: 19.77 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.076e-05/0.01419, allocations: 24 kB / 0.555 GB, free: 19.75 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.803e-05/0.01423, allocations: 47.75 kB / 0.5551 GB, free: 19.7 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001238/0.01436, allocations: 95.8 kB / 0.5552 GB, free: 19.61 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003032/0.01466, allocations: 199.3 kB / 0.5553 GB, free: 19.41 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.198e-05/0.01468, allocations: 0 / 0.5553 GB, free: 19.41 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.01468, allocations: 0 / 0.5553 GB, free: 19.41 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.168e-05/0.01471, allocations: 0 / 0.5553 GB, free: 19.41 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.0009603/0.01567, allocations: 0.6283 MB / 0.556 GB, free: 18.74 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.0157, allocations: 11.89 kB / 0.556 GB, free: 18.73 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.821e-05/0.01579, allocations: 36.91 kB / 0.556 GB, free: 18.7 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002563/0.01605, allocations: 201.4 kB / 0.5562 GB, free: 18.47 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.842e-05/0.01608, allocations: 20.75 kB / 0.5562 GB, free: 18.45 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.254e-05/0.01613, allocations: 24.33 kB / 0.5562 GB, free: 18.43 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003225/0.01645, allocations: 244 kB / 0.5565 GB, free: 18.16 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.154e-05/0.01647, allocations: 3.984 kB / 0.5565 GB, free: 18.16 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.976e-05/0.01649, allocations: 8 kB / 0.5565 GB, free: 18.15 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.0165, allocations: 4 kB / 0.5565 GB, free: 18.15 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001957/0.0167, allocations: 141.8 kB / 0.5566 GB, free: 18 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009577/0.01765, allocations: 0.5077 MB / 0.5571 GB, free: 17.46 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000282/0.01794, allocations: 157.3 kB / 0.5573 GB, free: 17.29 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.391e-05/0.01799, allocations: 100.5 kB / 0.5574 GB, free: 17.18 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.277e-05/0.018, allocations: 7.938 kB / 0.5574 GB, free: 17.17 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001963/0.0182, allocations: 322.5 kB / 0.5577 GB, free: 16.81 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 2.505e-06/0.0182, allocations: 0 / 0.5577 GB, free: 16.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.0007809/0.01898, allocations: 0.8092 MB / 0.5585 GB, free: 15.91 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.949e-05/0.01902, allocations: 213.6 kB / 0.5587 GB, free: 15.65 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.01913, allocations: 225 kB / 0.5589 GB, free: 15.42 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.01914, allocations: 37.7 kB / 0.5589 GB, free: 15.38 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.989e-05/0.01918, allocations: 141.2 kB / 0.5591 GB, free: 15.23 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.349e-05/0.01922, allocations: 119 kB / 0.5592 GB, free: 15.12 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.197e-05/0.01929, allocations: 78.09 kB / 0.5593 GB, free: 15.03 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.2225/0.2418, allocations: 351.2 kB / 0.5596 GB, free: 79.58 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001642/0.242, allocations: 140.4 kB / 0.5597 GB, free: 79.48 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.914e-05/0.2421, allocations: 249.1 kB / 0.56 GB, free: 79.25 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001739/0.2422, allocations: 342.4 kB / 0.5603 GB, free: 79 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.2423, allocations: 1.156 kB / 0.5603 GB, free: 79 MB / 410.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0002903/0.2425, allocations: 389 kB / 0.5607 GB, free: 78.78 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.115e-05/0.2426, allocations: 91.41 kB / 0.5607 GB, free: 78.68 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.2426, allocations: 2.219 kB / 0.5607 GB, free: 78.68 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.2426, allocations: 5.281 kB / 0.5608 GB, free: 78.68 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002895/0.2429, allocations: 108.7 kB / 0.5609 GB, free: 78.68 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.2429, allocations: 5.531 kB / 0.5609 GB, free: 78.68 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000128/0.243, allocations: 23.06 kB / 0.5609 GB, free: 78.68 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.682e-05/0.243, allocations: 13.34 kB / 0.5609 GB, free: 78.68 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.0001375/0.2432, allocations: 205.5 kB / 0.5611 GB, free: 78.5 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.032e-05/0.2432, allocations: 34.3 kB / 0.5611 GB, free: 78.5 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.581e-05/0.2433, allocations: 36.62 kB / 0.5612 GB, free: 78.5 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.2433, allocations: 3.406 kB / 0.5612 GB, free: 78.5 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.768e-06/0.2433, allocations: 1.719 kB / 0.5612 GB, free: 78.5 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.2433, allocations: 1.75 kB / 0.5612 GB, free: 78.5 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004471/0.2437, allocations: 0.5177 MB / 0.5617 GB, free: 78.19 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.2437, allocations: 0.8125 kB / 0.5617 GB, free: 78.19 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001951/0.2439, allocations: 76.7 kB / 0.5617 GB, free: 78.18 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.757e-05/0.2439, allocations: 24.95 kB / 0.5618 GB, free: 78.18 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.2439, allocations: 3.688 kB / 0.5618 GB, free: 78.18 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/0.244, allocations: 9.203 kB / 0.5618 GB, free: 78.18 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.244, allocations: 2.203 kB / 0.5618 GB, free: 78.18 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.244, allocations: 1.062 kB / 0.5618 GB, free: 78.18 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003085/0.2443, allocations: 0.5205 MB / 0.5623 GB, free: 77.86 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.305e-05/0.2443, allocations: 11.55 kB / 0.5623 GB, free: 77.86 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.869e-05/0.2444, allocations: 14.53 kB / 0.5623 GB, free: 77.86 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.552e-05/0.2445, allocations: 32.02 kB / 0.5623 GB, free: 77.86 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.2445, allocations: 8.297 kB / 0.5624 GB, free: 77.86 MB / 410.8 MB Notification: Performance of sorting global known variables: time 6.63e-05/0.2445, allocations: 82.36 kB / 0.5624 GB, free: 77.84 MB / 410.8 MB Notification: Performance of sort global known variables: time 4e-08/0.2445, allocations: 0.9375 kB / 0.5624 GB, free: 77.84 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002042/0.2447, allocations: 87.91 kB / 0.5625 GB, free: 77.84 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 9.197e-05/0.2448, allocations: 106.4 kB / 0.5626 GB, free: 77.77 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002522/0.2451, allocations: 489.3 kB / 0.5631 GB, free: 77.41 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.2451, allocations: 2.094 kB / 0.5631 GB, free: 77.41 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001156/0.2452, allocations: 259.7 kB / 0.5633 GB, free: 77.22 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003114/0.2455, allocations: 128.4 kB / 0.5635 GB, free: 77.21 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007947/0.2535, allocations: 0.7414 MB / 0.5642 GB, free: 76.84 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.03e-05/0.2536, allocations: 159.8 kB / 0.5643 GB, free: 76.76 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002068/0.2538, allocations: 153.1 kB / 0.5645 GB, free: 76.72 MB / 410.8 MB Notification: Performance of SimCode: time 6.41e-07/0.2538, allocations: 0 / 0.5645 GB, free: 76.72 MB / 410.8 MB Notification: Performance of Templates: time 0.003906/0.2577, allocations: 4.017 MB / 0.5684 GB, free: 76.03 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V08A_XRayContrastMediaIodinated.V08AB04_Iopamidol.Iopamidol.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V08A_XRayContrastMediaIodinated.V08AB04_Iopamidol.Iopamidol.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V08A_XRayContrastMediaIodinated.V08AB04_Iopamidol.Iopamidol.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V08A_XRayContrastMediaIodinated.V08AB04_Iopamidol.Iopamidol.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V08A_XRayContrastMediaIodinated.V08AB04_Iopamidol.Iopamidol.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V08A_XRayContrastMediaIodinated.V08AB04_Iopamidol.Iopamidol > Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V08A_XRayContrastMediaIodinated.V08AB04_Iopamidol.Iopamidol.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.594247662462294]