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.002415/0.002415, allocations: 105.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.007504/0.007504, allocations: 218.4 kB / 22.25 MB, free: 3.57 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.846/1.846, allocations: 230.6 MB / 256 MB, free: 9.605 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.41/1.41, allocations: 316.8 MB / 0.6144 GB, free: 93.52 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.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.003737/0.003737, allocations: 73.58 kB / 0.775 GB, free: 15.01 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1824/0.1861, allocations: 74 MB / 0.8472 GB, free: 5.152 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BD05_Ibutilide.Ibutilide_Zeng2017_PD_qtc): time 0.002135/0.1882, allocations: 0.6245 MB / 0.8479 GB, free: 4.543 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 5.953e-05/0.1883, allocations: 12.5 kB / 0.8479 GB, free: 4.531 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.099e-05/0.1883, allocations: 0 / 0.8479 GB, free: 4.531 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.445e-05/0.1883, allocations: 0.5938 kB / 0.8479 GB, free: 4.531 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 2.854e-05/0.1884, allocations: 4.562 kB / 0.8479 GB, free: 4.527 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 5.806e-05/0.1884, allocations: 3.984 kB / 0.8479 GB, free: 4.523 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 7.331e-05/0.1885, allocations: 16.61 kB / 0.8479 GB, free: 4.508 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.999e-05/0.1886, allocations: 0 / 0.8479 GB, free: 4.508 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.406e-05/0.1886, allocations: 12.64 kB / 0.8479 GB, free: 4.496 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.368e-05/0.1886, allocations: 11.92 kB / 0.8479 GB, free: 4.484 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/0.1887, allocations: 0.625 kB / 0.8479 GB, free: 4.484 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.31e-06/0.1887, allocations: 0.5 kB / 0.8479 GB, free: 4.484 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 2.52e-05/0.1887, allocations: 11.98 kB / 0.8479 GB, free: 4.473 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 3.19e-05/0.1887, allocations: 4.531 kB / 0.8479 GB, free: 4.469 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 6.226e-05/0.1888, allocations: 8.672 kB / 0.8479 GB, free: 4.461 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.1888, allocations: 0 / 0.8479 GB, free: 4.461 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.983e-06/0.1888, allocations: 4.531 kB / 0.8479 GB, free: 4.457 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.271e-06/0.1888, allocations: 0 / 0.8479 GB, free: 4.457 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.0004617/0.1893, allocations: 259 kB / 0.8482 GB, free: 4.172 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.1893, allocations: 8.688 kB / 0.8482 GB, free: 4.164 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.861e-05/0.1893, allocations: 4.938 kB / 0.8482 GB, free: 4.16 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/0.1895, allocations: 119 kB / 0.8483 GB, free: 4.02 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.1895, allocations: 4.969 kB / 0.8483 GB, free: 4.016 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.328e-05/0.1895, allocations: 384 / 0.8483 GB, free: 4.016 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001198/0.1896, allocations: 42.73 kB / 0.8484 GB, free: 3.969 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.1896, allocations: 0.6875 kB / 0.8484 GB, free: 3.969 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.1896, allocations: 7.938 kB / 0.8484 GB, free: 3.961 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.76e-06/0.1896, allocations: 0.6562 kB / 0.8484 GB, free: 3.961 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.424e-05/0.1897, allocations: 8.859 kB / 0.8484 GB, free: 3.953 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001719/0.1899, allocations: 105.3 kB / 0.8485 GB, free: 3.82 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002068/0.1901, allocations: 50.58 kB / 0.8485 GB, free: 3.762 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.596e-05/0.1901, allocations: 14.22 kB / 0.8485 GB, free: 3.746 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.479e-05/0.1901, allocations: 3.984 kB / 0.8485 GB, free: 3.742 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.1902, allocations: 36.31 kB / 0.8486 GB, free: 3.699 MB / 474.8 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.1902, allocations: 0 / 0.8486 GB, free: 3.699 MB / 474.8 MB Notification: Performance of matching and sorting (n=4): time 0.000174/0.1903, allocations: 53.62 kB / 0.8486 GB, free: 3.641 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.1904, allocations: 55.34 kB / 0.8487 GB, free: 3.574 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.749e-05/0.1905, allocations: 101.9 kB / 0.8488 GB, free: 3.465 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.1905, allocations: 27.05 kB / 0.8488 GB, free: 3.434 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.979e-05/0.1906, allocations: 88.12 kB / 0.8489 GB, free: 3.344 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.984e-05/0.1906, allocations: 15.89 kB / 0.8489 GB, free: 3.328 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.923e-05/0.1906, allocations: 18.81 kB / 0.8489 GB, free: 3.305 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.1908, allocations: 310.8 kB / 0.8492 GB, free: 2.992 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.215e-05/0.1908, allocations: 7.984 kB / 0.8492 GB, free: 2.984 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.712e-05/0.1908, allocations: 9.781 kB / 0.8492 GB, free: 2.977 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.259e-05/0.1909, allocations: 20.86 kB / 0.8493 GB, free: 2.953 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1909, allocations: 0 / 0.8493 GB, free: 2.953 MB / 474.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.576e-05/0.191, allocations: 53.58 kB / 0.8493 GB, free: 2.895 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.191, allocations: 8 kB / 0.8493 GB, free: 2.887 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.191, allocations: 0.6875 kB / 0.8493 GB, free: 2.887 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.191, allocations: 3.938 kB / 0.8493 GB, free: 2.883 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.79e-05/0.1911, allocations: 10.44 kB / 0.8493 GB, free: 2.875 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.1911, allocations: 0 / 0.8493 GB, free: 2.875 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.21e-05/0.1911, allocations: 4.25 kB / 0.8493 GB, free: 2.871 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.1911, allocations: 4 kB / 0.8493 GB, free: 2.867 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 8.772e-05/0.1912, allocations: 105.8 kB / 0.8494 GB, free: 2.754 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.308e-05/0.1912, allocations: 7.984 kB / 0.8494 GB, free: 2.746 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.944e-05/0.1912, allocations: 13.59 kB / 0.8495 GB, free: 2.734 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.1912, allocations: 3.938 kB / 0.8495 GB, free: 2.73 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1912, allocations: 0 / 0.8495 GB, free: 2.73 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.1912, allocations: 4.266 kB / 0.8495 GB, free: 2.727 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001238/0.1914, allocations: 109.3 kB / 0.8496 GB, free: 2.59 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.1914, allocations: 1.281 kB / 0.8496 GB, free: 2.59 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.947e-05/0.1914, allocations: 7.984 kB / 0.8496 GB, free: 2.582 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.1914, allocations: 0 / 0.8496 GB, free: 2.582 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.858e-06/0.1914, allocations: 4.578 kB / 0.8496 GB, free: 2.578 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.1914, allocations: 4 kB / 0.8496 GB, free: 2.574 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.1914, allocations: 4.5 kB / 0.8496 GB, free: 2.57 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001394/0.1915, allocations: 81.58 kB / 0.8497 GB, free: 2.473 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.969e-06/0.1916, allocations: 0 / 0.8497 GB, free: 2.473 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.189e-05/0.1916, allocations: 0.625 kB / 0.8497 GB, free: 2.473 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.192e-05/0.1916, allocations: 4 kB / 0.8497 GB, free: 2.469 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.452e-05/0.1916, allocations: 8.547 kB / 0.8497 GB, free: 2.461 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.993e-06/0.1916, allocations: 0.625 kB / 0.8497 GB, free: 2.461 MB / 474.8 MB Notification: Performance of sorting global known variables: time 5.859e-05/0.1917, allocations: 83.28 kB / 0.8498 GB, free: 2.379 MB / 474.8 MB Notification: Performance of sort global known variables: time 8e-08/0.1917, allocations: 0.8125 kB / 0.8498 GB, free: 2.379 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001717/0.1918, allocations: 4 kB / 0.8498 GB, free: 2.375 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.0001271/0.192, allocations: 99.97 kB / 0.8499 GB, free: 2.266 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0001009/0.1921, allocations: 24.64 kB / 0.8499 GB, free: 2.242 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1921, allocations: 0 / 0.8499 GB, free: 2.242 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 2.093e-05/0.1921, allocations: 8.625 kB / 0.8499 GB, free: 2.234 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000145/0.1922, allocations: 8.344 kB / 0.8499 GB, free: 2.23 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003179/0.1926, allocations: 123.4 kB / 0.85 GB, free: 2.086 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.506e-05/0.1926, allocations: 59.89 kB / 0.8501 GB, free: 2.008 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 2.043e-05/0.1926, allocations: 4.547 kB / 0.8501 GB, free: 2.004 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.826e-05/0.1927, allocations: 8.062 kB / 0.8501 GB, free: 1.996 MB / 474.8 MB Notification: Performance of SimCode: time 5.21e-07/0.1927, allocations: 3.938 kB / 0.8501 GB, free: 1.992 MB / 474.8 MB Notification: Performance of Templates: time 0.002885/0.1956, allocations: 414 kB / 0.8505 GB, free: 1.656 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BD05_Ibutilide.Ibutilide_Zeng2017_PD_qtc.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.68270078394562]