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.002428/0.002428, allocations: 84.44 kB / 19.17 MB, free: 0.7383 MB / 13.93 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.002797/0.002797, allocations: 174.3 kB / 22.46 MB, free: 2.102 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 1.632/1.632, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 178] 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 1.476/1.476, allocations: 293 MB / 0.5392 GB, free: 49.81 MB / 410.7 MB " [Timeout remaining time 178] 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.382e-06/1.382e-06, allocations: 0 / 0.6999 GB, free: 8.605 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.072e-05/3.21e-05, allocations: 9.094 kB / 0.6999 GB, free: 8.598 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.V_Various.V08A_XRayContrastMediaIodinated.V08AB02_Iohexol.Iohexol): time 0.003478/0.00351, allocations: 2.713 MB / 0.7026 GB, free: 5.867 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.006649/0.01016, allocations: 6.608 MB / 0.709 GB, free: 15.25 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002087/0.01037, allocations: 4 kB / 0.709 GB, free: 15.25 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001896/0.01056, allocations: 43.5 kB / 0.7091 GB, free: 15.2 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003972/0.01095, allocations: 130.9 kB / 0.7092 GB, free: 15.07 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003171/0.01127, allocations: 67.91 kB / 0.7093 GB, free: 15.01 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0005207/0.01179, allocations: 397.8 kB / 0.7096 GB, free: 14.62 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001915/0.01198, allocations: 52.91 kB / 0.7097 GB, free: 14.57 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003061/0.01229, allocations: 207.5 kB / 0.7099 GB, free: 14.37 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002971/0.01259, allocations: 123.5 kB / 0.71 GB, free: 14.25 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 5.338e-05/0.01264, allocations: 24 kB / 0.71 GB, free: 14.22 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.757e-05/0.0127, allocations: 24 kB / 0.7101 GB, free: 14.2 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 8.204e-05/0.01278, allocations: 59.7 kB / 0.7101 GB, free: 14.14 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001694/0.01295, allocations: 111.8 kB / 0.7102 GB, free: 14.03 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0004534/0.0134, allocations: 299 kB / 0.7105 GB, free: 13.74 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.01341, allocations: 0 / 0.7105 GB, free: 13.74 MB / 426.8 MB Notification: Performance of FrontEnd: time 3.707e-06/0.01341, allocations: 0 / 0.7105 GB, free: 13.74 MB / 426.8 MB Notification: Performance of Transformations before backend: time 8.285e-06/0.01342, allocations: 4 kB / 0.7105 GB, free: 13.73 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.00132/0.01474, allocations: 0.5924 MB / 0.7111 GB, free: 13.09 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.01479, allocations: 12.03 kB / 0.7111 GB, free: 13.08 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.32e-05/0.01488, allocations: 32.75 kB / 0.7111 GB, free: 13.05 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003675/0.01525, allocations: 212.7 kB / 0.7113 GB, free: 12.82 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.003e-05/0.01528, allocations: 12.75 kB / 0.7113 GB, free: 12.8 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.054e-05/0.01534, allocations: 28.38 kB / 0.7114 GB, free: 12.78 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006016/0.01594, allocations: 288.5 kB / 0.7116 GB, free: 12.47 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.51e-05/0.01597, allocations: 11.89 kB / 0.7117 GB, free: 12.46 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.873e-05/0.016, allocations: 8 kB / 0.7117 GB, free: 12.45 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.016, allocations: 4 kB / 0.7117 GB, free: 12.45 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005437/0.01655, allocations: 236.4 kB / 0.7119 GB, free: 12.2 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001415/0.01796, allocations: 0.6795 MB / 0.7126 GB, free: 11.48 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006266/0.01859, allocations: 234.1 kB / 0.7128 GB, free: 11.23 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002895/0.01888, allocations: 148.4 kB / 0.7129 GB, free: 11.07 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.0189, allocations: 4 kB / 0.7129 GB, free: 11.07 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006041/0.0195, allocations: 362.2 kB / 0.7133 GB, free: 10.66 MB / 426.8 MB Notification: Performance of pre-optimization done (n=32): time 1.954e-06/0.0195, allocations: 3.938 kB / 0.7133 GB, free: 10.66 MB / 426.8 MB Notification: Performance of matching and sorting (n=34): time 0.002305/0.02181, allocations: 1.072 MB / 0.7143 GB, free: 9.496 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001805/0.02199, allocations: 225.6 kB / 0.7145 GB, free: 9.227 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003072/0.02229, allocations: 249.8 kB / 0.7148 GB, free: 8.977 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 3.755e-05/0.02233, allocations: 33.7 kB / 0.7148 GB, free: 8.938 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001409/0.02247, allocations: 152.9 kB / 0.715 GB, free: 8.781 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001185/0.02259, allocations: 115.1 kB / 0.7151 GB, free: 8.668 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001294/0.02272, allocations: 70.19 kB / 0.7151 GB, free: 8.59 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001939/0.02292, allocations: 346.7 kB / 0.7155 GB, free: 8.242 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003638/0.02328, allocations: 207.9 kB / 0.7157 GB, free: 8.02 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004516/0.02373, allocations: 311.2 kB / 0.716 GB, free: 7.656 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000684/0.02441, allocations: 435.3 kB / 0.7164 GB, free: 7.164 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.02442, allocations: 0 / 0.7164 GB, free: 7.164 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009539/0.02537, allocations: 0.5497 MB / 0.7169 GB, free: 6.57 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.95e-05/0.02546, allocations: 89.11 kB / 0.717 GB, free: 6.465 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.02547, allocations: 4.344 kB / 0.717 GB, free: 6.461 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.256e-05/0.02549, allocations: 8 kB / 0.717 GB, free: 6.453 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000319/0.02581, allocations: 83.77 kB / 0.7171 GB, free: 6.371 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.476e-05/0.02583, allocations: 7.984 kB / 0.7171 GB, free: 6.363 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002245/0.02605, allocations: 19.98 kB / 0.7171 GB, free: 6.344 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.775e-05/0.02609, allocations: 20 kB / 0.7171 GB, free: 6.324 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.0003039/0.02639, allocations: 230.8 kB / 0.7174 GB, free: 6.078 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.297e-05/0.02646, allocations: 31.81 kB / 0.7174 GB, free: 6.047 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.592e-05/0.02653, allocations: 34.89 kB / 0.7174 GB, free: 6.012 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.02654, allocations: 7.938 kB / 0.7174 GB, free: 6.004 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.377e-06/0.02655, allocations: 4 kB / 0.7174 GB, free: 6 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/0.02656, allocations: 3.984 kB / 0.7174 GB, free: 5.996 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001287/0.02784, allocations: 0.7561 MB / 0.7182 GB, free: 5.18 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.02785, allocations: 4 kB / 0.7182 GB, free: 5.176 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002892/0.02814, allocations: 55.91 kB / 0.7182 GB, free: 5.121 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.02814, allocations: 4 kB / 0.7182 GB, free: 5.117 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.07e-05/0.02817, allocations: 11.98 kB / 0.7182 GB, free: 5.105 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.02817, allocations: 0 / 0.7182 GB, free: 5.105 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.02817, allocations: 7.938 kB / 0.7182 GB, free: 5.098 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001251/0.02943, allocations: 0.7191 MB / 0.719 GB, free: 4.32 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.346e-05/0.02948, allocations: 27.8 kB / 0.719 GB, free: 4.293 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.643e-05/0.02953, allocations: 8.062 kB / 0.719 GB, free: 4.285 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002125/0.02975, allocations: 23.98 kB / 0.719 GB, free: 4.262 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/0.02986, allocations: 31.89 kB / 0.719 GB, free: 4.23 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.702e-05/0.02988, allocations: 11.98 kB / 0.719 GB, free: 4.219 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.000212/0.0301, allocations: 177.2 kB / 0.7192 GB, free: 4.047 MB / 426.8 MB Notification: Performance of sort global known variables: time 5e-08/0.0301, allocations: 0 / 0.7192 GB, free: 4.047 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0003712/0.03047, allocations: 88 kB / 0.7193 GB, free: 3.961 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.0001778/0.03065, allocations: 122.9 kB / 0.7194 GB, free: 3.836 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0009749/0.03162, allocations: 0.5648 MB / 0.72 GB, free: 3.203 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.03162, allocations: 0 / 0.72 GB, free: 3.203 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.2584/0.2901, allocations: 294.9 kB / 0.7203 GB, free: 37.17 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007712/0.2908, allocations: 96.42 kB / 0.7203 GB, free: 37.17 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001593/0.2924, allocations: 0.791 MB / 0.7211 GB, free: 36.77 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001582/0.2926, allocations: 159.7 kB / 0.7213 GB, free: 36.7 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0001456/0.2927, allocations: 36.36 kB / 0.7213 GB, free: 36.69 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.955e-05/0.2928, allocations: 29.95 kB / 0.7213 GB, free: 36.68 MB / 426.8 MB Notification: Performance of SimCode: time 1.513e-06/0.2928, allocations: 0 / 0.7213 GB, free: 36.68 MB / 426.8 MB Notification: Performance of Templates: time 0.01244/0.3052, allocations: 4.545 MB / 0.7258 GB, free: 36.26 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 -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: 7.1345224538818]