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.0008331/0.0008331, allocations: 68.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005649/0.006482, allocations: 455.9 kB / 10.35 MB, free: 348 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.0009059/0.0009059, allocations: 157.2 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009924/0.001898, allocations: 475.7 kB / 11.7 MB, free: 2.465 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 0.9777/0.9777, allocations: 177.2 MB / 189.6 MB, free: 5.285 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09134/1.069, allocations: 53.67 MB / 243.3 MB, free: 15.55 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.727/0.727, allocations: 291.2 MB / 0.5227 GB, free: 52.7 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02665/0.7536, allocations: 21.05 MB / 0.5433 GB, free: 31.71 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.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.623e-06/1.623e-06, allocations: 0 / 0.5446 GB, free: 30.38 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.164e-05/2.326e-05, allocations: 10.19 kB / 0.5446 GB, free: 30.37 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BC04_Flecainide.Flecainide_Sllstrm2014_PD_qrs): time 0.001503/0.001526, allocations: 0.6671 MB / 0.5452 GB, free: 29.7 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 3.096e-05/0.001557, allocations: 19.92 kB / 0.5453 GB, free: 29.68 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.95e-05/0.001576, allocations: 0 / 0.5453 GB, free: 29.68 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.388e-06/0.001581, allocations: 0 / 0.5453 GB, free: 29.68 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 1.217e-05/0.001593, allocations: 3.938 kB / 0.5453 GB, free: 29.68 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.641e-05/0.001619, allocations: 3.984 kB / 0.5453 GB, free: 29.68 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.198e-05/0.001671, allocations: 15.94 kB / 0.5453 GB, free: 29.66 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.582e-05/0.001717, allocations: 7.109 kB / 0.5453 GB, free: 29.66 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.973e-05/0.001767, allocations: 11.94 kB / 0.5453 GB, free: 29.64 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.537e-05/0.001812, allocations: 3.984 kB / 0.5453 GB, free: 29.64 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.776e-05/0.00183, allocations: 4 kB / 0.5453 GB, free: 29.64 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.959e-06/0.001835, allocations: 4 kB / 0.5453 GB, free: 29.63 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.128e-05/0.001846, allocations: 3.938 kB / 0.5453 GB, free: 29.63 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.833e-05/0.001865, allocations: 4 kB / 0.5453 GB, free: 29.62 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 5.922e-05/0.001924, allocations: 11.97 kB / 0.5453 GB, free: 29.61 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.446e-05/0.001938, allocations: 0 / 0.5453 GB, free: 29.61 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.001939, allocations: 0 / 0.5453 GB, free: 29.61 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.345e-05/0.001953, allocations: 0 / 0.5453 GB, free: 29.61 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000317/0.00227, allocations: 239 kB / 0.5456 GB, free: 29.36 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.002304, allocations: 11.89 kB / 0.5456 GB, free: 29.34 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.205e-05/0.002326, allocations: 4.938 kB / 0.5456 GB, free: 29.34 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.396e-05/0.00239, allocations: 105.8 kB / 0.5457 GB, free: 29.21 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.002401, allocations: 4.375 kB / 0.5457 GB, free: 29.21 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.845e-06/0.002409, allocations: 12.23 kB / 0.5457 GB, free: 29.2 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.614e-05/0.002475, allocations: 34.25 kB / 0.5457 GB, free: 29.16 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.002486, allocations: 192 / 0.5457 GB, free: 29.16 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.114e-06/0.002493, allocations: 4.375 kB / 0.5457 GB, free: 29.15 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.493e-06/0.0025, allocations: 384 / 0.5457 GB, free: 29.15 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.335e-05/0.002523, allocations: 7.938 kB / 0.5457 GB, free: 29.14 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.047e-05/0.002614, allocations: 69.02 kB / 0.5458 GB, free: 29.06 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002337/0.002847, allocations: 42.55 kB / 0.5458 GB, free: 29.01 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.478e-05/0.002862, allocations: 4.859 kB / 0.5458 GB, free: 29 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.492e-06/0.002868, allocations: 8 kB / 0.5459 GB, free: 29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.625e-05/0.002885, allocations: 38.55 kB / 0.5459 GB, free: 28.95 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.002886, allocations: 0 / 0.5459 GB, free: 28.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 8.796e-05/0.002974, allocations: 33.7 kB / 0.5459 GB, free: 28.91 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.278e-05/0.002996, allocations: 59.39 kB / 0.546 GB, free: 28.84 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.198e-05/0.003038, allocations: 102.7 kB / 0.5461 GB, free: 28.73 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.44e-06/0.003044, allocations: 29.7 kB / 0.5461 GB, free: 28.69 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.039e-05/0.003054, allocations: 80.14 kB / 0.5462 GB, free: 28.61 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.004e-05/0.003084, allocations: 15.83 kB / 0.5462 GB, free: 28.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.824e-05/0.003112, allocations: 21.66 kB / 0.5462 GB, free: 28.57 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.966e-05/0.003142, allocations: 322.8 kB / 0.5465 GB, free: 28.24 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.504e-06/0.00315, allocations: 4 kB / 0.5465 GB, free: 28.24 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.674e-06/0.003157, allocations: 4 kB / 0.5465 GB, free: 28.23 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.295e-05/0.00318, allocations: 12.84 kB / 0.5465 GB, free: 28.22 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.003182, allocations: 0 / 0.5465 GB, free: 28.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.509e-05/0.003227, allocations: 37.69 kB / 0.5466 GB, free: 28.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.003238, allocations: 8 kB / 0.5466 GB, free: 28.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.003243, allocations: 3.188 kB / 0.5466 GB, free: 28.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.476e-06/0.003252, allocations: 0 / 0.5466 GB, free: 28.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.403e-05/0.003296, allocations: 7.938 kB / 0.5466 GB, free: 28.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-06/0.003299, allocations: 0 / 0.5466 GB, free: 28.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.34e-05/0.003312, allocations: 4 kB / 0.5466 GB, free: 28.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.707e-06/0.003316, allocations: 4 kB / 0.5466 GB, free: 28.15 MB / 410.7 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 3.427e-05/0.00335, allocations: 109.8 kB / 0.5467 GB, free: 28.04 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.133e-06/0.003357, allocations: 11.98 kB / 0.5467 GB, free: 28.02 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.113e-05/0.003378, allocations: 4.328 kB / 0.5467 GB, free: 28.02 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.00338, allocations: 0 / 0.5467 GB, free: 28.02 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.003382, allocations: 3.938 kB / 0.5467 GB, free: 28.01 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.003384, allocations: 3.984 kB / 0.5467 GB, free: 28.01 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.23e-05/0.003437, allocations: 73.83 kB / 0.5468 GB, free: 27.92 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.003438, allocations: 0 / 0.5468 GB, free: 27.92 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.291e-05/0.003461, allocations: 11.98 kB / 0.5468 GB, free: 27.91 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.831e-06/0.003466, allocations: 0 / 0.5468 GB, free: 27.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.003469, allocations: 4 kB / 0.5468 GB, free: 27.9 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.068e-06/0.003473, allocations: 4 kB / 0.5468 GB, free: 27.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.003474, allocations: 0 / 0.5468 GB, free: 27.9 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.003475, allocations: 2.656 kB / 0.5468 GB, free: 27.9 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.371e-05/0.003529, allocations: 69 kB / 0.5469 GB, free: 27.81 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.025e-06/0.003537, allocations: 0 / 0.5469 GB, free: 27.81 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.018e-05/0.003547, allocations: 0 / 0.5469 GB, free: 27.81 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.046e-05/0.003558, allocations: 0 / 0.5469 GB, free: 27.81 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-06/0.00356, allocations: 0 / 0.5469 GB, free: 27.81 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.324e-05/0.003573, allocations: 20.53 kB / 0.5469 GB, free: 27.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.003573, allocations: 4 kB / 0.5469 GB, free: 27.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001353/0.003709, allocations: 4 kB / 0.5469 GB, free: 27.79 MB / 410.7 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 6.949e-05/0.003778, allocations: 84.42 kB / 0.547 GB, free: 27.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 6.268e-05/0.003841, allocations: 16.84 kB / 0.547 GB, free: 27.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.674e-06/0.003849, allocations: 0 / 0.547 GB, free: 27.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.562e-05/0.003864, allocations: 8.859 kB / 0.547 GB, free: 27.66 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.897e-05/0.003933, allocations: 7.938 kB / 0.547 GB, free: 27.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001984/0.004132, allocations: 128.4 kB / 0.5472 GB, free: 27.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.175e-05/0.004153, allocations: 59.28 kB / 0.5472 GB, free: 27.43 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.558e-05/0.004169, allocations: 0 / 0.5472 GB, free: 27.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.84e-05/0.004197, allocations: 51.38 kB / 0.5473 GB, free: 27.38 MB / 410.7 MB Notification: Performance of SimCode: time 6.21e-07/0.004198, allocations: 0 / 0.5473 GB, free: 27.38 MB / 410.7 MB Notification: Performance of Templates: time 0.002004/0.006202, allocations: 440.3 kB / 0.5477 GB, free: 26.99 MB / 410.7 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: 3.1178843658417463]