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.002363/0.002363, allocations: 88.44 kB / 19.18 MB, free: 0.7344 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.00334/0.00334, allocations: 169.9 kB / 22.46 MB, free: 2.102 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 1.604/1.604, allocations: 177.1 MB / 202.8 MB, free: 5.766 MB / 186.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.361/1.361, allocations: 293 MB / 0.5392 GB, free: 49.76 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: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 0.6999 GB, free: 8.645 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.402e-05/2.583e-05, allocations: 2.281 kB / 0.6999 GB, free: 8.641 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BD04_Dofetilide.Dofetilide_Le1995_PD_qtc): time 0.001577/0.001602, allocations: 0.6377 MB / 0.7005 GB, free: 8 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 5.194e-05/0.001654, allocations: 11.97 kB / 0.7005 GB, free: 7.988 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.96e-05/0.001694, allocations: 4 kB / 0.7005 GB, free: 7.984 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 1.856e-05/0.001712, allocations: 3.938 kB / 0.7005 GB, free: 7.98 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 3.013e-05/0.001743, allocations: 0 / 0.7005 GB, free: 7.98 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 5.742e-05/0.0018, allocations: 0 / 0.7005 GB, free: 7.98 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 7.061e-05/0.001871, allocations: 19.92 kB / 0.7006 GB, free: 7.961 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 6.256e-05/0.001933, allocations: 4 kB / 0.7006 GB, free: 7.957 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 3.99e-05/0.001973, allocations: 7.984 kB / 0.7006 GB, free: 7.949 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.536e-05/0.002028, allocations: 7.984 kB / 0.7006 GB, free: 7.941 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.174e-05/0.00206, allocations: 3.938 kB / 0.7006 GB, free: 7.938 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.58e-06/0.002066, allocations: 4 kB / 0.7006 GB, free: 7.934 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 1.34e-05/0.002079, allocations: 0 / 0.7006 GB, free: 7.934 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 1.861e-05/0.002098, allocations: 4 kB / 0.7006 GB, free: 7.93 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 5.758e-05/0.002155, allocations: 15.97 kB / 0.7006 GB, free: 7.914 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.002157, allocations: 0 / 0.7006 GB, free: 7.914 MB / 410.8 MB Notification: Performance of FrontEnd: time 4.769e-06/0.002162, allocations: 3.984 kB / 0.7006 GB, free: 7.91 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.002167, allocations: 3.938 kB / 0.7006 GB, free: 7.906 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.0003722/0.002539, allocations: 258.3 kB / 0.7009 GB, free: 7.621 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.002583, allocations: 15.97 kB / 0.7009 GB, free: 7.605 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.273e-05/0.002616, allocations: 4.875 kB / 0.7009 GB, free: 7.602 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.9e-05/0.002695, allocations: 109.8 kB / 0.701 GB, free: 7.469 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.00271, allocations: 384 / 0.701 GB, free: 7.469 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.788e-06/0.00272, allocations: 4.375 kB / 0.701 GB, free: 7.465 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001006/0.00282, allocations: 42.25 kB / 0.701 GB, free: 7.418 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.00283, allocations: 192 / 0.701 GB, free: 7.418 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.002839, allocations: 384 / 0.701 GB, free: 7.418 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.002844, allocations: 384 / 0.701 GB, free: 7.418 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.075e-05/0.002895, allocations: 11.94 kB / 0.701 GB, free: 7.406 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000122/0.003017, allocations: 105.3 kB / 0.7011 GB, free: 7.273 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001827/0.003199, allocations: 50.58 kB / 0.7012 GB, free: 7.215 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.641e-05/0.003236, allocations: 16.86 kB / 0.7012 GB, free: 7.195 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.318e-05/0.003249, allocations: 0 / 0.7012 GB, free: 7.195 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.305e-05/0.003262, allocations: 34.56 kB / 0.7012 GB, free: 7.152 MB / 410.8 MB Notification: Performance of pre-optimization done (n=4): time 7.71e-07/0.003263, allocations: 0 / 0.7012 GB, free: 7.152 MB / 410.8 MB Notification: Performance of matching and sorting (n=4): time 0.0001541/0.003417, allocations: 57.77 kB / 0.7013 GB, free: 7.09 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.634e-05/0.003443, allocations: 51.41 kB / 0.7013 GB, free: 7.027 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.639e-05/0.00349, allocations: 105.8 kB / 0.7014 GB, free: 6.914 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 7.785e-06/0.003497, allocations: 25.7 kB / 0.7015 GB, free: 6.883 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.411e-05/0.003511, allocations: 88.14 kB / 0.7015 GB, free: 6.793 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.123e-05/0.003533, allocations: 7.906 kB / 0.7016 GB, free: 6.785 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.807e-05/0.003561, allocations: 21.7 kB / 0.7016 GB, free: 6.758 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.355e-05/0.003604, allocations: 310.8 kB / 0.7019 GB, free: 6.445 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.643e-05/0.003621, allocations: 8 kB / 0.7019 GB, free: 6.438 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.212e-05/0.003633, allocations: 8 kB / 0.7019 GB, free: 6.43 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.625e-05/0.003669, allocations: 24.84 kB / 0.7019 GB, free: 6.402 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.003671, allocations: 0 / 0.7019 GB, free: 6.402 MB / 410.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.549e-05/0.003726, allocations: 49.88 kB / 0.702 GB, free: 6.348 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.003739, allocations: 11.98 kB / 0.702 GB, free: 6.336 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.003743, allocations: 0 / 0.702 GB, free: 6.336 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.003758, allocations: 4.031 kB / 0.702 GB, free: 6.332 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.383e-05/0.003802, allocations: 4 kB / 0.702 GB, free: 6.328 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.003807, allocations: 0 / 0.702 GB, free: 6.328 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.998e-05/0.003827, allocations: 15.88 kB / 0.702 GB, free: 6.312 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-06/0.003831, allocations: 7.938 kB / 0.702 GB, free: 6.305 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 4.228e-05/0.003873, allocations: 106.4 kB / 0.7021 GB, free: 6.191 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.063e-06/0.00388, allocations: 4 kB / 0.7021 GB, free: 6.188 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.869e-05/0.003899, allocations: 7.688 kB / 0.7021 GB, free: 6.18 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.0039, allocations: 0 / 0.7021 GB, free: 6.18 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.003903, allocations: 256 / 0.7021 GB, free: 6.18 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.003908, allocations: 11.92 kB / 0.7021 GB, free: 6.168 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.412e-05/0.003962, allocations: 105.3 kB / 0.7022 GB, free: 6.035 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.003962, allocations: 3.938 kB / 0.7022 GB, free: 6.031 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.226e-05/0.003995, allocations: 4 kB / 0.7022 GB, free: 6.027 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.003996, allocations: 8 kB / 0.7022 GB, free: 6.02 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-06/0.004002, allocations: 3.938 kB / 0.7022 GB, free: 6.016 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.004003, allocations: 0 / 0.7022 GB, free: 6.016 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.004005, allocations: 3.984 kB / 0.7022 GB, free: 6.012 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.247e-05/0.004077, allocations: 81.02 kB / 0.7023 GB, free: 5.914 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.459e-06/0.004081, allocations: 0 / 0.7023 GB, free: 5.914 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.054e-05/0.004092, allocations: 4 kB / 0.7023 GB, free: 5.91 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.928e-05/0.004111, allocations: 0 / 0.7023 GB, free: 5.91 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.275e-05/0.004124, allocations: 0 / 0.7023 GB, free: 5.91 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-06/0.004126, allocations: 0 / 0.7023 GB, free: 5.91 MB / 410.8 MB Notification: Performance of sorting global known variables: time 1.833e-05/0.004145, allocations: 87.27 kB / 0.7024 GB, free: 5.824 MB / 410.8 MB Notification: Performance of sort global known variables: time 6e-08/0.004145, allocations: 4 kB / 0.7024 GB, free: 5.82 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001688/0.004314, allocations: 7.938 kB / 0.7024 GB, free: 5.812 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 7.411e-05/0.004388, allocations: 99.25 kB / 0.7025 GB, free: 5.707 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 7.835e-05/0.004466, allocations: 23.92 kB / 0.7025 GB, free: 5.684 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.004467, allocations: 4 kB / 0.7025 GB, free: 5.68 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 1.371e-05/0.004481, allocations: 4 kB / 0.7025 GB, free: 5.676 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001301/0.004611, allocations: 8 kB / 0.7026 GB, free: 5.668 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002258/0.004837, allocations: 108.8 kB / 0.7027 GB, free: 5.535 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.211e-05/0.004869, allocations: 67.34 kB / 0.7027 GB, free: 5.449 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 1.392e-05/0.004883, allocations: 0 / 0.7027 GB, free: 5.449 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.216e-05/0.004905, allocations: 16.44 kB / 0.7027 GB, free: 5.434 MB / 410.8 MB Notification: Performance of SimCode: time 3.81e-07/0.004906, allocations: 0 / 0.7027 GB, free: 5.434 MB / 410.8 MB Notification: Performance of Templates: time 0.002655/0.007561, allocations: 407.4 kB / 0.7031 GB, free: 5.09 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 -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: 6.21778294397518]