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.001947/0.001947, allocations: 105.5 kB / 18.95 MB, free: 1.18 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.00208/0.00208, allocations: 215.5 kB / 22.25 MB, free: 3.57 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.876/1.876, allocations: 230.6 MB / 256 MB, free: 9.605 MB / 202.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.508/1.508, allocations: 316.8 MB / 0.6144 GB, free: 93 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: Pharmacolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.005428/0.005428, allocations: 69.73 kB / 0.775 GB, free: 14.78 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.1829, allocations: 73.99 MB / 0.8472 GB, free: 4.922 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BC04_Flecainide.Flecainide_Sllstrm2014_PD_qrs): time 0.002397/0.1853, allocations: 0.6071 MB / 0.8478 GB, free: 4.328 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 5.112e-05/0.1853, allocations: 8.75 kB / 0.8478 GB, free: 4.32 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.282e-05/0.1854, allocations: 0 / 0.8478 GB, free: 4.32 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.522e-05/0.1854, allocations: 4.656 kB / 0.8478 GB, free: 4.316 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 3.853e-05/0.1854, allocations: 3.938 kB / 0.8478 GB, free: 4.312 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 5.356e-05/0.1855, allocations: 4.609 kB / 0.8478 GB, free: 4.309 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 6.913e-05/0.1855, allocations: 15.94 kB / 0.8479 GB, free: 4.293 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.974e-05/0.1856, allocations: 4.703 kB / 0.8479 GB, free: 4.289 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 1.724e-05/0.1856, allocations: 4.656 kB / 0.8479 GB, free: 4.285 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.57e-05/0.1857, allocations: 11.91 kB / 0.8479 GB, free: 4.273 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.1857, allocations: 4.5 kB / 0.8479 GB, free: 4.27 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.44e-06/0.1857, allocations: 0 / 0.8479 GB, free: 4.27 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 1.465e-05/0.1857, allocations: 0.5 kB / 0.8479 GB, free: 4.27 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 2.605e-05/0.1857, allocations: 8.5 kB / 0.8479 GB, free: 4.262 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 6.505e-05/0.1858, allocations: 12.48 kB / 0.8479 GB, free: 4.25 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.1858, allocations: 0 / 0.8479 GB, free: 4.25 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.764e-06/0.1858, allocations: 0.625 kB / 0.8479 GB, free: 4.25 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.441e-06/0.1858, allocations: 0 / 0.8479 GB, free: 4.25 MB / 474.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.0004466/0.1862, allocations: 255 kB / 0.8482 GB, free: 3.969 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.1863, allocations: 8.594 kB / 0.8482 GB, free: 3.961 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.897e-05/0.1863, allocations: 5.562 kB / 0.8482 GB, free: 3.957 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.1864, allocations: 114.4 kB / 0.8483 GB, free: 3.82 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.955e-06/0.1865, allocations: 5.031 kB / 0.8483 GB, free: 3.816 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.128e-05/0.1865, allocations: 384 / 0.8483 GB, free: 3.816 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000107/0.1866, allocations: 42.8 kB / 0.8483 GB, free: 3.77 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.1866, allocations: 1.531 kB / 0.8483 GB, free: 3.77 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.1866, allocations: 3.938 kB / 0.8483 GB, free: 3.766 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.1866, allocations: 0 / 0.8483 GB, free: 3.766 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.158e-05/0.1866, allocations: 11.98 kB / 0.8483 GB, free: 3.754 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001688/0.1868, allocations: 102.4 kB / 0.8484 GB, free: 3.625 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003591/0.1872, allocations: 58.59 kB / 0.8485 GB, free: 3.559 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.525e-05/0.1872, allocations: 10.8 kB / 0.8485 GB, free: 3.547 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 7.875e-06/0.1872, allocations: 0 / 0.8485 GB, free: 3.547 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/0.1872, allocations: 34.5 kB / 0.8485 GB, free: 3.504 MB / 474.8 MB Notification: Performance of pre-optimization done (n=3): time 7.91e-07/0.1872, allocations: 4 kB / 0.8485 GB, free: 3.5 MB / 474.8 MB Notification: Performance of matching and sorting (n=3): time 0.0001642/0.1874, allocations: 53.58 kB / 0.8486 GB, free: 3.441 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.256e-05/0.1875, allocations: 59.84 kB / 0.8486 GB, free: 3.371 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.862e-05/0.1876, allocations: 108.2 kB / 0.8487 GB, free: 3.258 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 2.548e-05/0.1876, allocations: 29.7 kB / 0.8488 GB, free: 3.223 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.218e-05/0.1876, allocations: 80.14 kB / 0.8489 GB, free: 3.141 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.758e-05/0.1877, allocations: 11.94 kB / 0.8489 GB, free: 3.129 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.8e-05/0.1877, allocations: 17.72 kB / 0.8489 GB, free: 3.105 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0001771/0.1879, allocations: 314.8 kB / 0.8492 GB, free: 2.789 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.961e-05/0.1879, allocations: 8 kB / 0.8492 GB, free: 2.781 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.958e-05/0.1879, allocations: 6.375 kB / 0.8492 GB, free: 2.777 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.968e-05/0.188, allocations: 12.86 kB / 0.8492 GB, free: 2.762 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.188, allocations: 4 kB / 0.8492 GB, free: 2.758 MB / 474.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.491e-05/0.188, allocations: 41.69 kB / 0.8493 GB, free: 2.711 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.1881, allocations: 13.81 kB / 0.8493 GB, free: 2.699 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.1881, allocations: 256 / 0.8493 GB, free: 2.699 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.1881, allocations: 5.094 kB / 0.8493 GB, free: 2.695 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.445e-05/0.1881, allocations: 8 kB / 0.8493 GB, free: 2.688 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.1881, allocations: 0 / 0.8493 GB, free: 2.688 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.77e-05/0.1881, allocations: 0.9375 kB / 0.8493 GB, free: 2.688 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.435e-06/0.1881, allocations: 4 kB / 0.8493 GB, free: 2.684 MB / 474.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 9.17e-05/0.1882, allocations: 111.5 kB / 0.8494 GB, free: 2.566 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.137e-06/0.1882, allocations: 4.516 kB / 0.8494 GB, free: 2.562 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.24e-05/0.1883, allocations: 12 kB / 0.8494 GB, free: 2.547 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.778e-06/0.1883, allocations: 4.531 kB / 0.8494 GB, free: 2.543 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1883, allocations: 0 / 0.8494 GB, free: 2.543 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.1883, allocations: 0.5938 kB / 0.8494 GB, free: 2.543 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001082/0.1884, allocations: 105.9 kB / 0.8495 GB, free: 2.41 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.1884, allocations: 4.328 kB / 0.8495 GB, free: 2.406 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.041e-05/0.1884, allocations: 4.562 kB / 0.8495 GB, free: 2.402 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.1884, allocations: 0.5312 kB / 0.8495 GB, free: 2.402 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-06/0.1884, allocations: 0 / 0.8495 GB, free: 2.402 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1884, allocations: 0.5625 kB / 0.8495 GB, free: 2.402 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.1884, allocations: 4.531 kB / 0.8495 GB, free: 2.398 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001099/0.1886, allocations: 77.05 kB / 0.8496 GB, free: 2.305 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.186e-05/0.1886, allocations: 16.42 kB / 0.8496 GB, free: 2.289 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.959e-06/0.1886, allocations: 0.5 kB / 0.8496 GB, free: 2.289 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.758e-05/0.1886, allocations: 0 / 0.8496 GB, free: 2.289 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.109e-05/0.1886, allocations: 8.641 kB / 0.8496 GB, free: 2.281 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-06/0.1886, allocations: 4 kB / 0.8496 GB, free: 2.277 MB / 474.8 MB Notification: Performance of sorting global known variables: time 5.867e-05/0.1887, allocations: 83.91 kB / 0.8497 GB, free: 2.195 MB / 474.8 MB Notification: Performance of sort global known variables: time 7e-08/0.1887, allocations: 2.062 kB / 0.8497 GB, free: 2.195 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001821/0.1889, allocations: 4 kB / 0.8497 GB, free: 2.191 MB / 474.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 0.0001115/0.189, allocations: 99.25 kB / 0.8498 GB, free: 2.086 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 8.739e-05/0.1891, allocations: 15.98 kB / 0.8498 GB, free: 2.07 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1891, allocations: 7.875 kB / 0.8498 GB, free: 2.062 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 1.73e-05/0.1891, allocations: 10.59 kB / 0.8498 GB, free: 2.055 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001354/0.1892, allocations: 3.516 kB / 0.8498 GB, free: 2.055 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002735/0.1895, allocations: 108.9 kB / 0.8499 GB, free: 1.922 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.809e-05/0.1896, allocations: 63.34 kB / 0.85 GB, free: 1.84 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 1.429e-05/0.1896, allocations: 0 / 0.85 GB, free: 1.84 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.289e-05/0.1896, allocations: 8.406 kB / 0.85 GB, free: 1.832 MB / 474.8 MB Notification: Performance of SimCode: time 2.91e-07/0.1896, allocations: 0 / 0.85 GB, free: 1.832 MB / 474.8 MB Notification: Performance of Templates: time 0.003207/0.1928, allocations: 404.9 kB / 0.8504 GB, free: 1.504 MB / 474.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: 7.445899673970416]