Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BC04_Flecainide.Flecainide_Sllstrm2014_PD_qrs.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.005396/0.005396, 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.00214/0.00214, allocations: 169.9 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.56/1.56, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.282/1.282, allocations: 293 MB / 0.5392 GB, free: 50.19 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_Sllstrm2014_PD_qrs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BC04_Flecainide.Flecainide_Sllstrm2014_PD_qrs") translateModel(Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BC04_Flecainide.Flecainide_Sllstrm2014_PD_qrs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BC04_Flecainide.Flecainide_Sllstrm2014_PD_qrs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 0.6999 GB, free: 8.617 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.984e-05/4.17e-05, allocations: 3.688 kB / 0.6999 GB, free: 8.613 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BC04_Flecainide.Flecainide_Sllstrm2014_PD_qrs): time 0.001529/0.001571, allocations: 0.6194 MB / 0.7005 GB, free: 7.996 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 5.337e-05/0.001625, allocations: 7.984 kB / 0.7005 GB, free: 7.988 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.509e-05/0.00166, allocations: 3.938 kB / 0.7005 GB, free: 7.984 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 1.902e-05/0.001679, allocations: 0 / 0.7005 GB, free: 7.984 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 3.396e-05/0.001713, allocations: 0 / 0.7005 GB, free: 7.984 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 5.883e-05/0.001771, allocations: 3.984 kB / 0.7005 GB, free: 7.98 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 6.57e-05/0.001837, allocations: 15.92 kB / 0.7005 GB, free: 7.965 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.571e-05/0.001893, allocations: 4 kB / 0.7005 GB, free: 7.961 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 3.657e-05/0.001929, allocations: 8 kB / 0.7005 GB, free: 7.953 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.762e-05/0.001987, allocations: 11.92 kB / 0.7005 GB, free: 7.941 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.451e-05/0.002012, allocations: 0 / 0.7005 GB, free: 7.941 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.408e-06/0.002016, allocations: 0 / 0.7005 GB, free: 7.941 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 1.644e-05/0.002032, allocations: 3.938 kB / 0.7005 GB, free: 7.938 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 2.268e-05/0.002055, allocations: 7.984 kB / 0.7005 GB, free: 7.93 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 5.369e-05/0.002109, allocations: 15.97 kB / 0.7005 GB, free: 7.914 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.854e-06/0.002111, allocations: 0 / 0.7005 GB, free: 7.914 MB / 410.8 MB Notification: Performance of FrontEnd: time 6.31e-07/0.002111, allocations: 0 / 0.7005 GB, free: 7.914 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.002116, allocations: 0 / 0.7005 GB, free: 7.914 MB / 410.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003311/0.002447, allocations: 258.3 kB / 0.7008 GB, free: 7.629 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.002487, allocations: 12.03 kB / 0.7008 GB, free: 7.617 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.781e-05/0.002515, allocations: 0.9375 kB / 0.7008 GB, free: 7.617 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.198e-05/0.002587, allocations: 109.8 kB / 0.7009 GB, free: 7.484 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.002599, allocations: 384 / 0.7009 GB, free: 7.484 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.025e-06/0.002607, allocations: 4.312 kB / 0.7009 GB, free: 7.48 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001013/0.002708, allocations: 42.25 kB / 0.701 GB, free: 7.434 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.435e-06/0.002716, allocations: 4.125 kB / 0.701 GB, free: 7.43 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.767e-06/0.002725, allocations: 384 / 0.701 GB, free: 7.43 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.002729, allocations: 384 / 0.701 GB, free: 7.43 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.293e-05/0.002772, allocations: 19.86 kB / 0.701 GB, free: 7.41 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001223/0.002894, allocations: 109.4 kB / 0.7011 GB, free: 7.273 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003179/0.003212, allocations: 42.62 kB / 0.7011 GB, free: 7.223 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.669e-05/0.003239, allocations: 16.84 kB / 0.7011 GB, free: 7.203 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.289e-05/0.003252, allocations: 0 / 0.7011 GB, free: 7.203 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.679e-05/0.003269, allocations: 34.56 kB / 0.7012 GB, free: 7.16 MB / 410.8 MB Notification: Performance of pre-optimization done (n=3): time 7.12e-07/0.003269, allocations: 0 / 0.7012 GB, free: 7.16 MB / 410.8 MB Notification: Performance of matching and sorting (n=3): time 0.0001345/0.003404, allocations: 49.62 kB / 0.7012 GB, free: 7.105 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.925e-05/0.003433, allocations: 55.41 kB / 0.7013 GB, free: 7.039 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.33e-05/0.003497, allocations: 101.8 kB / 0.7014 GB, free: 6.93 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 8.917e-06/0.003505, allocations: 33.7 kB / 0.7014 GB, free: 6.891 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.09e-05/0.003536, allocations: 88.12 kB / 0.7015 GB, free: 6.801 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.771e-05/0.003564, allocations: 7.906 kB / 0.7015 GB, free: 6.793 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.539e-05/0.003589, allocations: 17.72 kB / 0.7015 GB, free: 6.77 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.449e-05/0.003644, allocations: 310.8 kB / 0.7018 GB, free: 6.457 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.63e-05/0.00366, allocations: 7.984 kB / 0.7018 GB, free: 6.449 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.31e-05/0.003673, allocations: 8 kB / 0.7018 GB, free: 6.441 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.903e-05/0.003702, allocations: 16.86 kB / 0.7018 GB, free: 6.422 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.003704, allocations: 0 / 0.7018 GB, free: 6.422 MB / 410.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.545e-05/0.00376, allocations: 49.62 kB / 0.7019 GB, free: 6.367 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/0.00377, allocations: 8 kB / 0.7019 GB, free: 6.359 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.003775, allocations: 0 / 0.7019 GB, free: 6.359 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.003789, allocations: 0 / 0.7019 GB, free: 6.359 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.985e-05/0.003828, allocations: 4 kB / 0.7019 GB, free: 6.355 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.003834, allocations: 0 / 0.7019 GB, free: 6.355 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.73e-05/0.003851, allocations: 7.938 kB / 0.7019 GB, free: 6.348 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.948e-06/0.003855, allocations: 0 / 0.7019 GB, free: 6.348 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 4.1e-05/0.003896, allocations: 105.8 kB / 0.702 GB, free: 6.234 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.338e-05/0.003909, allocations: 7.953 kB / 0.702 GB, free: 6.227 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.028e-05/0.00393, allocations: 11.98 kB / 0.702 GB, free: 6.215 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-06/0.003931, allocations: 0 / 0.702 GB, free: 6.215 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.003934, allocations: 8.188 kB / 0.702 GB, free: 6.207 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.003937, allocations: 3.938 kB / 0.702 GB, free: 6.203 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.619e-05/0.003994, allocations: 113.3 kB / 0.7021 GB, free: 6.062 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.003994, allocations: 0 / 0.7021 GB, free: 6.062 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.873e-05/0.004023, allocations: 11.92 kB / 0.7022 GB, free: 6.051 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.203e-06/0.004024, allocations: 0 / 0.7022 GB, free: 6.051 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.00403, allocations: 0 / 0.7022 GB, free: 6.051 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.004031, allocations: 0 / 0.7022 GB, free: 6.051 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.004032, allocations: 3.938 kB / 0.7022 GB, free: 6.047 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.711e-05/0.004099, allocations: 73.39 kB / 0.7022 GB, free: 5.957 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 9.638e-06/0.004109, allocations: 7.984 kB / 0.7022 GB, free: 5.949 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.171e-05/0.004121, allocations: 4 kB / 0.7022 GB, free: 5.945 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.899e-05/0.00414, allocations: 8 kB / 0.7023 GB, free: 5.938 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.293e-05/0.004153, allocations: 0 / 0.7023 GB, free: 5.938 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-06/0.004154, allocations: 0 / 0.7023 GB, free: 5.938 MB / 410.8 MB Notification: Performance of sorting global known variables: time 2.15e-05/0.004176, allocations: 83.27 kB / 0.7023 GB, free: 5.855 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.004176, allocations: 0 / 0.7023 GB, free: 5.855 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001727/0.004349, allocations: 7.938 kB / 0.7023 GB, free: 5.848 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 9.472e-05/0.004443, allocations: 103.2 kB / 0.7024 GB, free: 5.738 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 9.653e-05/0.00454, allocations: 19.92 kB / 0.7025 GB, free: 5.719 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.004542, allocations: 4 kB / 0.7025 GB, free: 5.715 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 1.349e-05/0.004555, allocations: 8 kB / 0.7025 GB, free: 5.707 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000144/0.004699, allocations: 0 / 0.7025 GB, free: 5.707 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000254/0.004953, allocations: 108.8 kB / 0.7026 GB, free: 5.574 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.054e-05/0.004994, allocations: 63.34 kB / 0.7026 GB, free: 5.492 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 1.607e-05/0.00501, allocations: 0 / 0.7026 GB, free: 5.492 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.926e-05/0.005039, allocations: 12.5 kB / 0.7026 GB, free: 5.48 MB / 410.8 MB Notification: Performance of SimCode: time 4.21e-07/0.00504, allocations: 3.938 kB / 0.7026 GB, free: 5.477 MB / 410.8 MB Notification: Performance of Templates: time 0.002781/0.00782, allocations: 383.5 kB / 0.703 GB, free: 5.156 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BC04_Flecainide.Flecainide_Sllstrm2014_PD_qrs.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BC04_Flecainide.Flecainide_Sllstrm2014_PD_qrs.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BC04_Flecainide.Flecainide_Sllstrm2014_PD_qrs.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BC04_Flecainide.Flecainide_Sllstrm2014_PD_qrs.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BC04_Flecainide.Flecainide_Sllstrm2014_PD_qrs.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BC04_Flecainide.Flecainide_Sllstrm2014_PD_qrs -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BC04_Flecainide.Flecainide_Sllstrm2014_PD_qrs.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.331505014095455]