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.0007484/0.0007484, allocations: 84.17 kB / 9.886 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00116/0.001908, allocations: 435.8 kB / 10.31 MB, free: 384 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.001209/0.001209, allocations: 157.1 kB / 11.2 MB, free: 2.973 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001565/0.002773, allocations: 463.6 kB / 11.65 MB, free: 2.516 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.001/1.001, allocations: 177.1 MB / 189.5 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08935/1.091, allocations: 53.67 MB / 243.2 MB, free: 15.59 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.8355/0.8355, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02631/0.8618, allocations: 21.05 MB / 0.5431 GB, free: 31.95 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.924e-06/1.924e-06, allocations: 0 / 0.5444 GB, free: 30.62 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.145e-05/2.337e-05, allocations: 6.25 kB / 0.5444 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.001575/0.001599, allocations: 0.6671 MB / 0.5451 GB, free: 29.95 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 2.987e-05/0.001629, allocations: 3.938 kB / 0.5451 GB, free: 29.95 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.859e-05/0.001647, allocations: 0 / 0.5451 GB, free: 29.95 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.809e-06/0.001652, allocations: 0 / 0.5451 GB, free: 29.95 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 1.332e-05/0.001665, allocations: 7.875 kB / 0.5451 GB, free: 29.94 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.532e-05/0.001691, allocations: 0 / 0.5451 GB, free: 29.94 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.216e-05/0.001743, allocations: 15.98 kB / 0.5451 GB, free: 29.93 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.409e-05/0.001787, allocations: 11.12 kB / 0.5451 GB, free: 29.92 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.706e-05/0.001844, allocations: 19.91 kB / 0.5451 GB, free: 29.9 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.68e-05/0.001891, allocations: 7.984 kB / 0.5452 GB, free: 29.89 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.099e-05/0.001912, allocations: 0 / 0.5452 GB, free: 29.89 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.15e-06/0.001917, allocations: 0 / 0.5452 GB, free: 29.89 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.262e-05/0.001929, allocations: 7.938 kB / 0.5452 GB, free: 29.88 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.836e-05/0.001948, allocations: 0 / 0.5452 GB, free: 29.88 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 6.115e-05/0.002009, allocations: 4 kB / 0.5452 GB, free: 29.88 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.481e-05/0.002024, allocations: 0 / 0.5452 GB, free: 29.88 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.002025, allocations: 0 / 0.5452 GB, free: 29.88 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.242e-05/0.002038, allocations: 0 / 0.5452 GB, free: 29.88 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.0002991/0.002337, allocations: 243 kB / 0.5454 GB, free: 29.62 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.002372, allocations: 15.89 kB / 0.5454 GB, free: 29.6 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.296e-05/0.002395, allocations: 4.922 kB / 0.5454 GB, free: 29.6 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.041e-05/0.002456, allocations: 113.7 kB / 0.5455 GB, free: 29.46 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.002469, allocations: 384 / 0.5455 GB, free: 29.46 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.323e-06/0.002476, allocations: 4.375 kB / 0.5455 GB, free: 29.46 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.17e-05/0.002538, allocations: 38.19 kB / 0.5456 GB, free: 29.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.002544, allocations: 192 / 0.5456 GB, free: 29.41 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.923e-06/0.002551, allocations: 384 / 0.5456 GB, free: 29.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.002556, allocations: 4.375 kB / 0.5456 GB, free: 29.41 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.901e-05/0.002575, allocations: 11.94 kB / 0.5456 GB, free: 29.4 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.635e-05/0.002651, allocations: 57.05 kB / 0.5456 GB, free: 29.33 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002306/0.002882, allocations: 46.59 kB / 0.5457 GB, free: 29.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.696e-05/0.002899, allocations: 12.8 kB / 0.5457 GB, free: 29.26 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.73e-06/0.002904, allocations: 0 / 0.5457 GB, free: 29.26 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.493e-05/0.002919, allocations: 30.56 kB / 0.5457 GB, free: 29.22 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.00292, allocations: 0 / 0.5457 GB, free: 29.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 8.672e-05/0.003007, allocations: 41.69 kB / 0.5458 GB, free: 29.17 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.158e-05/0.003029, allocations: 51.41 kB / 0.5458 GB, free: 29.11 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.792e-05/0.003066, allocations: 114 kB / 0.5459 GB, free: 28.99 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.061e-06/0.003073, allocations: 33.7 kB / 0.546 GB, free: 28.95 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.065e-05/0.003083, allocations: 80.14 kB / 0.546 GB, free: 28.87 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.6e-05/0.003109, allocations: 15.83 kB / 0.546 GB, free: 28.85 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.569e-05/0.003135, allocations: 13.72 kB / 0.5461 GB, free: 28.83 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.359e-05/0.003168, allocations: 322.8 kB / 0.5464 GB, free: 28.51 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.223e-06/0.003176, allocations: 3.938 kB / 0.5464 GB, free: 28.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.504e-06/0.003183, allocations: 4 kB / 0.5464 GB, free: 28.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.119e-05/0.003204, allocations: 12.84 kB / 0.5464 GB, free: 28.48 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.003206, allocations: 0 / 0.5464 GB, free: 28.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 3.75e-05/0.003244, allocations: 37.7 kB / 0.5464 GB, free: 28.44 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.003255, allocations: 8 kB / 0.5464 GB, free: 28.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.003259, allocations: 0 / 0.5464 GB, free: 28.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.687e-06/0.003268, allocations: 3.984 kB / 0.5464 GB, free: 28.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.334e-05/0.003301, allocations: 4.328 kB / 0.5464 GB, free: 28.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.635e-06/0.003304, allocations: 3.938 kB / 0.5464 GB, free: 28.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.31e-05/0.003317, allocations: 8 kB / 0.5464 GB, free: 28.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.995e-06/0.00332, allocations: 0 / 0.5464 GB, free: 28.41 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.306e-05/0.003353, allocations: 113.8 kB / 0.5466 GB, free: 28.29 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.533e-06/0.003359, allocations: 4 kB / 0.5466 GB, free: 28.29 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.875e-05/0.003378, allocations: 15.92 kB / 0.5466 GB, free: 28.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.00338, allocations: 0 / 0.5466 GB, free: 28.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.003381, allocations: 4 kB / 0.5466 GB, free: 28.27 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.003384, allocations: 3.984 kB / 0.5466 GB, free: 28.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.719e-05/0.003431, allocations: 69.84 kB / 0.5466 GB, free: 28.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.32e-07/0.003432, allocations: 0 / 0.5466 GB, free: 28.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.722e-05/0.003449, allocations: 4 kB / 0.5467 GB, free: 28.18 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.29e-06/0.003454, allocations: 4 kB / 0.5467 GB, free: 28.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.91e-07/0.003455, allocations: 0 / 0.5467 GB, free: 28.17 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.156e-06/0.003458, allocations: 0 / 0.5467 GB, free: 28.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.42e-07/0.003459, allocations: 0 / 0.5467 GB, free: 28.17 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.644e-06/0.003461, allocations: 2.656 kB / 0.5467 GB, free: 28.17 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.699e-05/0.003508, allocations: 72.98 kB / 0.5467 GB, free: 28.08 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.855e-06/0.003516, allocations: 4 kB / 0.5467 GB, free: 28.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.124e-05/0.003527, allocations: 7.188 kB / 0.5467 GB, free: 28.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.818e-06/0.003537, allocations: 0 / 0.5467 GB, free: 28.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-06/0.003539, allocations: 4 kB / 0.5467 GB, free: 28.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.013e-05/0.003549, allocations: 12.84 kB / 0.5468 GB, free: 28.05 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.003549, allocations: 0 / 0.5468 GB, free: 28.05 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001503/0.003699, allocations: 4 kB / 0.5468 GB, free: 28.05 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 5.68e-05/0.003756, allocations: 84.41 kB / 0.5468 GB, free: 27.96 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.242e-05/0.003808, allocations: 12.86 kB / 0.5469 GB, free: 27.95 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.003811, allocations: 4 kB / 0.5469 GB, free: 27.94 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.898e-06/0.003821, allocations: 12.8 kB / 0.5469 GB, free: 27.93 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.277e-05/0.003883, allocations: 13.91 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.0001668/0.00405, allocations: 112.5 kB / 0.547 GB, free: 27.78 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.782e-05/0.004068, allocations: 55.36 kB / 0.547 GB, free: 27.7 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.365e-05/0.004082, allocations: 0 / 0.547 GB, free: 27.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.634e-05/0.004108, allocations: 55.36 kB / 0.5471 GB, free: 27.65 MB / 410.7 MB Notification: Performance of SimCode: time 4.01e-07/0.004108, allocations: 0 / 0.5471 GB, free: 27.65 MB / 410.7 MB Notification: Performance of Templates: time 0.001878/0.005986, allocations: 440.1 kB / 0.5475 GB, free: 27.27 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.1056595453992486]