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.001122/0.001122, allocations: 104.4 kB / 19.71 MB, free: 440 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.001003/0.001003, allocations: 217.3 kB / 23 MB, free: 2.969 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.035/1.035, allocations: 230.6 MB / 256.8 MB, free: 9.582 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.7666/0.7666, allocations: 312.3 MB / 0.6108 GB, free: 97.62 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: 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.001402/0.001402, allocations: 75.28 kB / 0.7699 GB, free: 20.23 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1324, allocations: 73.99 MB / 0.8421 GB, free: 10.37 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BD05_Ibutilide.Ibutilide_Zeng2017_PD_qtc): time 0.001406/0.1338, allocations: 0.624 MB / 0.8427 GB, free: 9.762 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 4.632e-05/0.1339, allocations: 19.86 kB / 0.8427 GB, free: 9.742 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.698e-05/0.1339, allocations: 0.625 kB / 0.8427 GB, free: 9.742 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.306e-05/0.1339, allocations: 0.5312 kB / 0.8427 GB, free: 9.742 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 2.588e-05/0.134, allocations: 3.938 kB / 0.8427 GB, free: 9.738 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 5.548e-05/0.134, allocations: 0.5312 kB / 0.8427 GB, free: 9.738 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 6.321e-05/0.1341, allocations: 20.47 kB / 0.8428 GB, free: 9.719 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.905e-05/0.1341, allocations: 4.562 kB / 0.8428 GB, free: 9.715 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 1.869e-05/0.1341, allocations: 7.984 kB / 0.8428 GB, free: 9.707 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.166e-05/0.1342, allocations: 8.531 kB / 0.8428 GB, free: 9.699 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.333e-05/0.1342, allocations: 0 / 0.8428 GB, free: 9.699 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.17e-06/0.1342, allocations: 0.5 kB / 0.8428 GB, free: 9.699 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 1.937e-05/0.1342, allocations: 16.61 kB / 0.8428 GB, free: 9.684 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 2.077e-05/0.1343, allocations: 0 / 0.8428 GB, free: 9.684 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 6.236e-05/0.1343, allocations: 16.42 kB / 0.8428 GB, free: 9.668 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1343, allocations: 0.5312 kB / 0.8428 GB, free: 9.668 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1343, allocations: 0 / 0.8428 GB, free: 9.668 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.1343, allocations: 0.5625 kB / 0.8428 GB, free: 9.668 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000288/0.1346, allocations: 254.9 kB / 0.8431 GB, free: 9.387 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.1346, allocations: 8.625 kB / 0.8431 GB, free: 9.379 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.59e-05/0.1347, allocations: 8.875 kB / 0.8431 GB, free: 9.371 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.887e-05/0.1348, allocations: 118.9 kB / 0.8432 GB, free: 9.23 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.905e-06/0.1348, allocations: 1 kB / 0.8432 GB, free: 9.23 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.307e-06/0.1348, allocations: 4.375 kB / 0.8432 GB, free: 9.227 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.542e-05/0.1349, allocations: 38.81 kB / 0.8432 GB, free: 9.184 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.1349, allocations: 0.7812 kB / 0.8432 GB, free: 9.184 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.1349, allocations: 3.938 kB / 0.8432 GB, free: 9.18 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.1349, allocations: 4.656 kB / 0.8432 GB, free: 9.176 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.367e-05/0.1349, allocations: 11.92 kB / 0.8433 GB, free: 9.164 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001085/0.135, allocations: 105.9 kB / 0.8434 GB, free: 9.031 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001492/0.1352, allocations: 55.31 kB / 0.8434 GB, free: 8.969 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.925e-05/0.1352, allocations: 17.48 kB / 0.8434 GB, free: 8.949 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 8.737e-06/0.1352, allocations: 0 / 0.8434 GB, free: 8.949 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.391e-05/0.1352, allocations: 35.34 kB / 0.8435 GB, free: 8.906 MB / 474.8 MB Notification: Performance of pre-optimization done (n=4): time 7.92e-07/0.1352, allocations: 0 / 0.8435 GB, free: 8.906 MB / 474.8 MB Notification: Performance of matching and sorting (n=4): time 0.0001316/0.1354, allocations: 58.19 kB / 0.8435 GB, free: 8.844 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.59e-05/0.1354, allocations: 52.03 kB / 0.8436 GB, free: 8.781 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.304e-05/0.1354, allocations: 101.9 kB / 0.8437 GB, free: 8.672 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 8.356e-06/0.1354, allocations: 26.33 kB / 0.8437 GB, free: 8.641 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.278e-05/0.1355, allocations: 88.12 kB / 0.8438 GB, free: 8.551 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.319e-05/0.1355, allocations: 12.5 kB / 0.8438 GB, free: 8.539 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.235e-05/0.1355, allocations: 18.22 kB / 0.8438 GB, free: 8.516 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 6.33e-05/0.1356, allocations: 310.8 kB / 0.8441 GB, free: 8.203 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.523e-05/0.1356, allocations: 8.484 kB / 0.8441 GB, free: 8.195 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.138e-05/0.1356, allocations: 8.719 kB / 0.8441 GB, free: 8.188 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.077e-05/0.1356, allocations: 16.86 kB / 0.8441 GB, free: 8.168 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1356, allocations: 0.9375 kB / 0.8441 GB, free: 8.168 MB / 474.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 4.8e-05/0.1357, allocations: 57.58 kB / 0.8442 GB, free: 8.105 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.1357, allocations: 6.938 kB / 0.8442 GB, free: 8.102 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.1357, allocations: 4.625 kB / 0.8442 GB, free: 8.098 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.1357, allocations: 7.938 kB / 0.8442 GB, free: 8.09 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.826e-05/0.1357, allocations: 4.594 kB / 0.8442 GB, free: 8.086 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.1357, allocations: 0.625 kB / 0.8442 GB, free: 8.086 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.188e-05/0.1358, allocations: 4 kB / 0.8442 GB, free: 8.082 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.658e-06/0.1358, allocations: 4.625 kB / 0.8442 GB, free: 8.078 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 (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 4.83e-05/0.1358, allocations: 111.4 kB / 0.8443 GB, free: 7.961 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.747e-06/0.1358, allocations: 4.438 kB / 0.8443 GB, free: 7.957 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.513e-05/0.1358, allocations: 11.69 kB / 0.8443 GB, free: 7.945 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.1358, allocations: 4.5 kB / 0.8443 GB, free: 7.941 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1358, allocations: 0.625 kB / 0.8443 GB, free: 7.941 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.1358, allocations: 0 / 0.8443 GB, free: 7.941 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.826e-05/0.1359, allocations: 113.8 kB / 0.8444 GB, free: 7.801 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.31e-07/0.1359, allocations: 0.625 kB / 0.8445 GB, free: 7.801 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.28e-05/0.1359, allocations: 7.938 kB / 0.8445 GB, free: 7.793 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-06/0.1359, allocations: 0.5938 kB / 0.8445 GB, free: 7.793 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.1359, allocations: 0.5312 kB / 0.8445 GB, free: 7.793 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.1359, allocations: 0 / 0.8445 GB, free: 7.793 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.1359, allocations: 12.41 kB / 0.8445 GB, free: 7.781 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.46e-05/0.136, allocations: 78.03 kB / 0.8445 GB, free: 7.688 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.058e-06/0.136, allocations: 48 / 0.8445 GB, free: 7.688 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.786e-06/0.136, allocations: 4.484 kB / 0.8445 GB, free: 7.684 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.974e-06/0.136, allocations: 0.6875 kB / 0.8446 GB, free: 7.684 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.678e-05/0.136, allocations: 11.92 kB / 0.8446 GB, free: 7.672 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.452e-06/0.136, allocations: 0.5938 kB / 0.8446 GB, free: 7.672 MB / 474.8 MB Notification: Performance of sorting global known variables: time 2.501e-05/0.136, allocations: 83.28 kB / 0.8446 GB, free: 7.59 MB / 474.8 MB Notification: Performance of sort global known variables: time 5e-08/0.136, allocations: 0.5 kB / 0.8446 GB, free: 7.59 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001123/0.1362, allocations: 4.625 kB / 0.8446 GB, free: 7.586 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 (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 7.786e-05/0.1362, allocations: 99.84 kB / 0.8447 GB, free: 7.477 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 7.298e-05/0.1363, allocations: 24.42 kB / 0.8448 GB, free: 7.453 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.1363, allocations: 0.5938 kB / 0.8448 GB, free: 7.453 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 1.131e-05/0.1363, allocations: 12 kB / 0.8448 GB, free: 7.441 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001032/0.1364, allocations: 0.625 kB / 0.8448 GB, free: 7.441 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002266/0.1366, allocations: 147.1 kB / 0.8449 GB, free: 7.266 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.724e-05/0.1367, allocations: 63.97 kB / 0.845 GB, free: 7.184 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.177e-05/0.1367, allocations: 8.062 kB / 0.845 GB, free: 7.176 MB / 474.8 MB Notification: Performance of SimCode: time 9.62e-07/0.1367, allocations: 0.6562 kB / 0.845 GB, free: 7.176 MB / 474.8 MB Notification: Performance of Templates: time 0.001806/0.1385, allocations: 0.5134 MB / 0.8455 GB, free: 6.68 MB / 474.8 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: 5.915337228216231]