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.0006848/0.0006848, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008337/0.001518, allocations: 435.8 kB / 10.33 MB, free: 368 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.0006785/0.0006785, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008633/0.001542, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 1.129/1.129, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1185/1.247, allocations: 53.65 MB / 243.2 MB, free: 15.58 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.936/0.936, allocations: 291.2 MB / 0.5226 GB, free: 52.94 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0335/0.9695, allocations: 21.04 MB / 0.5432 GB, free: 31.96 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.823e-06/1.823e-06, allocations: 0 / 0.5445 GB, free: 30.62 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.176e-05/2.358e-05, allocations: 2.312 kB / 0.5445 GB, free: 30.62 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BC04_Flecainide.Flecainide_Sllstrm2014_PD_qrs): time 0.0015/0.001523, allocations: 0.6743 MB / 0.5451 GB, free: 29.95 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 2.893e-05/0.001552, allocations: 11.91 kB / 0.5452 GB, free: 29.93 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.937e-05/0.001572, allocations: 0 / 0.5452 GB, free: 29.93 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.308e-06/0.001576, allocations: 0 / 0.5452 GB, free: 29.93 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 1.269e-05/0.001589, allocations: 3.938 kB / 0.5452 GB, free: 29.93 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.716e-05/0.001616, allocations: 8 kB / 0.5452 GB, free: 29.92 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.136e-05/0.001667, allocations: 7.984 kB / 0.5452 GB, free: 29.91 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.47e-05/0.001712, allocations: 7.125 kB / 0.5452 GB, free: 29.91 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.359e-05/0.001766, allocations: 19.86 kB / 0.5452 GB, free: 29.89 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.933e-05/0.001815, allocations: 4 kB / 0.5452 GB, free: 29.89 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/0.001835, allocations: 4 kB / 0.5452 GB, free: 29.88 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.001e-06/0.001841, allocations: 0 / 0.5452 GB, free: 29.88 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.357e-05/0.001855, allocations: 7.938 kB / 0.5452 GB, free: 29.88 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.225e-05/0.001877, allocations: 0 / 0.5452 GB, free: 29.88 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 5.966e-05/0.001936, allocations: 11.97 kB / 0.5452 GB, free: 29.86 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.623e-05/0.001953, allocations: 0 / 0.5452 GB, free: 29.86 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.001953, allocations: 0 / 0.5452 GB, free: 29.86 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.733e-05/0.001971, allocations: 4 kB / 0.5452 GB, free: 29.86 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.0003109/0.002281, allocations: 235 kB / 0.5454 GB, free: 29.61 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.002322, allocations: 15.89 kB / 0.5455 GB, free: 29.59 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.482e-05/0.002347, allocations: 0.9375 kB / 0.5455 GB, free: 29.59 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.771e-05/0.002414, allocations: 113.7 kB / 0.5456 GB, free: 29.45 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.002425, allocations: 4.359 kB / 0.5456 GB, free: 29.45 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.935e-06/0.002433, allocations: 4.375 kB / 0.5456 GB, free: 29.45 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.467e-05/0.002498, allocations: 26.27 kB / 0.5456 GB, free: 29.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.002505, allocations: 192 / 0.5456 GB, free: 29.41 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.124e-06/0.002512, allocations: 4.375 kB / 0.5456 GB, free: 29.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.002518, allocations: 384 / 0.5456 GB, free: 29.41 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.354e-05/0.002541, allocations: 15.86 kB / 0.5456 GB, free: 29.39 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.55e-05/0.002627, allocations: 65.03 kB / 0.5457 GB, free: 29.32 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002377/0.002864, allocations: 42.59 kB / 0.5457 GB, free: 29.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.741e-05/0.002882, allocations: 12.86 kB / 0.5457 GB, free: 29.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.374e-06/0.002889, allocations: 0 / 0.5457 GB, free: 29.25 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.828e-05/0.002908, allocations: 30.56 kB / 0.5458 GB, free: 29.21 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.002909, allocations: 0 / 0.5458 GB, free: 29.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 9.392e-05/0.003002, allocations: 45.62 kB / 0.5458 GB, free: 29.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.459e-05/0.003027, allocations: 55.41 kB / 0.5459 GB, free: 29.09 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.664e-05/0.003074, allocations: 114 kB / 0.546 GB, free: 28.97 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.191e-06/0.00308, allocations: 25.7 kB / 0.546 GB, free: 28.94 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.337e-06/0.003089, allocations: 80.14 kB / 0.5461 GB, free: 28.86 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.866e-05/0.003118, allocations: 15.84 kB / 0.5461 GB, free: 28.84 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.844e-05/0.003146, allocations: 13.72 kB / 0.5461 GB, free: 28.82 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.552e-05/0.003182, allocations: 326.8 kB / 0.5464 GB, free: 28.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.027e-06/0.003191, allocations: 3.984 kB / 0.5464 GB, free: 28.49 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.155e-06/0.003199, allocations: 4 kB / 0.5464 GB, free: 28.49 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.773e-05/0.003227, allocations: 12.8 kB / 0.5464 GB, free: 28.47 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.003229, allocations: 0 / 0.5464 GB, free: 28.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.218e-05/0.003281, allocations: 41.97 kB / 0.5465 GB, free: 28.43 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.003295, allocations: 4 kB / 0.5465 GB, free: 28.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.003299, allocations: 0 / 0.5465 GB, free: 28.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.957e-06/0.003308, allocations: 48 / 0.5465 GB, free: 28.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.563e-05/0.003354, allocations: 7.984 kB / 0.5465 GB, free: 28.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.317e-06/0.003357, allocations: 8 kB / 0.5465 GB, free: 28.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.374e-05/0.003371, allocations: 0 / 0.5465 GB, free: 28.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.988e-06/0.003375, allocations: 3.984 kB / 0.5465 GB, free: 28.4 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.76e-05/0.003413, allocations: 109.8 kB / 0.5466 GB, free: 28.29 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.136e-06/0.003421, allocations: 4 kB / 0.5466 GB, free: 28.28 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.223e-05/0.003443, allocations: 11.94 kB / 0.5466 GB, free: 28.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.003445, allocations: 0 / 0.5466 GB, free: 28.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.003446, allocations: 0 / 0.5466 GB, free: 28.27 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.003449, allocations: 0 / 0.5466 GB, free: 28.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.72e-05/0.003507, allocations: 81.75 kB / 0.5467 GB, free: 28.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.003508, allocations: 4 kB / 0.5467 GB, free: 28.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.214e-05/0.00353, allocations: 4 kB / 0.5467 GB, free: 28.16 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.44e-06/0.003535, allocations: 4 kB / 0.5467 GB, free: 28.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.183e-06/0.003537, allocations: 0 / 0.5467 GB, free: 28.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.406e-06/0.00354, allocations: 0 / 0.5467 GB, free: 28.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.003542, allocations: 3.312 kB / 0.5467 GB, free: 28.16 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.003544, allocations: 2.734 kB / 0.5467 GB, free: 28.16 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.487e-05/0.003599, allocations: 69.06 kB / 0.5468 GB, free: 28.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.135e-06/0.003607, allocations: 0 / 0.5468 GB, free: 28.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.808e-06/0.003617, allocations: 0 / 0.5468 GB, free: 28.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.28e-05/0.00363, allocations: 3.984 kB / 0.5468 GB, free: 28.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.003632, allocations: 8 kB / 0.5468 GB, free: 28.06 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.096e-05/0.003643, allocations: 8.859 kB / 0.5468 GB, free: 28.05 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.003643, allocations: 0 / 0.5468 GB, free: 28.05 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001375/0.003781, allocations: 7.938 kB / 0.5468 GB, free: 28.04 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.58e-05/0.003846, allocations: 80.42 kB / 0.5469 GB, free: 27.96 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 6.23e-05/0.003909, allocations: 20.84 kB / 0.5469 GB, free: 27.93 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.003914, allocations: 0 / 0.5469 GB, free: 27.93 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.998e-06/0.003924, allocations: 8.859 kB / 0.5469 GB, free: 27.92 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.82e-05/0.003992, allocations: 9.906 kB / 0.5469 GB, free: 27.91 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001863/0.004178, allocations: 132.4 kB / 0.547 GB, free: 27.76 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.078e-05/0.004199, allocations: 51.36 kB / 0.5471 GB, free: 27.69 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.346e-05/0.004212, allocations: 0 / 0.5471 GB, free: 27.69 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.674e-05/0.004239, allocations: 51.38 kB / 0.5471 GB, free: 27.64 MB / 410.7 MB Notification: Performance of SimCode: time 8.21e-07/0.00424, allocations: 0 / 0.5471 GB, free: 27.64 MB / 410.7 MB Notification: Performance of Templates: time 0.002078/0.006319, allocations: 440.4 kB / 0.5476 GB, free: 27.25 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.4114292580634356]