Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BD04_Dofetilide.Dofetilide_Le1995_PD_qtc.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.00144/0.00144, allocations: 92.52 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.001506/0.001506, allocations: 169.9 kB / 23.21 MB, free: 1.332 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.9417/0.9417, allocations: 177.2 MB / 203.5 MB, free: 5.738 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.7343/0.7343, allocations: 291.2 MB / 0.5382 GB, free: 51.75 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.C01BD04_Dofetilide.Dofetilide_Le1995_PD_qtc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BD04_Dofetilide.Dofetilide_Le1995_PD_qtc") translateModel(Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BD04_Dofetilide.Dofetilide_Le1995_PD_qtc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BD04_Dofetilide.Dofetilide_Le1995_PD_qtc") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 0.6974 GB, free: 10.41 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.671e-05/2.852e-05, allocations: 8.891 kB / 0.6974 GB, free: 10.4 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BD04_Dofetilide.Dofetilide_Le1995_PD_qtc): time 0.001178/0.001206, allocations: 0.6182 MB / 0.698 GB, free: 9.781 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 4.475e-05/0.001251, allocations: 7.984 kB / 0.698 GB, free: 9.773 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.672e-05/0.001278, allocations: 0 / 0.698 GB, free: 9.773 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 1.446e-05/0.001292, allocations: 7.875 kB / 0.698 GB, free: 9.766 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 2.883e-05/0.001321, allocations: 8 kB / 0.698 GB, free: 9.758 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 5.185e-05/0.001373, allocations: 3.984 kB / 0.698 GB, free: 9.754 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 5.78e-05/0.001431, allocations: 11.98 kB / 0.698 GB, free: 9.742 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.28e-05/0.001484, allocations: 7.984 kB / 0.698 GB, free: 9.734 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 3.456e-05/0.001518, allocations: 7.938 kB / 0.698 GB, free: 9.727 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.081e-05/0.001569, allocations: 3.984 kB / 0.698 GB, free: 9.723 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.069e-05/0.00159, allocations: 4 kB / 0.698 GB, free: 9.719 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.649e-06/0.001594, allocations: 0 / 0.698 GB, free: 9.719 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 1.467e-05/0.001609, allocations: 7.938 kB / 0.698 GB, free: 9.711 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 2.058e-05/0.00163, allocations: 11.92 kB / 0.698 GB, free: 9.699 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 5.128e-05/0.001681, allocations: 3.984 kB / 0.6981 GB, free: 9.695 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.001683, allocations: 8 kB / 0.6981 GB, free: 9.688 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.132e-06/0.001684, allocations: 0 / 0.6981 GB, free: 9.688 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.001689, allocations: 0 / 0.6981 GB, free: 9.688 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002725/0.001961, allocations: 258.3 kB / 0.6983 GB, free: 9.402 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.002005, allocations: 8.031 kB / 0.6983 GB, free: 9.395 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.707e-05/0.002032, allocations: 0.9375 kB / 0.6983 GB, free: 9.395 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.826e-05/0.00209, allocations: 117.7 kB / 0.6984 GB, free: 9.254 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.0021, allocations: 384 / 0.6984 GB, free: 9.254 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.916e-06/0.002109, allocations: 4.375 kB / 0.6984 GB, free: 9.25 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.071e-05/0.00219, allocations: 42.23 kB / 0.6985 GB, free: 9.203 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.002196, allocations: 4.188 kB / 0.6985 GB, free: 9.199 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-06/0.002205, allocations: 384 / 0.6985 GB, free: 9.199 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.002209, allocations: 384 / 0.6985 GB, free: 9.199 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.749e-05/0.002246, allocations: 19.86 kB / 0.6985 GB, free: 9.18 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.733e-05/0.002344, allocations: 113.3 kB / 0.6986 GB, free: 9.039 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001559/0.0025, allocations: 42.64 kB / 0.6986 GB, free: 8.988 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.521e-05/0.002525, allocations: 12.86 kB / 0.6987 GB, free: 8.973 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 8.386e-06/0.002533, allocations: 0 / 0.6987 GB, free: 8.973 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.216e-05/0.002545, allocations: 38.69 kB / 0.6987 GB, free: 8.926 MB / 410.8 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.002546, allocations: 0 / 0.6987 GB, free: 8.926 MB / 410.8 MB Notification: Performance of matching and sorting (n=4): time 0.0001382/0.002685, allocations: 61.62 kB / 0.6988 GB, free: 8.859 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.249e-05/0.002707, allocations: 55.34 kB / 0.6988 GB, free: 8.793 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.064e-05/0.002748, allocations: 105.8 kB / 0.6989 GB, free: 8.68 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 4.609e-06/0.002752, allocations: 25.7 kB / 0.6989 GB, free: 8.648 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.186e-05/0.002764, allocations: 80.14 kB / 0.699 GB, free: 8.566 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.742e-05/0.002792, allocations: 23.83 kB / 0.699 GB, free: 8.543 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.975e-05/0.002811, allocations: 9.719 kB / 0.699 GB, free: 8.527 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.108e-05/0.002842, allocations: 318.8 kB / 0.6993 GB, free: 8.207 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.44e-05/0.002857, allocations: 4 kB / 0.6993 GB, free: 8.203 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.169e-05/0.002869, allocations: 11.98 kB / 0.6994 GB, free: 8.191 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.077e-05/0.002899, allocations: 16.86 kB / 0.6994 GB, free: 8.172 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.002901, allocations: 4 kB / 0.6994 GB, free: 8.168 MB / 410.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.76e-05/0.002959, allocations: 57.58 kB / 0.6994 GB, free: 8.105 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.002972, allocations: 4 kB / 0.6994 GB, free: 8.102 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.002977, allocations: 0 / 0.6994 GB, free: 8.102 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.002988, allocations: 0 / 0.6994 GB, free: 8.102 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.995e-05/0.003028, allocations: 8 kB / 0.6994 GB, free: 8.094 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.003033, allocations: 0 / 0.6994 GB, free: 8.094 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.137e-05/0.003045, allocations: 3.938 kB / 0.6994 GB, free: 8.09 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.137e-06/0.003049, allocations: 0 / 0.6994 GB, free: 8.09 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 (4): * Single equations (assignments): 4 * 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.7e-05/0.003086, allocations: 113.8 kB / 0.6996 GB, free: 7.969 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.547e-06/0.003089, allocations: 4 kB / 0.6996 GB, free: 7.965 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.556e-05/0.003105, allocations: 12 kB / 0.6996 GB, free: 7.953 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.003107, allocations: 4 kB / 0.6996 GB, free: 7.949 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.00311, allocations: 0 / 0.6996 GB, free: 7.949 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.003114, allocations: 7.922 kB / 0.6996 GB, free: 7.941 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.465e-05/0.003158, allocations: 101.3 kB / 0.6997 GB, free: 7.812 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-07/0.003159, allocations: 0 / 0.6997 GB, free: 7.812 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.484e-05/0.003174, allocations: 15.92 kB / 0.6997 GB, free: 7.797 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.003175, allocations: 0 / 0.6997 GB, free: 7.797 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-06/0.003181, allocations: 0 / 0.6997 GB, free: 7.797 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.003182, allocations: 0 / 0.6997 GB, free: 7.797 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.003182, allocations: 4 kB / 0.6997 GB, free: 7.793 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.797e-05/0.00324, allocations: 77.02 kB / 0.6998 GB, free: 7.699 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.129e-06/0.003246, allocations: 4.25 kB / 0.6998 GB, free: 7.695 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.818e-06/0.003255, allocations: 4 kB / 0.6998 GB, free: 7.691 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.804e-06/0.003263, allocations: 11.88 kB / 0.6998 GB, free: 7.68 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.181e-05/0.003275, allocations: 0 / 0.6998 GB, free: 7.68 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-06/0.003277, allocations: 4 kB / 0.6998 GB, free: 7.676 MB / 410.8 MB Notification: Performance of sorting global known variables: time 1.648e-05/0.003293, allocations: 83.27 kB / 0.6999 GB, free: 7.594 MB / 410.8 MB Notification: Performance of sort global known variables: time 6.1e-08/0.003293, allocations: 0 / 0.6999 GB, free: 7.594 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001071/0.0034, allocations: 11.94 kB / 0.6999 GB, free: 7.582 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 (4): * Single equations (assignments): 4 * 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.786e-05/0.003468, allocations: 107.2 kB / 0.7 GB, free: 7.469 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 7.74e-05/0.003546, allocations: 19.98 kB / 0.7 GB, free: 7.449 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.003548, allocations: 0 / 0.7 GB, free: 7.449 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 9.658e-06/0.003557, allocations: 8 kB / 0.7 GB, free: 7.441 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001128/0.00367, allocations: 2.5 kB / 0.7 GB, free: 7.441 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002173/0.003888, allocations: 142.5 kB / 0.7002 GB, free: 7.27 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.803e-05/0.003916, allocations: 63.28 kB / 0.7002 GB, free: 7.188 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.323e-05/0.003939, allocations: 12.5 kB / 0.7002 GB, free: 7.176 MB / 410.8 MB Notification: Performance of SimCode: time 4.71e-07/0.003939, allocations: 4 kB / 0.7002 GB, free: 7.172 MB / 410.8 MB Notification: Performance of Templates: time 0.001358/0.005298, allocations: 0.5204 MB / 0.7007 GB, free: 6.656 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BD04_Dofetilide.Dofetilide_Le1995_PD_qtc.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BD04_Dofetilide.Dofetilide_Le1995_PD_qtc.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BD04_Dofetilide.Dofetilide_Le1995_PD_qtc.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BD04_Dofetilide.Dofetilide_Le1995_PD_qtc.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BD04_Dofetilide.Dofetilide_Le1995_PD_qtc.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BD04_Dofetilide.Dofetilide_Le1995_PD_qtc > Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BD04_Dofetilide.Dofetilide_Le1995_PD_qtc.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.0216805543750525]