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.001046/0.001046, allocations: 104.4 kB / 19.71 MB, free: 436 kB / 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.001086/0.001086, allocations: 215.5 kB / 23 MB, free: 2.961 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.982/0.982, allocations: 230.6 MB / 256.8 MB, free: 9.586 MB / 202.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.7811/0.7811, allocations: 312.3 MB / 0.6109 GB, free: 97.02 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: 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.002288/0.002288, allocations: 77.31 kB / 0.7699 GB, free: 19.8 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1507, allocations: 73.98 MB / 0.8421 GB, free: 9.953 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BC04_Flecainide.Flecainide_Sllstrm2014_PD_qrs): time 0.001543/0.1522, allocations: 0.6216 MB / 0.8427 GB, free: 9.348 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 4.399e-05/0.1523, allocations: 4.5 kB / 0.8427 GB, free: 9.344 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.848e-05/0.1523, allocations: 0 / 0.8427 GB, free: 9.344 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.482e-05/0.1523, allocations: 0.625 kB / 0.8427 GB, free: 9.344 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 4.291e-05/0.1523, allocations: 4.438 kB / 0.8427 GB, free: 9.34 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 6.731e-05/0.1524, allocations: 4.484 kB / 0.8427 GB, free: 9.336 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 7.454e-05/0.1525, allocations: 19.92 kB / 0.8428 GB, free: 9.316 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 6.475e-05/0.1525, allocations: 4.516 kB / 0.8428 GB, free: 9.312 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.01e-05/0.1526, allocations: 4.656 kB / 0.8428 GB, free: 9.309 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.848e-05/0.1526, allocations: 15.92 kB / 0.8428 GB, free: 9.293 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.676e-05/0.1527, allocations: 0.75 kB / 0.8428 GB, free: 9.293 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.911e-06/0.1527, allocations: 0 / 0.8428 GB, free: 9.293 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 1.878e-05/0.1527, allocations: 0.625 kB / 0.8428 GB, free: 9.293 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 2.728e-05/0.1527, allocations: 7.938 kB / 0.8428 GB, free: 9.285 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 8.021e-05/0.1528, allocations: 12.48 kB / 0.8428 GB, free: 9.273 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 8.606e-06/0.1528, allocations: 4.625 kB / 0.8428 GB, free: 9.27 MB / 474.8 MB Notification: Performance of FrontEnd: time 3.757e-06/0.1528, allocations: 0 / 0.8428 GB, free: 9.27 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.1528, allocations: 0.5938 kB / 0.8428 GB, free: 9.27 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.0004019/0.1532, allocations: 254.9 kB / 0.843 GB, free: 8.988 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.1533, allocations: 12.03 kB / 0.8431 GB, free: 8.977 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.201e-05/0.1533, allocations: 2.062 kB / 0.8431 GB, free: 8.977 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.1534, allocations: 114.5 kB / 0.8432 GB, free: 8.84 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.1534, allocations: 4.375 kB / 0.8432 GB, free: 8.836 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.1534, allocations: 1.125 kB / 0.8432 GB, free: 8.836 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000112/0.1535, allocations: 34.25 kB / 0.8432 GB, free: 8.797 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.1535, allocations: 4.75 kB / 0.8432 GB, free: 8.793 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.1536, allocations: 4.562 kB / 0.8432 GB, free: 8.789 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.1536, allocations: 0 / 0.8432 GB, free: 8.789 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.491e-05/0.1536, allocations: 16.52 kB / 0.8432 GB, free: 8.773 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001511/0.1538, allocations: 106 kB / 0.8433 GB, free: 8.641 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003337/0.1541, allocations: 47.28 kB / 0.8434 GB, free: 8.586 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.713e-05/0.1541, allocations: 8.859 kB / 0.8434 GB, free: 8.574 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 8.627e-06/0.1541, allocations: 0.6875 kB / 0.8434 GB, free: 8.574 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.1541, allocations: 38.56 kB / 0.8434 GB, free: 8.527 MB / 474.8 MB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.1541, allocations: 0.5625 kB / 0.8434 GB, free: 8.527 MB / 474.8 MB Notification: Performance of matching and sorting (n=3): time 0.0001606/0.1543, allocations: 58.25 kB / 0.8435 GB, free: 8.465 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/0.1543, allocations: 60.09 kB / 0.8435 GB, free: 8.395 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.517e-05/0.1544, allocations: 101.8 kB / 0.8436 GB, free: 8.285 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/0.1544, allocations: 26.3 kB / 0.8437 GB, free: 8.254 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.841e-05/0.1545, allocations: 88.14 kB / 0.8437 GB, free: 8.164 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.02e-05/0.1545, allocations: 8.578 kB / 0.8438 GB, free: 8.156 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.98e-05/0.1545, allocations: 17.66 kB / 0.8438 GB, free: 8.133 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 9.743e-05/0.1546, allocations: 319.5 kB / 0.8441 GB, free: 7.812 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.025e-05/0.1547, allocations: 4 kB / 0.8441 GB, free: 7.809 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.65e-05/0.1547, allocations: 8.656 kB / 0.8441 GB, free: 7.801 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.195e-05/0.1547, allocations: 17.48 kB / 0.8441 GB, free: 7.781 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.1547, allocations: 256 / 0.8441 GB, free: 7.781 MB / 474.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.435e-05/0.1548, allocations: 50.12 kB / 0.8442 GB, free: 7.727 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.1548, allocations: 4.625 kB / 0.8442 GB, free: 7.723 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.1548, allocations: 4 kB / 0.8442 GB, free: 7.719 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.1548, allocations: 4.562 kB / 0.8442 GB, free: 7.715 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.564e-05/0.1549, allocations: 4 kB / 0.8442 GB, free: 7.711 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/0.1549, allocations: 0.6875 kB / 0.8442 GB, free: 7.711 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.62e-05/0.1549, allocations: 7.984 kB / 0.8442 GB, free: 7.703 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/0.1549, allocations: 0.6562 kB / 0.8442 GB, free: 7.703 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 7.047e-05/0.155, allocations: 111.6 kB / 0.8443 GB, free: 7.586 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.454e-06/0.155, allocations: 8.547 kB / 0.8443 GB, free: 7.578 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.767e-05/0.155, allocations: 8 kB / 0.8443 GB, free: 7.566 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.155, allocations: 4.531 kB / 0.8443 GB, free: 7.562 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.155, allocations: 0 / 0.8443 GB, free: 7.562 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.155, allocations: 0.5312 kB / 0.8443 GB, free: 7.562 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.139e-05/0.1551, allocations: 105.9 kB / 0.8444 GB, free: 7.43 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1551, allocations: 0 / 0.8444 GB, free: 7.43 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.639e-05/0.1551, allocations: 4.5 kB / 0.8444 GB, free: 7.426 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-06/0.1551, allocations: 0.625 kB / 0.8444 GB, free: 7.426 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.1551, allocations: 4 kB / 0.8444 GB, free: 7.422 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.1551, allocations: 4.5 kB / 0.8444 GB, free: 7.418 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.1552, allocations: 4.625 kB / 0.8444 GB, free: 7.414 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.206e-05/0.1552, allocations: 69.12 kB / 0.8445 GB, free: 7.328 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.667e-06/0.1553, allocations: 4.484 kB / 0.8445 GB, free: 7.324 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.1553, allocations: 0.5312 kB / 0.8445 GB, free: 7.324 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.983e-06/0.1553, allocations: 0 / 0.8445 GB, free: 7.324 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.451e-05/0.1553, allocations: 16.45 kB / 0.8445 GB, free: 7.309 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.003e-06/0.1553, allocations: 0.5 kB / 0.8445 GB, free: 7.309 MB / 474.8 MB Notification: Performance of sorting global known variables: time 3.978e-05/0.1553, allocations: 83.28 kB / 0.8446 GB, free: 7.227 MB / 474.8 MB Notification: Performance of sort global known variables: time 5e-08/0.1553, allocations: 0.625 kB / 0.8446 GB, free: 7.227 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001192/0.1555, allocations: 4.688 kB / 0.8446 GB, free: 7.223 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.0001146/0.1556, allocations: 99.75 kB / 0.8447 GB, free: 7.117 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0001043/0.1557, allocations: 24.52 kB / 0.8447 GB, free: 7.094 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.1557, allocations: 0 / 0.8447 GB, free: 7.094 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 9.047e-06/0.1557, allocations: 4.625 kB / 0.8447 GB, free: 7.09 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001337/0.1558, allocations: 6.531 kB / 0.8447 GB, free: 7.086 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003427/0.1562, allocations: 139.2 kB / 0.8449 GB, free: 6.918 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.934e-05/0.1562, allocations: 64.47 kB / 0.8449 GB, free: 6.836 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.015e-05/0.1563, allocations: 7.438 kB / 0.8449 GB, free: 6.828 MB / 474.8 MB Notification: Performance of SimCode: time 9.42e-07/0.1563, allocations: 0.5 kB / 0.8449 GB, free: 6.828 MB / 474.8 MB Notification: Performance of Templates: time 0.001876/0.1581, allocations: 0.4976 MB / 0.8454 GB, free: 6.352 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 > 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.2385807652026415]