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.0008867/0.0008867, allocations: 68.19 kB / 9.865 MB, free: 0.8242 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001201/0.002087, 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.000914/0.000914, allocations: 157.2 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001179/0.002093, 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.004/1.004, allocations: 177.2 MB / 189.5 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1509/1.155, 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.7979/0.7979, allocations: 291.2 MB / 0.5226 GB, free: 52.92 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03315/0.831, allocations: 21.03 MB / 0.5431 GB, free: 31.96 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.563e-06/1.563e-06, allocations: 0 / 0.5445 GB, free: 30.57 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.604e-05/1.76e-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.V08AB02_Iohexol.Iohexol): time 0.002923/0.00294, allocations: 2.949 MB / 0.5474 GB, free: 27.61 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01113/0.01407, allocations: 6.751 MB / 0.5539 GB, free: 20.84 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001403/0.01421, allocations: 0 / 0.5539 GB, free: 20.84 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 9.592e-05/0.0143, allocations: 55.48 kB / 0.554 GB, free: 20.79 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002311/0.01453, allocations: 119 kB / 0.5541 GB, free: 20.67 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001866/0.01472, allocations: 79.77 kB / 0.5542 GB, free: 20.59 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003032/0.01502, allocations: 393.9 kB / 0.5546 GB, free: 20.21 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.01516, allocations: 58.84 kB / 0.5546 GB, free: 20.15 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0033/0.01846, allocations: 250.5 kB / 0.5549 GB, free: 19.91 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002055/0.01866, allocations: 119.7 kB / 0.555 GB, free: 19.79 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.674e-05/0.0187, allocations: 24 kB / 0.555 GB, free: 19.77 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.431e-05/0.01874, allocations: 24 kB / 0.555 GB, free: 19.75 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.856e-05/0.01878, allocations: 51.75 kB / 0.5551 GB, free: 19.7 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.423e-05/0.01888, allocations: 91.81 kB / 0.5552 GB, free: 19.61 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002286/0.01911, allocations: 203.3 kB / 0.5554 GB, free: 19.41 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.773e-05/0.01912, allocations: 0 / 0.5554 GB, free: 19.41 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.01912, allocations: 0 / 0.5554 GB, free: 19.41 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.356e-05/0.01914, allocations: 0 / 0.5554 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.0007404/0.01988, allocations: 0.6244 MB / 0.556 GB, free: 18.74 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.01991, allocations: 19.89 kB / 0.556 GB, free: 18.72 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.329e-05/0.01997, allocations: 32.91 kB / 0.556 GB, free: 18.69 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002004/0.02017, allocations: 205.4 kB / 0.5562 GB, free: 18.46 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.534e-05/0.0202, allocations: 16.75 kB / 0.5562 GB, free: 18.45 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.468e-05/0.02023, allocations: 28.33 kB / 0.5563 GB, free: 18.42 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002363/0.02047, allocations: 240 kB / 0.5565 GB, free: 18.16 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.02049, allocations: 0 / 0.5565 GB, free: 18.16 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.74e-05/0.0205, allocations: 15.98 kB / 0.5565 GB, free: 18.14 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.02051, allocations: 4 kB / 0.5565 GB, free: 18.14 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000134/0.02064, allocations: 141.8 kB / 0.5566 GB, free: 17.99 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00367/0.02431, allocations: 0.5038 MB / 0.5571 GB, free: 17.46 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002091/0.02452, allocations: 157.3 kB / 0.5573 GB, free: 17.29 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.238e-05/0.02458, allocations: 96.48 kB / 0.5574 GB, free: 17.18 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.248e-05/0.0246, allocations: 7.938 kB / 0.5574 GB, free: 17.17 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002106/0.02481, allocations: 330.5 kB / 0.5577 GB, free: 16.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 1.743e-06/0.02481, allocations: 0 / 0.5577 GB, free: 16.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.0008248/0.02563, allocations: 0.8014 MB / 0.5585 GB, free: 15.91 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.944e-05/0.02568, allocations: 221.6 kB / 0.5587 GB, free: 15.64 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.02581, allocations: 225 kB / 0.5589 GB, free: 15.41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.02583, allocations: 37.7 kB / 0.5589 GB, free: 15.37 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.378e-05/0.02587, allocations: 137.3 kB / 0.5591 GB, free: 15.23 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.975e-05/0.02593, allocations: 123 kB / 0.5592 GB, free: 15.11 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.909e-05/0.02601, allocations: 74.09 kB / 0.5593 GB, free: 15.03 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.266/0.292, allocations: 349.3 kB / 0.5596 GB, free: 79.59 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002151/0.2922, allocations: 140.2 kB / 0.5597 GB, free: 79.49 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001107/0.2923, allocations: 251.5 kB / 0.56 GB, free: 79.26 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002149/0.2926, allocations: 344.5 kB / 0.5603 GB, free: 79.01 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.2926, allocations: 1.094 kB / 0.5603 GB, free: 79.01 MB / 410.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003265/0.2929, allocations: 387.8 kB / 0.5607 GB, free: 78.79 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.614e-05/0.2929, allocations: 91.2 kB / 0.5607 GB, free: 78.69 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/0.293, allocations: 3.703 kB / 0.5608 GB, free: 78.69 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.293, allocations: 4.75 kB / 0.5608 GB, free: 78.69 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003113/0.2933, allocations: 108.3 kB / 0.5609 GB, free: 78.69 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.066e-06/0.2933, allocations: 5.141 kB / 0.5609 GB, free: 78.69 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001337/0.2934, allocations: 23.47 kB / 0.5609 GB, free: 78.69 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.98e-05/0.2934, allocations: 12.33 kB / 0.5609 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.0001813/0.2936, allocations: 204.4 kB / 0.5611 GB, free: 78.51 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.22e-05/0.2937, allocations: 35.64 kB / 0.5611 GB, free: 78.51 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.014e-05/0.2937, allocations: 35.41 kB / 0.5612 GB, free: 78.5 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.2937, allocations: 2.906 kB / 0.5612 GB, free: 78.5 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.2937, allocations: 0.625 kB / 0.5612 GB, free: 78.5 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.2937, allocations: 2.656 kB / 0.5612 GB, free: 78.5 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005136/0.2942, allocations: 0.5185 MB / 0.5617 GB, free: 78.2 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.2942, allocations: 2.438 kB / 0.5617 GB, free: 78.2 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002064/0.2944, allocations: 71.05 kB / 0.5617 GB, free: 78.19 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.079e-05/0.2945, allocations: 27.22 kB / 0.5618 GB, free: 78.19 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.2945, allocations: 1.75 kB / 0.5618 GB, free: 78.19 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/0.2945, allocations: 12.73 kB / 0.5618 GB, free: 78.19 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.2945, allocations: 2.922 kB / 0.5618 GB, free: 78.19 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.2945, allocations: 0.6562 kB / 0.5618 GB, free: 78.19 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003677/0.2949, allocations: 0.5209 MB / 0.5623 GB, free: 77.86 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.664e-05/0.2949, allocations: 10.41 kB / 0.5623 GB, free: 77.86 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.968e-05/0.295, allocations: 16.12 kB / 0.5623 GB, free: 77.86 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.822e-05/0.2951, allocations: 33.48 kB / 0.5624 GB, free: 77.86 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.501e-05/0.2951, allocations: 8.797 kB / 0.5624 GB, free: 77.86 MB / 410.8 MB Notification: Performance of sorting global known variables: time 7.904e-05/0.2952, allocations: 82.59 kB / 0.5624 GB, free: 77.85 MB / 410.8 MB Notification: Performance of sort global known variables: time 6e-08/0.2952, allocations: 2.469 kB / 0.5624 GB, free: 77.85 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.000209/0.2954, allocations: 83.41 kB / 0.5625 GB, free: 77.85 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.0001079/0.2955, allocations: 100.4 kB / 0.5626 GB, free: 77.78 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002957/0.2958, allocations: 492.6 kB / 0.5631 GB, free: 77.42 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.2958, allocations: 3.25 kB / 0.5631 GB, free: 77.42 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001372/0.2959, allocations: 260.5 kB / 0.5633 GB, free: 77.23 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003174/0.2963, allocations: 128.4 kB / 0.5635 GB, free: 77.22 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007595/0.3039, allocations: 0.7364 MB / 0.5642 GB, free: 76.85 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.664e-05/0.3039, allocations: 158.7 kB / 0.5643 GB, free: 76.77 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000217/0.3042, allocations: 162.4 kB / 0.5645 GB, free: 76.73 MB / 410.8 MB Notification: Performance of SimCode: time 7.62e-07/0.3042, allocations: 0 / 0.5645 GB, free: 76.73 MB / 410.8 MB Notification: Performance of Templates: time 0.004402/0.3086, allocations: 4.017 MB / 0.5684 GB, free: 76.04 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 > Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V08A_XRayContrastMediaIodinated.V08AB02_Iohexol.Iohexol.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.510888185352087]