Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BC04_Flecainide.Flecainide.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.002374/0.002374, allocations: 88.44 kB / 19.18 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.002592/0.002592, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.768/1.768, 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.309/1.309, allocations: 292.9 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.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BC04_Flecainide.Flecainide,tolerance=1e-09,outputFormat="empty",numberOfIntervals=432000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BC04_Flecainide.Flecainide") translateModel(Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BC04_Flecainide.Flecainide,tolerance=1e-09,outputFormat="empty",numberOfIntervals=432000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BC04_Flecainide.Flecainide") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 0.6999 GB, free: 8.555 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.741e-05/2.879e-05, allocations: 2.281 kB / 0.6999 GB, free: 8.551 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BC04_Flecainide.Flecainide): time 0.007052/0.007081, allocations: 3.026 MB / 0.7029 GB, free: 5.504 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.006797/0.01388, allocations: 6.639 MB / 0.7093 GB, free: 14.86 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003151/0.01419, allocations: 0 / 0.7093 GB, free: 14.86 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001942/0.01439, allocations: 47.58 kB / 0.7094 GB, free: 14.81 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0006661/0.01505, allocations: 130.8 kB / 0.7095 GB, free: 14.68 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003238/0.01538, allocations: 79.91 kB / 0.7096 GB, free: 14.6 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.000567/0.01594, allocations: 437.8 kB / 0.71 GB, free: 14.17 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002009/0.01615, allocations: 66.02 kB / 0.7101 GB, free: 14.11 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003236/0.01647, allocations: 219.6 kB / 0.7103 GB, free: 13.89 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000296/0.01677, allocations: 123.6 kB / 0.7104 GB, free: 13.77 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 6.105e-05/0.01683, allocations: 36 kB / 0.7104 GB, free: 13.74 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.962e-05/0.01689, allocations: 32 kB / 0.7105 GB, free: 13.71 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 9.666e-05/0.01698, allocations: 67.69 kB / 0.7105 GB, free: 13.64 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001748/0.01716, allocations: 123.7 kB / 0.7106 GB, free: 13.52 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0004967/0.01765, allocations: 362.9 kB / 0.711 GB, free: 13.16 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.01766, allocations: 3.984 kB / 0.711 GB, free: 13.16 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.613e-06/0.01766, allocations: 0 / 0.711 GB, free: 13.16 MB / 426.8 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.01767, allocations: 0 / 0.711 GB, free: 13.16 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001271/0.01894, allocations: 0.6115 MB / 0.7116 GB, free: 12.5 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.01897, allocations: 11.97 kB / 0.7116 GB, free: 12.49 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.315e-05/0.01907, allocations: 40.7 kB / 0.7116 GB, free: 12.45 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003567/0.01942, allocations: 224.7 kB / 0.7119 GB, free: 12.21 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.038e-05/0.01946, allocations: 12.88 kB / 0.7119 GB, free: 12.2 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.453e-05/0.01952, allocations: 32.31 kB / 0.7119 GB, free: 12.16 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006078/0.02013, allocations: 302.2 kB / 0.7122 GB, free: 11.84 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/0.02015, allocations: 4 kB / 0.7122 GB, free: 11.84 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.8e-05/0.02018, allocations: 12 kB / 0.7122 GB, free: 11.82 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.02019, allocations: 4 kB / 0.7122 GB, free: 11.82 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005516/0.02074, allocations: 252.2 kB / 0.7124 GB, free: 11.56 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001252/0.02199, allocations: 0.6427 MB / 0.7131 GB, free: 10.88 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006997/0.02269, allocations: 278 kB / 0.7133 GB, free: 10.59 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003099/0.023, allocations: 160.4 kB / 0.7135 GB, free: 10.42 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.423e-05/0.02301, allocations: 0 / 0.7135 GB, free: 10.42 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000577/0.02359, allocations: 367.4 kB / 0.7138 GB, free: 10.01 MB / 426.8 MB Notification: Performance of pre-optimization done (n=33): time 1.603e-06/0.02359, allocations: 0 / 0.7138 GB, free: 10.01 MB / 426.8 MB Notification: Performance of matching and sorting (n=35): time 0.002702/0.02629, allocations: 1.143 MB / 0.715 GB, free: 8.77 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001756/0.02647, allocations: 221.6 kB / 0.7152 GB, free: 8.504 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003278/0.0268, allocations: 253.9 kB / 0.7154 GB, free: 8.25 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 4.633e-05/0.02684, allocations: 37.7 kB / 0.7154 GB, free: 8.207 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001642/0.02701, allocations: 156.8 kB / 0.7156 GB, free: 8.047 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001576/0.02716, allocations: 111.1 kB / 0.7157 GB, free: 7.938 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001408/0.0273, allocations: 82.14 kB / 0.7158 GB, free: 7.852 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001995/0.0275, allocations: 350.7 kB / 0.7161 GB, free: 7.5 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000639/0.02814, allocations: 215.9 kB / 0.7163 GB, free: 7.27 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004692/0.02861, allocations: 326.9 kB / 0.7166 GB, free: 6.883 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007213/0.02933, allocations: 458.1 kB / 0.7171 GB, free: 6.367 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.02934, allocations: 0 / 0.7171 GB, free: 6.367 MB / 426.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009914/0.03033, allocations: 0.577 MB / 0.7176 GB, free: 5.746 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.694e-05/0.03041, allocations: 93.09 kB / 0.7177 GB, free: 5.637 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.03042, allocations: 4 kB / 0.7177 GB, free: 5.633 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.03044, allocations: 4 kB / 0.7177 GB, free: 5.629 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000343/0.03079, allocations: 79.83 kB / 0.7178 GB, free: 5.551 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.0308, allocations: 4 kB / 0.7178 GB, free: 5.547 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002311/0.03103, allocations: 24.2 kB / 0.7178 GB, free: 5.523 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.707e-05/0.03106, allocations: 20 kB / 0.7179 GB, free: 5.504 MB / 426.8 MB Warning: Assuming fixed start value for the following 2 variables: periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real periodicDose.route.variableDose.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 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.route.absorptionLumen.Cmin,$PRE.periodicDose.route.absorptionLumen.Cmin,periodicDose.route.absorptionLumen.Cmax,$PRE.periodicDose.route.absorptionLumen.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,periodicDose.route.absorptionLumen.rising,$PRE.periodicDose.route.absorptionLumen.rising,central.rising,$PRE.central.rising,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 47 * 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.0003262/0.03139, allocations: 243.6 kB / 0.7181 GB, free: 5.246 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.853e-05/0.03145, allocations: 31.81 kB / 0.7181 GB, free: 5.215 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.661e-05/0.03154, allocations: 38.95 kB / 0.7182 GB, free: 5.176 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.03154, allocations: 4 kB / 0.7182 GB, free: 5.172 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.03155, allocations: 7.875 kB / 0.7182 GB, free: 5.164 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.03155, allocations: 0 / 0.7182 GB, free: 5.164 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001383/0.03294, allocations: 0.825 MB / 0.719 GB, free: 4.281 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.03294, allocations: 0 / 0.719 GB, free: 4.281 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000302/0.03324, allocations: 59.91 kB / 0.719 GB, free: 4.223 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.03324, allocations: 0 / 0.719 GB, free: 4.223 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.059e-05/0.03327, allocations: 15.98 kB / 0.719 GB, free: 4.207 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.03327, allocations: 0 / 0.719 GB, free: 4.207 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.03328, allocations: 0 / 0.719 GB, free: 4.207 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001239/0.03451, allocations: 0.7639 MB / 0.7198 GB, free: 3.391 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001433/0.03466, allocations: 59.77 kB / 0.7198 GB, free: 3.332 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.411e-05/0.03472, allocations: 12 kB / 0.7199 GB, free: 3.32 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002104/0.03493, allocations: 19.98 kB / 0.7199 GB, free: 3.301 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.03503, allocations: 23.95 kB / 0.7199 GB, free: 3.277 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-05/0.03507, allocations: 19.92 kB / 0.7199 GB, free: 3.258 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0002223/0.03529, allocations: 185.2 kB / 0.7201 GB, free: 3.078 MB / 426.8 MB Notification: Performance of sort global known variables: time 8e-08/0.03529, allocations: 0 / 0.7201 GB, free: 3.078 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.2517/0.287, allocations: 86.55 kB / 0.7202 GB, free: 37.1 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,periodicDose.route.variableDose.TotalCumulativeMass,periodicDose.route.absorptionLumen.C,periodicDose.route.absorptionLumen.AUC) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,central.Cmax,central.Cmin,central.rising,periodicDose.route.absorptionLumen.Cmax,periodicDose.route.absorptionLumen.Cmin,periodicDose.route.absorptionLumen.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 11 (periodicDose.pulse.count,central.Cmin,$whenCondition5,central.Cmax,$whenCondition4,central.rising,periodicDose.route.absorptionLumen.Cmin,$whenCondition3,periodicDose.route.absorptionLumen.Cmax,$whenCondition2,periodicDose.route.absorptionLumen.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 25 * 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.0001809/0.2872, allocations: 126.5 kB / 0.7203 GB, free: 37.02 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0008524/0.288, allocations: 0.5847 MB / 0.7209 GB, free: 36.67 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.288, allocations: 0 / 0.7209 GB, free: 36.67 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003327/0.2883, allocations: 312.7 kB / 0.7212 GB, free: 36.48 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005677/0.2889, allocations: 94.64 kB / 0.7213 GB, free: 36.48 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001433/0.2903, allocations: 0.8604 MB / 0.7221 GB, free: 36.05 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001562/0.2905, allocations: 169.5 kB / 0.7223 GB, free: 35.97 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0001315/0.2906, allocations: 35.39 kB / 0.7223 GB, free: 35.96 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.585e-05/0.2907, allocations: 28.7 kB / 0.7223 GB, free: 35.95 MB / 426.8 MB Notification: Performance of SimCode: time 4.61e-07/0.2907, allocations: 4 kB / 0.7223 GB, free: 35.95 MB / 426.8 MB Notification: Performance of Templates: time 0.01084/0.3015, allocations: 4.832 MB / 0.727 GB, free: 35.51 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BC04_Flecainide.Flecainide.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BC04_Flecainide.Flecainide.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BC04_Flecainide.Flecainide.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BC04_Flecainide.Flecainide.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BC04_Flecainide.Flecainide.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BC04_Flecainide.Flecainide -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BC04_Flecainide.Flecainide.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.5300647269468755]