Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BD05_Ibutilide.Ibutilide_Zeng2017_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.0006764/0.0006764, allocations: 68.19 kB / 9.865 MB, free: 0.8242 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009302/0.001607, allocations: 443.8 kB / 10.3 MB, free: 400 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.0007548/0.0007548, allocations: 157.2 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009437/0.001698, allocations: 463.6 kB / 11.64 MB, free: 2.527 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.9597/0.9597, allocations: 177.2 MB / 189.5 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09941/1.059, allocations: 53.66 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.7556/0.7556, allocations: 291.2 MB / 0.5226 GB, free: 52.95 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02964/0.7853, allocations: 21.04 MB / 0.5431 GB, free: 31.97 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.C01BD05_Ibutilide.Ibutilide_Zeng2017_PD_qtc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BD05_Ibutilide.Ibutilide_Zeng2017_PD_qtc") translateModel(Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BD05_Ibutilide.Ibutilide_Zeng2017_PD_qtc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BD05_Ibutilide.Ibutilide_Zeng2017_PD_qtc") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 0.5444 GB, free: 30.64 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.011e-05/2.146e-05, allocations: 6.25 kB / 0.5444 GB, free: 30.63 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BD05_Ibutilide.Ibutilide_Zeng2017_PD_qtc): time 0.001422/0.001444, allocations: 0.7002 MB / 0.5451 GB, free: 29.94 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 2.917e-05/0.001473, allocations: 7.922 kB / 0.5451 GB, free: 29.93 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.605e-05/0.001489, allocations: 0 / 0.5451 GB, free: 29.93 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.468e-06/0.001494, allocations: 0 / 0.5451 GB, free: 29.93 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.306e-06/0.001502, allocations: 7.938 kB / 0.5451 GB, free: 29.93 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.477e-05/0.001527, allocations: 11.98 kB / 0.5451 GB, free: 29.91 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.447e-05/0.001571, allocations: 7.938 kB / 0.5451 GB, free: 29.91 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.718e-05/0.001608, allocations: 4 kB / 0.5451 GB, free: 29.9 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.942e-05/0.001658, allocations: 11.98 kB / 0.5451 GB, free: 29.89 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.679e-05/0.001705, allocations: 7.984 kB / 0.5452 GB, free: 29.88 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.926e-05/0.001724, allocations: 0 / 0.5452 GB, free: 29.88 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.839e-06/0.001729, allocations: 4 kB / 0.5452 GB, free: 29.88 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.025e-05/0.001739, allocations: 3.938 kB / 0.5452 GB, free: 29.88 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.63e-05/0.001755, allocations: 4 kB / 0.5452 GB, free: 29.87 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 5.25e-05/0.001808, allocations: 15.91 kB / 0.5452 GB, free: 29.86 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.42e-05/0.001822, allocations: 4 kB / 0.5452 GB, free: 29.85 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.51e-07/0.001822, allocations: 0 / 0.5452 GB, free: 29.85 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.29e-05/0.001835, allocations: 0 / 0.5452 GB, free: 29.85 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002679/0.002103, allocations: 231.1 kB / 0.5454 GB, free: 29.6 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.156e-05/0.002135, allocations: 15.89 kB / 0.5454 GB, free: 29.59 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.151e-05/0.002156, allocations: 0.9375 kB / 0.5454 GB, free: 29.59 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.496e-05/0.002211, allocations: 113.7 kB / 0.5455 GB, free: 29.45 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.002223, allocations: 4.312 kB / 0.5455 GB, free: 29.45 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.334e-06/0.002231, allocations: 4.375 kB / 0.5455 GB, free: 29.44 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.414e-05/0.002295, allocations: 38.25 kB / 0.5456 GB, free: 29.4 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.202e-06/0.002301, allocations: 4.188 kB / 0.5456 GB, free: 29.39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.951e-06/0.002307, allocations: 384 / 0.5456 GB, free: 29.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.002312, allocations: 384 / 0.5456 GB, free: 29.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.103e-05/0.002333, allocations: 15.86 kB / 0.5456 GB, free: 29.38 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.41e-05/0.002407, allocations: 61.03 kB / 0.5457 GB, free: 29.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001385/0.002545, allocations: 38.61 kB / 0.5457 GB, free: 29.26 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.049e-05/0.002566, allocations: 16.86 kB / 0.5457 GB, free: 29.24 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.672e-06/0.002573, allocations: 0 / 0.5457 GB, free: 29.24 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.561e-05/0.002588, allocations: 37.77 kB / 0.5457 GB, free: 29.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.002589, allocations: 4 kB / 0.5457 GB, free: 29.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 8.453e-05/0.002674, allocations: 45.81 kB / 0.5458 GB, free: 29.14 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.782e-05/0.002692, allocations: 55.41 kB / 0.5458 GB, free: 29.07 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.461e-05/0.002726, allocations: 102.7 kB / 0.5459 GB, free: 28.96 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.028e-06/0.00273, allocations: 25.7 kB / 0.546 GB, free: 28.93 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.218e-06/0.00274, allocations: 84.14 kB / 0.546 GB, free: 28.84 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.396e-05/0.002764, allocations: 15.89 kB / 0.5461 GB, free: 28.83 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.794e-05/0.002792, allocations: 17.7 kB / 0.5461 GB, free: 28.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.823e-05/0.00282, allocations: 314.8 kB / 0.5464 GB, free: 28.49 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.544e-06/0.002827, allocations: 4 kB / 0.5464 GB, free: 28.48 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.307e-06/0.002837, allocations: 11.97 kB / 0.5464 GB, free: 28.47 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.335e-05/0.00286, allocations: 16.86 kB / 0.5464 GB, free: 28.45 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.002861, allocations: 0 / 0.5464 GB, free: 28.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 4.382e-05/0.002905, allocations: 45.62 kB / 0.5464 GB, free: 28.4 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.002916, allocations: 4 kB / 0.5465 GB, free: 28.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.00292, allocations: 0 / 0.5465 GB, free: 28.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.995e-06/0.002928, allocations: 0 / 0.5465 GB, free: 28.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.647e-05/0.002964, allocations: 12 kB / 0.5465 GB, free: 28.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.394e-06/0.002967, allocations: 3.984 kB / 0.5465 GB, free: 28.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.306e-05/0.00298, allocations: 0 / 0.5465 GB, free: 28.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.517e-06/0.002983, allocations: 0 / 0.5465 GB, free: 28.38 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 (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.38e-05/0.003017, allocations: 121.7 kB / 0.5466 GB, free: 28.25 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.282e-06/0.003023, allocations: 0 / 0.5466 GB, free: 28.25 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.647e-05/0.00304, allocations: 11.69 kB / 0.5466 GB, free: 28.25 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.003041, allocations: 3.938 kB / 0.5466 GB, free: 28.24 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-06/0.003043, allocations: 0 / 0.5466 GB, free: 28.24 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.003045, allocations: 0 / 0.5466 GB, free: 28.24 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.067e-05/0.003096, allocations: 77.81 kB / 0.5467 GB, free: 28.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-07/0.003096, allocations: 0 / 0.5467 GB, free: 28.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.918e-05/0.003116, allocations: 7.938 kB / 0.5467 GB, free: 28.14 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.971e-06/0.003122, allocations: 7.953 kB / 0.5467 GB, free: 28.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.003123, allocations: 2.75 kB / 0.5467 GB, free: 28.13 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.537e-06/0.003127, allocations: 4 kB / 0.5467 GB, free: 28.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.82e-07/0.003127, allocations: 0 / 0.5467 GB, free: 28.13 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.003129, allocations: 0 / 0.5467 GB, free: 28.13 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005067/0.008196, allocations: 69.06 kB / 0.5468 GB, free: 28.04 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.257e-06/0.008205, allocations: 7.984 kB / 0.5468 GB, free: 28.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.068e-05/0.008216, allocations: 0 / 0.5468 GB, free: 28.04 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.08e-05/0.008226, allocations: 0 / 0.5468 GB, free: 28.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.008229, allocations: 0 / 0.5468 GB, free: 28.04 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.808e-06/0.008238, allocations: 8.859 kB / 0.5468 GB, free: 28.02 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008238, allocations: 0 / 0.5468 GB, free: 28.02 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001463/0.008385, allocations: 8 kB / 0.5468 GB, free: 28.02 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 (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.679e-05/0.008452, allocations: 92.34 kB / 0.5469 GB, free: 27.91 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.8e-05/0.00851, allocations: 20.84 kB / 0.5469 GB, free: 27.89 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.008513, allocations: 0 / 0.5469 GB, free: 27.89 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.181e-05/0.008524, allocations: 17.12 kB / 0.5469 GB, free: 27.87 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.669e-05/0.008591, allocations: 5.906 kB / 0.5469 GB, free: 27.87 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001831/0.008774, allocations: 150.1 kB / 0.5471 GB, free: 27.69 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.462e-05/0.008799, allocations: 59.34 kB / 0.5471 GB, free: 27.61 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.003e-05/0.008829, allocations: 51.38 kB / 0.5472 GB, free: 27.56 MB / 410.7 MB Notification: Performance of SimCode: time 4.01e-07/0.008829, allocations: 4 kB / 0.5472 GB, free: 27.55 MB / 410.7 MB Notification: Performance of Templates: time 0.001133/0.009962, allocations: 0.5235 MB / 0.5477 GB, free: 27.05 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BD05_Ibutilide.Ibutilide_Zeng2017_PD_qtc.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BD05_Ibutilide.Ibutilide_Zeng2017_PD_qtc.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BD05_Ibutilide.Ibutilide_Zeng2017_PD_qtc.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BD05_Ibutilide.Ibutilide_Zeng2017_PD_qtc.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BD05_Ibutilide.Ibutilide_Zeng2017_PD_qtc.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BD05_Ibutilide.Ibutilide_Zeng2017_PD_qtc > Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BD05_Ibutilide.Ibutilide_Zeng2017_PD_qtc.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.833735895343125]