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.001867/0.001867, allocations: 101.5 kB / 18.95 MB, free: 1.18 MB / 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.002068/0.002068, allocations: 218.4 kB / 22.25 MB, free: 3.566 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.873/1.873, allocations: 230.6 MB / 256 MB, free: 9.582 MB / 202.7 MB " [Timeout remaining time 178] 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 1.388/1.388, allocations: 316.8 MB / 0.6144 GB, free: 93.51 MB / 410.7 MB " [Timeout remaining time 178] 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: 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.004399/0.004399, allocations: 78.03 kB / 0.775 GB, free: 15.02 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1759/0.1803, allocations: 73.99 MB / 0.8472 GB, free: 5.172 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BD04_Dofetilide.Dofetilide_Le1995_PD_qtc): time 0.002561/0.1828, allocations: 0.626 MB / 0.8479 GB, free: 4.559 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 7.572e-05/0.1829, allocations: 12.66 kB / 0.8479 GB, free: 4.547 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.701e-05/0.183, allocations: 0.625 kB / 0.8479 GB, free: 4.547 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.438e-05/0.183, allocations: 0 / 0.8479 GB, free: 4.547 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 4.675e-05/0.183, allocations: 6.562 kB / 0.8479 GB, free: 4.543 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 6.481e-05/0.1831, allocations: 3.984 kB / 0.8479 GB, free: 4.539 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 8.459e-05/0.1832, allocations: 15.98 kB / 0.8479 GB, free: 4.523 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.526e-05/0.1832, allocations: 0 / 0.8479 GB, free: 4.523 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.737e-05/0.1832, allocations: 7.938 kB / 0.8479 GB, free: 4.516 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 7.335e-05/0.1833, allocations: 11.92 kB / 0.8479 GB, free: 4.504 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.657e-05/0.1833, allocations: 0 / 0.8479 GB, free: 4.504 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.662e-06/0.1833, allocations: 0.7812 kB / 0.8479 GB, free: 4.504 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 2.629e-05/0.1834, allocations: 7.984 kB / 0.8479 GB, free: 4.496 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 3.12e-05/0.1834, allocations: 13.02 kB / 0.8479 GB, free: 4.484 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 7.716e-05/0.1835, allocations: 11.92 kB / 0.8479 GB, free: 4.473 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1835, allocations: 0 / 0.8479 GB, free: 4.473 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1835, allocations: 0.5625 kB / 0.8479 GB, free: 4.473 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.1835, allocations: 0 / 0.8479 GB, free: 4.473 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.0005481/0.184, allocations: 255 kB / 0.8482 GB, free: 4.191 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.1841, allocations: 8.594 kB / 0.8482 GB, free: 4.184 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.49e-05/0.1841, allocations: 5.531 kB / 0.8482 GB, free: 4.18 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001663/0.1843, allocations: 126.3 kB / 0.8483 GB, free: 4.031 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.407e-06/0.1843, allocations: 1 kB / 0.8483 GB, free: 4.031 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.404e-05/0.1843, allocations: 5.031 kB / 0.8483 GB, free: 4.027 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/0.1844, allocations: 38.25 kB / 0.8484 GB, free: 3.984 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.1845, allocations: 0.7812 kB / 0.8484 GB, free: 3.984 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.1845, allocations: 3.938 kB / 0.8484 GB, free: 3.98 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.1845, allocations: 4.719 kB / 0.8484 GB, free: 3.977 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.924e-05/0.1845, allocations: 11.97 kB / 0.8484 GB, free: 3.965 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002268/0.1848, allocations: 106 kB / 0.8485 GB, free: 3.832 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000273/0.185, allocations: 51.08 kB / 0.8485 GB, free: 3.773 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.143e-05/0.1851, allocations: 9.359 kB / 0.8485 GB, free: 3.762 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.422e-05/0.1851, allocations: 0.5938 kB / 0.8485 GB, free: 3.762 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.136e-05/0.1851, allocations: 38.7 kB / 0.8486 GB, free: 3.715 MB / 474.8 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.1851, allocations: 0.5625 kB / 0.8486 GB, free: 3.715 MB / 474.8 MB Notification: Performance of matching and sorting (n=4): time 0.0002146/0.1854, allocations: 58.06 kB / 0.8486 GB, free: 3.652 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.172e-05/0.1854, allocations: 56.02 kB / 0.8487 GB, free: 3.586 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.1855, allocations: 101.9 kB / 0.8488 GB, free: 3.477 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 2.569e-05/0.1856, allocations: 26.23 kB / 0.8488 GB, free: 3.445 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.305e-05/0.1856, allocations: 84.8 kB / 0.8489 GB, free: 3.359 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.897e-05/0.1857, allocations: 15.89 kB / 0.8489 GB, free: 3.344 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.362e-05/0.1857, allocations: 18.41 kB / 0.8489 GB, free: 3.32 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0002287/0.186, allocations: 310.8 kB / 0.8492 GB, free: 3.008 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.658e-05/0.186, allocations: 4.719 kB / 0.8492 GB, free: 3.004 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.707e-05/0.186, allocations: 11.98 kB / 0.8492 GB, free: 2.992 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.34e-05/0.1861, allocations: 17.45 kB / 0.8493 GB, free: 2.973 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.1861, allocations: 0.625 kB / 0.8493 GB, free: 2.973 MB / 474.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001206/0.1862, allocations: 57.58 kB / 0.8493 GB, free: 2.91 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.1862, allocations: 4.688 kB / 0.8493 GB, free: 2.906 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.1862, allocations: 3.938 kB / 0.8493 GB, free: 2.902 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.1862, allocations: 8.969 kB / 0.8493 GB, free: 2.895 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.384e-05/0.1863, allocations: 4 kB / 0.8493 GB, free: 2.891 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.1863, allocations: 0 / 0.8493 GB, free: 2.891 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.685e-05/0.1863, allocations: 1.969 kB / 0.8493 GB, free: 2.891 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.1863, allocations: 8 kB / 0.8493 GB, free: 2.883 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 0.00011/0.1865, allocations: 106.9 kB / 0.8494 GB, free: 2.77 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.848e-06/0.1865, allocations: 0 / 0.8494 GB, free: 2.77 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.782e-05/0.1865, allocations: 16.27 kB / 0.8495 GB, free: 2.754 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.283e-06/0.1865, allocations: 3.938 kB / 0.8495 GB, free: 2.75 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.1865, allocations: 2.062 kB / 0.8495 GB, free: 2.75 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.1865, allocations: 0 / 0.8495 GB, free: 2.75 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001557/0.1867, allocations: 113.2 kB / 0.8496 GB, free: 2.609 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1867, allocations: 0 / 0.8496 GB, free: 2.609 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.587e-05/0.1867, allocations: 12.17 kB / 0.8496 GB, free: 2.598 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.1867, allocations: 1.156 kB / 0.8496 GB, free: 2.598 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.1868, allocations: 4 kB / 0.8496 GB, free: 2.594 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1868, allocations: 0 / 0.8496 GB, free: 2.594 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.1868, allocations: 3.938 kB / 0.8496 GB, free: 2.59 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001595/0.1869, allocations: 90.27 kB / 0.8497 GB, free: 2.484 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.362e-06/0.1869, allocations: 0 / 0.8497 GB, free: 2.484 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.1869, allocations: 2.156 kB / 0.8497 GB, free: 2.484 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.618e-05/0.187, allocations: 0 / 0.8497 GB, free: 2.484 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.227e-05/0.187, allocations: 7.938 kB / 0.8497 GB, free: 2.477 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-06/0.187, allocations: 0 / 0.8497 GB, free: 2.477 MB / 474.8 MB Notification: Performance of sorting global known variables: time 7.059e-05/0.1871, allocations: 87.27 kB / 0.8498 GB, free: 2.391 MB / 474.8 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1871, allocations: 0 / 0.8498 GB, free: 2.391 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0002872/0.1874, allocations: 5.656 kB / 0.8498 GB, free: 2.387 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 0.0001496/0.1875, allocations: 99.25 kB / 0.8499 GB, free: 2.277 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0001256/0.1876, allocations: 23.92 kB / 0.8499 GB, free: 2.254 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1876, allocations: 1.344 kB / 0.8499 GB, free: 2.254 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 2.926e-05/0.1877, allocations: 8 kB / 0.8499 GB, free: 2.246 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002112/0.1879, allocations: 7.75 kB / 0.8499 GB, free: 2.242 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003747/0.1883, allocations: 117.5 kB / 0.85 GB, free: 2.102 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.737e-05/0.1884, allocations: 63.84 kB / 0.8501 GB, free: 2.02 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 1.95e-05/0.1884, allocations: 4.562 kB / 0.8501 GB, free: 2.016 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.262e-05/0.1884, allocations: 8.062 kB / 0.8501 GB, free: 2.008 MB / 474.8 MB Notification: Performance of SimCode: time 4.31e-07/0.1884, allocations: 0 / 0.8501 GB, free: 2.008 MB / 474.8 MB Notification: Performance of Templates: time 0.003708/0.1921, allocations: 414.9 kB / 0.8505 GB, free: 1.672 MB / 474.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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BD04_Dofetilide.Dofetilide_Le1995_PD_qtc.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.352899836143479]