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.001067/0.001067, allocations: 92.42 kB / 19.94 MB, free: 4.598 MB / 18.57 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.0009376/0.0009376, allocations: 165.9 kB / 23.21 MB, free: 1.324 MB / 18.57 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.9272/0.9272, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.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.7693/0.7693, allocations: 291.2 MB / 0.5382 GB, free: 51.9 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.904e-06/1.904e-06, allocations: 0 / 0.6973 GB, free: 10.4 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.774e-05/2.965e-05, allocations: 2.281 kB / 0.6973 GB, free: 10.4 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BC04_Flecainide.Flecainide_Sllstrm2014_PD_qrs): time 0.001179/0.001208, allocations: 0.6142 MB / 0.6979 GB, free: 9.785 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 4.04e-05/0.001249, allocations: 7.922 kB / 0.6979 GB, free: 9.777 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.498e-05/0.001274, allocations: 0 / 0.6979 GB, free: 9.777 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 1.398e-05/0.001288, allocations: 3.938 kB / 0.6979 GB, free: 9.773 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 2.57e-05/0.001313, allocations: 7.938 kB / 0.6979 GB, free: 9.766 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 5.001e-05/0.001363, allocations: 3.984 kB / 0.6979 GB, free: 9.762 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 5.607e-05/0.001419, allocations: 11.98 kB / 0.6979 GB, free: 9.75 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.706e-05/0.001466, allocations: 8 kB / 0.6979 GB, free: 9.742 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 3.357e-05/0.0015, allocations: 7.938 kB / 0.698 GB, free: 9.734 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 4.596e-05/0.001546, allocations: 7.984 kB / 0.698 GB, free: 9.727 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.087e-05/0.001567, allocations: 0 / 0.698 GB, free: 9.727 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.31e-06/0.001572, allocations: 4 kB / 0.698 GB, free: 9.723 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 1.366e-05/0.001586, allocations: 0 / 0.698 GB, free: 9.723 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 1.964e-05/0.001605, allocations: 7.922 kB / 0.698 GB, free: 9.715 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 5.146e-05/0.001657, allocations: 11.97 kB / 0.698 GB, free: 9.703 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.001659, allocations: 0 / 0.698 GB, free: 9.703 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.032e-06/0.00166, allocations: 0 / 0.698 GB, free: 9.703 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.018e-06/0.001664, allocations: 0 / 0.698 GB, free: 9.703 MB / 410.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.0002673/0.001931, allocations: 262.3 kB / 0.6982 GB, free: 9.414 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.001968, allocations: 8.031 kB / 0.6982 GB, free: 9.406 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.662e-05/0.001995, allocations: 4.938 kB / 0.6982 GB, free: 9.402 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.528e-05/0.00205, allocations: 113.7 kB / 0.6984 GB, free: 9.266 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.00206, allocations: 4.375 kB / 0.6984 GB, free: 9.262 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.574e-06/0.002068, allocations: 384 / 0.6984 GB, free: 9.262 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.16e-05/0.00214, allocations: 34.25 kB / 0.6984 GB, free: 9.223 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.052e-06/0.002146, allocations: 192 / 0.6984 GB, free: 9.223 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.854e-06/0.002153, allocations: 384 / 0.6984 GB, free: 9.223 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.002157, allocations: 384 / 0.6984 GB, free: 9.223 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.535e-05/0.002193, allocations: 15.94 kB / 0.6984 GB, free: 9.207 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.556e-05/0.002278, allocations: 109.4 kB / 0.6985 GB, free: 9.07 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002222/0.0025, allocations: 50.56 kB / 0.6986 GB, free: 9.012 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.067e-05/0.002521, allocations: 12.84 kB / 0.6986 GB, free: 8.996 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 8.686e-06/0.00253, allocations: 0 / 0.6986 GB, free: 8.996 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.318e-06/0.002539, allocations: 34.56 kB / 0.6986 GB, free: 8.953 MB / 410.8 MB Notification: Performance of pre-optimization done (n=3): time 7.12e-07/0.00254, allocations: 0 / 0.6986 GB, free: 8.953 MB / 410.8 MB Notification: Performance of matching and sorting (n=3): time 0.0001109/0.002651, allocations: 53.62 kB / 0.6987 GB, free: 8.895 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.051e-05/0.002671, allocations: 51.41 kB / 0.6987 GB, free: 8.832 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.742e-05/0.002709, allocations: 109.8 kB / 0.6988 GB, free: 8.715 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 4.198e-06/0.002713, allocations: 29.7 kB / 0.6988 GB, free: 8.68 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.505e-05/0.002728, allocations: 88.06 kB / 0.6989 GB, free: 8.59 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.287e-05/0.002751, allocations: 23.78 kB / 0.6989 GB, free: 8.566 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.39e-05/0.002775, allocations: 9.719 kB / 0.699 GB, free: 8.551 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 2.875e-05/0.002803, allocations: 318.8 kB / 0.6993 GB, free: 8.23 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.183e-05/0.002815, allocations: 7.984 kB / 0.6993 GB, free: 8.223 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.175e-06/0.002823, allocations: 0 / 0.6993 GB, free: 8.223 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.565e-05/0.002849, allocations: 16.86 kB / 0.6993 GB, free: 8.203 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.00285, allocations: 0 / 0.6993 GB, free: 8.203 MB / 410.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 3.698e-05/0.002887, allocations: 45.69 kB / 0.6993 GB, free: 8.152 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.498e-06/0.002897, allocations: 8 kB / 0.6993 GB, free: 8.145 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.002901, allocations: 4.328 kB / 0.6993 GB, free: 8.141 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.002912, allocations: 0 / 0.6993 GB, free: 8.141 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.713e-05/0.002939, allocations: 7.938 kB / 0.6993 GB, free: 8.133 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.002944, allocations: 0 / 0.6993 GB, free: 8.133 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.19e-05/0.002955, allocations: 3.938 kB / 0.6993 GB, free: 8.129 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.367e-06/0.002959, allocations: 0 / 0.6993 GB, free: 8.129 MB / 410.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 3.224e-05/0.002991, allocations: 113.8 kB / 0.6995 GB, free: 8.008 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.487e-06/0.002995, allocations: 7.938 kB / 0.6995 GB, free: 8 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.633e-05/0.003011, allocations: 11.98 kB / 0.6995 GB, free: 7.988 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.003012, allocations: 0 / 0.6995 GB, free: 7.988 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.003016, allocations: 4 kB / 0.6995 GB, free: 7.984 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.003018, allocations: 3.938 kB / 0.6995 GB, free: 7.98 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.615e-05/0.003054, allocations: 101.3 kB / 0.6996 GB, free: 7.852 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.3e-07/0.003055, allocations: 0 / 0.6996 GB, free: 7.852 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.042e-05/0.003065, allocations: 7.984 kB / 0.6996 GB, free: 7.844 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.02e-07/0.003066, allocations: 0 / 0.6996 GB, free: 7.844 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.969e-06/0.003071, allocations: 4 kB / 0.6996 GB, free: 7.84 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.81e-07/0.003071, allocations: 0 / 0.6996 GB, free: 7.84 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.5e-07/0.003072, allocations: 0 / 0.6996 GB, free: 7.84 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.361e-05/0.003115, allocations: 77 kB / 0.6997 GB, free: 7.746 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.659e-06/0.00312, allocations: 7.953 kB / 0.6997 GB, free: 7.738 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.604e-06/0.003128, allocations: 4 kB / 0.6997 GB, free: 7.734 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.473e-06/0.003134, allocations: 3.938 kB / 0.6997 GB, free: 7.73 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.059e-05/0.003145, allocations: 0 / 0.6997 GB, free: 7.73 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-06/0.003146, allocations: 4.25 kB / 0.6997 GB, free: 7.727 MB / 410.8 MB Notification: Performance of sorting global known variables: time 1.429e-05/0.00316, allocations: 91.27 kB / 0.6998 GB, free: 7.637 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.00316, allocations: 0 / 0.6998 GB, free: 7.637 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001037/0.003264, allocations: 7.938 kB / 0.6998 GB, free: 7.629 MB / 410.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 4.604e-05/0.00331, allocations: 99.25 kB / 0.6999 GB, free: 7.523 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 5.75e-05/0.003368, allocations: 15.98 kB / 0.6999 GB, free: 7.508 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.003369, allocations: 0 / 0.6999 GB, free: 7.508 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 8.035e-06/0.003377, allocations: 11.94 kB / 0.6999 GB, free: 7.496 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.897e-05/0.003476, allocations: 7.938 kB / 0.6999 GB, free: 7.488 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001797/0.003656, allocations: 134.5 kB / 0.7 GB, free: 7.324 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.046e-05/0.003686, allocations: 63.34 kB / 0.7001 GB, free: 7.242 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.996e-05/0.003706, allocations: 8.5 kB / 0.7001 GB, free: 7.234 MB / 410.8 MB Notification: Performance of SimCode: time 3.31e-07/0.003706, allocations: 0 / 0.7001 GB, free: 7.234 MB / 410.8 MB Notification: Performance of Templates: time 0.001242/0.004948, allocations: 0.5003 MB / 0.7006 GB, free: 6.738 MB / 410.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: 5.1184377847239375]