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.001086/0.001086, allocations: 92.52 kB / 19.94 MB, free: 4.602 MB / 18.57 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.001173/0.001173, allocations: 169.9 kB / 23.21 MB, free: 1.332 MB / 18.57 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.9436/0.9436, allocations: 177.1 MB / 203.5 MB, free: 5.762 MB / 186.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.7299/0.7299, allocations: 291.1 MB / 0.5382 GB, free: 51.9 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.994e-06/1.994e-06, allocations: 0 / 0.6974 GB, free: 10.4 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.553e-05/2.752e-05, allocations: 18.16 kB / 0.6974 GB, free: 10.38 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.V_Various.V08A_XRayContrastMediaIodinated.V08AB02_Iohexol.Iohexol): time 0.002531/0.002559, allocations: 2.702 MB / 0.7 GB, free: 7.668 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.004646/0.007205, allocations: 6.611 MB / 0.7065 GB, free: 1.047 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001119/0.007317, allocations: 4 kB / 0.7065 GB, free: 1.043 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.000105/0.007422, allocations: 35.58 kB / 0.7065 GB, free: 1.008 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001804/0.007602, allocations: 127 kB / 0.7066 GB, free: 0.8828 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001851/0.007787, allocations: 67.89 kB / 0.7067 GB, free: 0.8164 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002309/0.008018, allocations: 393.9 kB / 0.7071 GB, free: 440 kB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001364/0.008155, allocations: 60.81 kB / 0.7071 GB, free: 384 kB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001486/0.008303, allocations: 207.5 kB / 0.7073 GB, free: 176 kB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001707/0.008474, allocations: 119.6 kB / 0.7074 GB, free: 56 kB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.941e-05/0.008503, allocations: 24 kB / 0.7075 GB, free: 32 kB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.762e-05/0.008531, allocations: 24 kB / 0.7075 GB, free: 8 kB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 5.518e-05/0.008586, allocations: 55.89 kB / 0.7075 GB, free: 15.95 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.000268/0.008854, allocations: 119.7 kB / 0.7076 GB, free: 15.83 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003617/0.009216, allocations: 295 kB / 0.7079 GB, free: 15.55 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.00922, allocations: 0 / 0.7079 GB, free: 15.55 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.974e-06/0.009222, allocations: 4 kB / 0.7079 GB, free: 15.54 MB / 426.8 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.009231, allocations: 0 / 0.7079 GB, free: 15.54 MB / 426.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.0008698/0.0101, allocations: 0.5924 MB / 0.7085 GB, free: 14.9 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.01014, allocations: 12.03 kB / 0.7085 GB, free: 14.89 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.692e-05/0.01021, allocations: 32.75 kB / 0.7086 GB, free: 14.86 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002609/0.01047, allocations: 216.7 kB / 0.7088 GB, free: 14.62 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.832e-05/0.0105, allocations: 16.75 kB / 0.7088 GB, free: 14.61 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.442e-05/0.01054, allocations: 24.38 kB / 0.7088 GB, free: 14.58 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003681/0.01091, allocations: 292.5 kB / 0.7091 GB, free: 14.27 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.01093, allocations: 3.953 kB / 0.7091 GB, free: 14.27 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.221e-05/0.01095, allocations: 15.98 kB / 0.7091 GB, free: 14.25 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.01096, allocations: 4 kB / 0.7091 GB, free: 14.25 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002966/0.01125, allocations: 232.4 kB / 0.7093 GB, free: 14.01 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000882/0.01213, allocations: 0.6679 MB / 0.71 GB, free: 13.3 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003788/0.01251, allocations: 254.7 kB / 0.7102 GB, free: 13.03 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001468/0.01266, allocations: 144.5 kB / 0.7104 GB, free: 12.87 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.23e-05/0.01267, allocations: 0 / 0.7104 GB, free: 12.87 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003509/0.01302, allocations: 362.2 kB / 0.7107 GB, free: 12.47 MB / 426.8 MB Notification: Performance of pre-optimization done (n=32): time 2.274e-06/0.01303, allocations: 0 / 0.7107 GB, free: 12.47 MB / 426.8 MB Notification: Performance of matching and sorting (n=34): time 0.001497/0.01452, allocations: 1.092 MB / 0.7118 GB, free: 11.29 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.282e-05/0.01462, allocations: 217.6 kB / 0.712 GB, free: 11.03 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002024/0.01482, allocations: 249.9 kB / 0.7122 GB, free: 10.78 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 2.569e-05/0.01484, allocations: 37.64 kB / 0.7122 GB, free: 10.73 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.812e-05/0.01494, allocations: 156.8 kB / 0.7124 GB, free: 10.57 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.028e-05/0.01501, allocations: 115 kB / 0.7125 GB, free: 10.46 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.989e-05/0.0151, allocations: 74.2 kB / 0.7126 GB, free: 10.38 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.01521, allocations: 342.7 kB / 0.7129 GB, free: 10.04 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002133/0.01542, allocations: 207.9 kB / 0.7131 GB, free: 9.812 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002405/0.01566, allocations: 311.2 kB / 0.7134 GB, free: 9.449 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000393/0.01606, allocations: 435.3 kB / 0.7138 GB, free: 8.957 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.01606, allocations: 0 / 0.7138 GB, free: 8.957 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005422/0.0166, allocations: 0.5497 MB / 0.7144 GB, free: 8.363 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.202e-05/0.01665, allocations: 93.44 kB / 0.7144 GB, free: 8.254 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.01666, allocations: 8 kB / 0.7144 GB, free: 8.246 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.01668, allocations: 4 kB / 0.7145 GB, free: 8.242 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001703/0.01685, allocations: 75.83 kB / 0.7145 GB, free: 8.168 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.829e-06/0.01686, allocations: 8 kB / 0.7145 GB, free: 8.16 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001159/0.01697, allocations: 19.98 kB / 0.7146 GB, free: 8.141 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.898e-05/0.01699, allocations: 20 kB / 0.7146 GB, free: 8.121 MB / 426.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.0001938/0.01719, allocations: 229.1 kB / 0.7148 GB, free: 7.875 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.962e-05/0.01722, allocations: 31.81 kB / 0.7148 GB, free: 7.844 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.965e-05/0.01726, allocations: 26.97 kB / 0.7148 GB, free: 7.816 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.01726, allocations: 4 kB / 0.7148 GB, free: 7.812 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.01727, allocations: 3.984 kB / 0.7149 GB, free: 7.809 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.01727, allocations: 0 / 0.7149 GB, free: 7.809 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007572/0.01803, allocations: 0.7561 MB / 0.7156 GB, free: 6.992 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.01803, allocations: 4 kB / 0.7156 GB, free: 6.988 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001493/0.01818, allocations: 59.89 kB / 0.7157 GB, free: 6.93 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.01818, allocations: 4 kB / 0.7157 GB, free: 6.926 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/0.0182, allocations: 8 kB / 0.7157 GB, free: 6.918 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.0182, allocations: 0 / 0.7157 GB, free: 6.918 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.0182, allocations: 7.938 kB / 0.7157 GB, free: 6.91 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006412/0.01885, allocations: 0.7229 MB / 0.7164 GB, free: 6.129 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.677e-05/0.01888, allocations: 27.88 kB / 0.7164 GB, free: 6.102 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.835e-05/0.01892, allocations: 8.125 kB / 0.7164 GB, free: 6.094 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.902e-05/0.01902, allocations: 27.98 kB / 0.7164 GB, free: 6.066 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.859e-05/0.0191, allocations: 35.81 kB / 0.7165 GB, free: 6.031 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.01911, allocations: 12 kB / 0.7165 GB, free: 6.02 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001779/0.01929, allocations: 177.2 kB / 0.7167 GB, free: 5.848 MB / 426.8 MB Notification: Performance of sort global known variables: time 4.31e-07/0.01929, allocations: 0 / 0.7167 GB, free: 5.848 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0002456/0.01954, allocations: 88 kB / 0.7167 GB, free: 5.762 MB / 426.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.0001224/0.01966, allocations: 125.5 kB / 0.7169 GB, free: 5.637 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0004925/0.02015, allocations: 0.5609 MB / 0.7174 GB, free: 5.008 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.02015, allocations: 0 / 0.7174 GB, free: 5.008 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002207/0.02037, allocations: 309.5 kB / 0.7177 GB, free: 4.672 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000361/0.02074, allocations: 93.09 kB / 0.7178 GB, free: 4.582 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.02178, allocations: 0.8125 MB / 0.7186 GB, free: 3.727 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001033/0.02188, allocations: 164.3 kB / 0.7187 GB, free: 3.543 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.125e-05/0.02195, allocations: 28.5 kB / 0.7188 GB, free: 3.516 MB / 426.8 MB Notification: Performance of SimCode: time 6.11e-07/0.02195, allocations: 0 / 0.7188 GB, free: 3.516 MB / 426.8 MB Notification: Performance of Templates: time 0.203/0.225, allocations: 4.014 MB / 0.7227 GB, free: 36.89 MB / 426.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: 5.709274848923087]